/dports/math/vtk6/VTK-6.2.0/Accelerators/Piston/Testing/Python/ |
H A D | TestConversion.py | 62 p2d2 = vtk.vtkPistonToDataSet() 64 p2d2.SetOutputDataSetType(vtk.VTK_POLY_DATA) 65 p2d2.SetInputConnection(d2p2.GetOutputPort()) 66 p2d2.Update() 69 printDS("OUTPUT POLYDATA", p2d2.GetDataSetOutput(0)) 71 writeFile(p2d2, "piston_polydata.vtk") 74 outDS = p2d2.GetDataSetOutput(0)
|
/dports/cad/opencascade/opencascade-7.6.0/src/ChFi3d/ |
H A D | ChFi3d.cxx | 290 gp_Pnt2d p2d1,p2d2; in ConcaveSide() local 293 p2d2 = pc2.Value(par); in ConcaveSide() 299 S2.D1(p2d2.X(),p2d2.Y(),pt2,DU2,DV2); in ConcaveSide() 332 S2.D2(p2d2.X(),p2d2.Y(),pt2,DU2,DV2,DDU,DDV,DDUV); in ConcaveSide() 373 p2d2.SetX(p2d2.X() + u); p2d2.SetY(p2d2.Y() + v); in ConcaveSide() 378 S2.D1(p2d2.X(),p2d2.Y(),pt2,DU2,DV2); in ConcaveSide()
|
H A D | ChFi3d_ChBuilder_C3.cxx | 509 gp_Pnt2d p2d1,p2d2; in PerformThreeCorner() local 515 p2d2 = fddeb->Interference(jf[deb][pivot]).PCurveOnSurf()->Value(p[deb][pivot]); in PerformThreeCorner() 518 p3d[pivot],p2d1,p3d[fin],p2d2, in PerformThreeCorner() 535 p2d2 = fdfin->Interference(jf[fin][pivot]).PCurveOnSurf()->Value(p[fin][pivot]); in PerformThreeCorner() 537 p3dface,p2d1,p3d[deb],p2d2, in PerformThreeCorner()
|
H A D | ChFi3d_Builder_CnCrn.cxx | 534 Standard_Real h = p2d2.Distance(p2d1)/20; in CalculBatten() 535 FairCurve_Batten Bat(p2d1,p2d2,h); in CalculBatten() 2079 gp_Pnt2d p2d1, p2d2; in PerformMoreThreeCorner() local 2091 xdir= p2d2.X()-p2d1.X(); in PerformMoreThreeCorner() 2092 ydir= p2d2.Y()-p2d1.Y(); in PerformMoreThreeCorner() 2238 gp_Pnt2d p2d1, p2d2; in PerformMoreThreeCorner() local 2282 PI2=0<=p2d2.X() && p2d2.X() <=M_PI; in PerformMoreThreeCorner() 2292 xx=p2d2.X(); in PerformMoreThreeCorner() 2295 p2d2.SetX(xx); in PerformMoreThreeCorner() 2298 xdir= p2d2.X()-p2d1.X(); in PerformMoreThreeCorner() [all …]
|
/dports/cad/netgen/netgen-6.2.2105/libsrc/stlgeom/ |
H A D | stltool.hpp | 144 Point<2> p2d1, p2d2; member in netgen::STLBoundarySeg 161 p2d2 = chart->Project2d (p2); in STLBoundarySeg() 164 boundingbox.Add (p2d2); in STLBoundarySeg() 175 const Point<2> & P2D2() const { return p2d2; } in P2D2()
|
H A D | stltool.cpp | 1349 Point<2> p2d2 = chart->Project2d (p2); in TestSegChartNV() local 1353 box2d.Add (p2d2); in TestSegChartNV() 1355 Line2d l1 (p2d1, p2d2); in TestSegChartNV()
|
/dports/cad/opencascade/opencascade-7.6.0/src/ShapeUpgrade/ |
H A D | ShapeUpgrade_ShapeConvertToBezier.cxx | 265 gp_Pnt2d p2d2 = bezier->Value(l1); in Perform() local 269 if(p2d2.Distance(p2d1next) > Precision::PConfusion()) { in Perform() 270 gp_Pnt2d pmid = 0.5*(p2d2.XY() + p2d1next.XY()); in Perform() 278 if(p2d2.Distance(p2d2next) > Precision::PConfusion()) { in Perform() 279 gp_Pnt2d pmid = 0.5*(p2d2.XY() + p2d2next.XY()); in Perform()
|
/dports/cad/opencascade/opencascade-7.6.0/src/ShapeAnalysis/ |
H A D | ShapeAnalysis_Wire.cxx | 771 gp_Pnt2d& p2d1, gp_Pnt2d& p2d2) in CheckDegenerated() argument 917 p2d2 = c2d->Value ( a ); in CheckDegenerated() 961 gp_Pnt2d p2d1, p2d2; in CheckDegenerated() local 962 return CheckDegenerated ( num, p2d1, p2d2 ); in CheckDegenerated() 1471 gp_Pnt2d &p2d1, gp_Pnt2d &p2d2) in CheckLacking() argument 1510 anAdapt.D1(a, p2d2, v2); in CheckLacking() 1512 v12 = p2d2.XY() - p2d1.XY(); in CheckLacking() 1630 gp_Pnt2d p2d1, p2d2; in CheckNotchedEdges() local 1650 c2d2->D1 ( b2, p2d2, v2 ); in CheckNotchedEdges() 1654 c2d2->D1 ( a2, p2d2, v2 ); in CheckNotchedEdges() [all …]
|
H A D | ShapeAnalysis_Surface.hxx | 200 const gp_Pnt2d& p2d2,
|
H A D | ShapeAnalysis_Edge.cxx | 449 p2d2 = c2d->Value (l2d); in CheckCurve3dWithPCurve() local 455 surface->Value (p2d2.X(), p2d2.Y()).Transformed (location.Transformation()), in CheckCurve3dWithPCurve()
|
H A D | ShapeAnalysis_Wire.hxx | 404 …acking (const Standard_Integer num, const Standard_Real Tolerance, gp_Pnt2d& p2d1, gp_Pnt2d& p2d2);
|
H A D | ShapeAnalysis_Surface.cxx | 470 const gp_Pnt2d &p2d2, in IsDegenerated() argument 475 gp_Pnt p2 = Value(p2d2); in IsDegenerated() 476 gp_Pnt pm = Value(0.5 * (p2d1.XY() + p2d2.XY())); in IsDegenerated() 486 Standard_Real du = Abs(p2d1.X() - p2d2.X()) / RU; in IsDegenerated() 487 Standard_Real dv = Abs(p2d1.Y() - p2d2.Y()) / RV; in IsDegenerated()
|
/dports/misc/vxl/vxl-3.3.2/core/vpgl/algo/tests/ |
H A D | test_affine_tensor_transfer.cxx | 399 vgl_point_2d<double> p2d2 = acam2.project(p3d); in test_affine_tensor_transfer() local 402 std::cout << "ap2 " << p2d2 << std::endl; in test_affine_tensor_transfer() 450 vgl_homg_point_2d<double> hp0(p2d0), hp1(p2d1), hp2(p2d2); in test_affine_tensor_transfer() 460 …"tr_p2 " << thp2.x() / thp2.w() << ' ' << thp2.y() / thp2.w() << " compared to " << p2d2.x() << ' ' in test_affine_tensor_transfer() 461 << p2d2.y() << std::endl; in test_affine_tensor_transfer() 464 double er_p2 = fabs(thp2.x() / thp2.w() - p2d2.x()) + fabs(thp2.y() / thp2.w() - p2d2.y()); in test_affine_tensor_transfer()
|
/dports/cad/gmsh/gmsh-4.9.2-source/contrib/Netgen/libsrc/stlgeom/ |
H A D | stltool.hpp | 109 Point<2> p2d1, p2d2; member in STLBoundarySeg 129 const Point<2> & P2D2() const { return p2d2; } in P2D2()
|
H A D | stltool.cpp | 844 p2d2 = chart->Project2d (p2); in STLBoundarySeg() 847 boundingbox.Add (p2d2); in STLBoundarySeg() 1131 Point<2> p2d2 = chart->Project2d (p2); in TestSegChartNV() local 1135 box2d.Add (p2d2); in TestSegChartNV() 1143 Line2d l1 (p2d1, p2d2); in TestSegChartNV()
|
/dports/science/elmerfem/elmerfem-release-9.0/ElmerGUI/netgen/libsrc/stlgeom/ |
H A D | stltool.hpp | 109 Point<2> p2d1, p2d2; member in STLBoundarySeg 129 const Point<2> & P2D2() const { return p2d2; } in P2D2()
|
H A D | stltool.cpp | 846 p2d2 = chart->Project2d (p2); in STLBoundarySeg() 849 boundingbox.Add (p2d2); in STLBoundarySeg() 1132 Point<2> p2d2 = chart->Project2d (p2); in TestSegChartNV() local 1136 box2d.Add (p2d2); in TestSegChartNV() 1144 Line2d l1 (p2d1, p2d2); in TestSegChartNV()
|
/dports/math/giacxcas/CoCoALib-0.99700/src/AlgebraicCore/TmpHilbertDir/ |
H A D | unipoly.C | 366 UPCoeff p2d2; in P1TimesP2() local 377 p2d2 = p2[d2]; in P1TimesP2() 378 for ( j=d1 ; j>=0 ; --j) res[d2+j].i += p2d2.i*p1[j].i; in P1TimesP2() 396 p2d2 = p2[d2]; in P1TimesP2() 399 mpz_mul(z, p2d2.z, p1[j].z); in P1TimesP2()
|
/dports/math/cocoalib/CoCoALib-0.99712/src/AlgebraicCore/TmpHilbertDir/ |
H A D | unipoly.C | 366 UPCoeff p2d2; in P1TimesP2() local 377 p2d2 = p2[d2]; in P1TimesP2() 378 for ( j=d1 ; j>=0 ; --j) res[d2+j].i += p2d2.i*p1[j].i; in P1TimesP2() 396 p2d2 = p2[d2]; in P1TimesP2() 399 mpz_mul(z, p2d2.z, p1[j].z); in P1TimesP2()
|
/dports/cad/opencascade/opencascade-7.6.0/src/ShapeFix/ |
H A D | ShapeFix_Wire.cxx | 1625 gp_Pnt2d p2d2 = c2d2->Value ( a2 ); in FixShifted() local 1630 Standard_Real dx = Abs ( p2d2.X() - p2d1.X() ); in FixShifted() 1632 du = ShapeAnalysis::AdjustByPeriod ( p2d2.X(), p2d1.X(), URange ); in FixShifted() 1636 Standard_Real dy = Abs ( p2d2.Y() - p2d1.Y() ); in FixShifted() 1717 gp_Pnt2d p2d1, p2d2; in FixDegenerated() local 1718 myAnalyzer->CheckDegenerated ( num, p2d1, p2d2 ); in FixDegenerated() 1733 gp_Vec2d vect2d ( p2d1, p2d2 ); in FixDegenerated() 2940 gp_Pnt2d p2d1, p2d2; in FixLacking() local 2977 gp_Pnt2d p2d = 0.5 * ( p2d1.XY() + p2d2.XY() ); in FixLacking() 3033 Standard_Real dist2d3d2 = p3d2.Distance ( surf->Value ( p2d2 ) ); in FixLacking() [all …]
|
/dports/cad/opencascade/opencascade-7.6.0/src/TopOpeBRepTool/ |
H A D | TopOpeBRepTool_CLASSI.cxx | 296 gp_Pnt2d p2d2(u2,v2); in Classip2d() local 300 BRepClass_FaceClassifier class1(ffi1,p2d2,tol2d1); in Classip2d()
|
/dports/cad/opencascade/opencascade-7.6.0/inc/ |
H A D | ShapeAnalysis_Surface.hxx | 200 const gp_Pnt2d& p2d2,
|
H A D | ShapeAnalysis_Wire.hxx | 404 …acking (const Standard_Integer num, const Standard_Real Tolerance, gp_Pnt2d& p2d1, gp_Pnt2d& p2d2);
|
/dports/devel/py-cadquery-pywrap/pywrap-e8c7bc9/opencascade/ |
H A D | ShapeAnalysis_Surface.hxx | 212 const gp_Pnt2d& p2d2,
|
H A D | ShapeAnalysis_Wire.hxx | 404 …acking (const Standard_Integer num, const Standard_Real Tolerance, gp_Pnt2d& p2d1, gp_Pnt2d& p2d2);
|