/dports/cad/opencascade/opencascade-7.6.0/samples/OCCTOverview/code/ |
H A D | AdaptorVec_AIS.cxx | 30 AdaptorVec_AIS::AdaptorVec_AIS (const gp_Pnt2d& thePnt1, in AdaptorVec_AIS() argument 33 : myPnt (gp_Pnt (thePnt1.X(), thePnt1.Y(), 0.0)), in AdaptorVec_AIS() 37 gp_Vec aVec (thePnt2.X() - thePnt1.X(), thePnt2.Y() - thePnt1.Y(), 0.0); in AdaptorVec_AIS()
|
/dports/cad/opencascade/opencascade-7.6.0/inc/ |
H A D | SelectMgr_Frustum.hxx | 78 Standard_Boolean hasSegmentOverlap (const gp_Pnt& thePnt1, 86 Standard_Boolean hasTriangleOverlap (const gp_Pnt& thePnt1, 92 Standard_Boolean hasSphereOverlap (const gp_Pnt& thePnt1, 131 Standard_Boolean isSeparated (const gp_Pnt& thePnt1,
|
H A D | Select3D_SensitiveTriangle.hxx | 39 const gp_Pnt& thePnt1, 48 void Points3D (gp_Pnt& thePnt0, gp_Pnt& thePnt1, gp_Pnt& thePnt2) const in Points3D() argument 51 thePnt1 = myPoints[1]; in Points3D()
|
H A D | SelectBasics_SelectingVolumeManager.hxx | 207 Standard_Boolean Overlaps (const gp_Pnt& thePnt1, in Overlaps() argument 211 return OverlapsSegment (thePnt1, thePnt2, thePickResult); in Overlaps() 215 Standard_Boolean Overlaps (const gp_Pnt& thePnt1, in Overlaps() argument 221 return OverlapsTriangle (thePnt1, thePnt2, thePnt3, theSensType, thePickResult); in Overlaps()
|
H A D | SelectMgr_TriangularFrustumSet.hxx | 91 Standard_EXPORT virtual Standard_Boolean OverlapsSegment (const gp_Pnt& thePnt1, 96 Standard_EXPORT virtual Standard_Boolean OverlapsTriangle (const gp_Pnt& thePnt1, 152 …Standard_EXPORT Standard_Boolean isIntersectBoundary (const gp_Pnt& thePnt1, const gp_Pnt& thePnt2…
|
H A D | SelectMgr_TriangularFrustum.hxx | 92 Standard_EXPORT virtual Standard_Boolean OverlapsSegment (const gp_Pnt& thePnt1, 100 Standard_EXPORT virtual Standard_Boolean OverlapsTriangle (const gp_Pnt& thePnt1,
|
/dports/cad/opencascade/opencascade-7.6.0/src/SelectMgr/ |
H A D | SelectMgr_Frustum.hxx | 78 Standard_Boolean hasSegmentOverlap (const gp_Pnt& thePnt1, 86 Standard_Boolean hasTriangleOverlap (const gp_Pnt& thePnt1, 92 Standard_Boolean hasSphereOverlap (const gp_Pnt& thePnt1, 131 Standard_Boolean isSeparated (const gp_Pnt& thePnt1,
|
H A D | SelectMgr_AxisIntersector.cxx | 318 Standard_Boolean SelectMgr_AxisIntersector::OverlapsSegment (const gp_Pnt& thePnt1, in OverlapsSegment() argument 326 if (!raySegmentDistance (thePnt1, thePnt2, thePickResult)) in OverlapsSegment() 396 Standard_Boolean SelectMgr_AxisIntersector::OverlapsTriangle (const gp_Pnt& thePnt1, in OverlapsTriangle() argument 408 const gp_Pnt aPntsArrayBuf[4] = { thePnt1, thePnt2, thePnt3, thePnt1 }; in OverlapsTriangle() 415 const gp_XYZ aTrEdges[3] = { thePnt2.XYZ() - thePnt1.XYZ(), in OverlapsTriangle() 417 thePnt1.XYZ() - thePnt3.XYZ() }; in OverlapsTriangle() 423 ? OverlapsSegment (thePnt1, thePnt2, theClipRange, thePickResult) in OverlapsTriangle() 426 : OverlapsPoint (thePnt1, theClipRange, thePickResult)); in OverlapsTriangle() 429 const gp_Pnt aPnts[3] = {thePnt1, thePnt2, thePnt3}; in OverlapsTriangle() 451 const gp_XYZ anEdge = (thePnt1.XYZ() - myAxis.Location().XYZ()) * (1.0 / anAlpha); in OverlapsTriangle()
|
H A D | SelectMgr_RectangularFrustum.cxx | 561 Standard_Boolean SelectMgr_RectangularFrustum::OverlapsSegment (const gp_Pnt& thePnt1, in OverlapsSegment() argument 569 if (!hasSegmentOverlap (thePnt1, thePnt2)) in OverlapsSegment() 572 segmentSegmentDistance (thePnt1, thePnt2, thePickResult); in OverlapsSegment() 655 const gp_Pnt aPntsArrayBuf[4] = { thePnt1, thePnt2, thePnt3, thePnt1 }; in OverlapsTriangle() 662 if (!hasTriangleOverlap (thePnt1, thePnt2, thePnt3, aTriangleNormal)) in OverlapsTriangle() 667 const gp_XYZ aTrEdges[3] = { thePnt2.XYZ() - thePnt1.XYZ(), in OverlapsTriangle() 669 thePnt1.XYZ() - thePnt3.XYZ() }; in OverlapsTriangle() 674 ? OverlapsSegment (thePnt1, thePnt2, theClipRange, thePickResult) in OverlapsTriangle() 677 : OverlapsPoint (thePnt1, theClipRange, thePickResult)); in OverlapsTriangle() 680 const gp_Pnt aPnts[3] = {thePnt1, thePnt2, thePnt3}; in OverlapsTriangle() [all …]
|
H A D | SelectMgr_TriangularFrustumSet.hxx | 91 Standard_EXPORT virtual Standard_Boolean OverlapsSegment (const gp_Pnt& thePnt1, 96 Standard_EXPORT virtual Standard_Boolean OverlapsTriangle (const gp_Pnt& thePnt1, 152 …Standard_EXPORT Standard_Boolean isIntersectBoundary (const gp_Pnt& thePnt1, const gp_Pnt& thePnt2…
|
H A D | SelectMgr_TriangularFrustumSet.cxx | 324 Standard_Boolean SelectMgr_TriangularFrustumSet::OverlapsSegment (const gp_Pnt& thePnt1, in OverlapsSegment() argument 334 if (!anIter.Value()->OverlapsSegment (thePnt1, thePnt2, theClipRange, thePickResult)) in OverlapsSegment() 344 if (isIntersectBoundary (thePnt1, thePnt2)) in OverlapsSegment() 358 Standard_Boolean SelectMgr_TriangularFrustumSet::OverlapsTriangle (const gp_Pnt& thePnt1, in OverlapsTriangle() argument 370 …if (!anIter.Value()->OverlapsTriangle (thePnt1, thePnt2, thePnt3, theSensType, theClipRange, thePi… in OverlapsTriangle() 380 if (isIntersectBoundary (thePnt1, thePnt2) in OverlapsTriangle() 382 || isIntersectBoundary (thePnt3, thePnt1)) in OverlapsTriangle() 645 Standard_Boolean SelectMgr_TriangularFrustumSet::isIntersectBoundary (const gp_Pnt& thePnt1, const … in isIntersectBoundary() argument 648 gp_Vec aDir = thePnt2.XYZ() - thePnt1.XYZ(); in isIntersectBoundary() 649 gp_Pnt anOrig = thePnt1; in isIntersectBoundary()
|
H A D | SelectMgr_TriangularFrustum.cxx | 268 Standard_Boolean SelectMgr_TriangularFrustum::OverlapsSegment (const gp_Pnt& thePnt1, in OverlapsSegment() argument 273 return hasSegmentOverlap (thePnt1, thePnt2); in OverlapsSegment() 283 Standard_Boolean SelectMgr_TriangularFrustum::OverlapsTriangle (const gp_Pnt& thePnt1, in OverlapsTriangle() argument 292 const gp_Pnt aPntsArrayBuf[3] = { thePnt1, thePnt2, thePnt3 }; in OverlapsTriangle() 299 return hasTriangleOverlap (thePnt1, thePnt2, thePnt3, aNorm); in OverlapsTriangle()
|
/dports/devel/py-cadquery-pywrap/pywrap-e8c7bc9/opencascade/ |
H A D | Select3D_SensitiveTriangle.hxx | 39 const gp_Pnt& thePnt1, 48 void Points3D (gp_Pnt& thePnt0, gp_Pnt& thePnt1, gp_Pnt& thePnt2) const in Points3D() argument 51 thePnt1 = myPoints[1]; in Points3D()
|
H A D | SelectMgr_Frustum.hxx | 75 Standard_Boolean hasOverlap (const gp_Pnt& thePnt1, 83 Standard_Boolean hasOverlap (const gp_Pnt& thePnt1, 97 Standard_Boolean isSeparated (const gp_Pnt& thePnt1,
|
H A D | SelectMgr_TriangularFrustumSet.hxx | 71 Standard_EXPORT virtual Standard_Boolean Overlaps (const gp_Pnt& thePnt1, 76 Standard_EXPORT virtual Standard_Boolean Overlaps (const gp_Pnt& thePnt1,
|
H A D | SelectMgr_TriangularFrustum.hxx | 74 Standard_EXPORT virtual Standard_Boolean Overlaps (const gp_Pnt& thePnt1, 82 Standard_EXPORT virtual Standard_Boolean Overlaps (const gp_Pnt& thePnt1,
|
H A D | SelectMgr_Frustum.lxx | 80 Standard_Boolean SelectMgr_Frustum<N>::isSeparated (const gp_Pnt& thePnt1, 95 aTriangleProj = theAxis.Dot (thePnt1.XYZ()); 406 Standard_Boolean SelectMgr_Frustum<N>::hasOverlap (const gp_Pnt& thePnt1, 411 const gp_XYZ aTrEdges[3] = { thePnt2.XYZ() - thePnt1.XYZ(), 413 thePnt1.XYZ() - thePnt3.XYZ() }; 421 aTriangleProj = aPlane.Dot (thePnt1.XYZ()); 443 if (isSeparated (thePnt1, thePnt2, thePnt3, theNormal.XYZ())) 455 if (isSeparated (thePnt1, thePnt2, thePnt3, aTestDirection))
|
H A D | SelectMgr_RectangularFrustum.hxx | 87 Standard_EXPORT virtual Standard_Boolean Overlaps (const gp_Pnt& thePnt1, 95 Standard_EXPORT virtual Standard_Boolean Overlaps (const gp_Pnt& thePnt1,
|
/dports/cad/opencascade/opencascade-7.6.0/src/Select3D/ |
H A D | Select3D_SensitiveTriangle.hxx | 39 const gp_Pnt& thePnt1, 48 void Points3D (gp_Pnt& thePnt0, gp_Pnt& thePnt1, gp_Pnt& thePnt2) const in Points3D() argument 51 thePnt1 = myPoints[1]; in Points3D()
|
H A D | Select3D_SensitiveTriangle.cxx | 31 const gp_Pnt& thePnt1, in IMPLEMENT_STANDARD_RTTIEXT() 38 myPoints[1] = thePnt1; in IMPLEMENT_STANDARD_RTTIEXT() 40 myCentroid = (thePnt0.XYZ() + thePnt1.XYZ() + thePnt2.XYZ()) * (1.0 / 3.0); in IMPLEMENT_STANDARD_RTTIEXT()
|
H A D | Select3D_InteriorSensitivePointSet.cxx | 54 void MakePlane (const gp_Pnt& thePnt1, in MakePlane() argument 58 const gp_XYZ& aVec1 = thePnt2.XYZ() - thePnt1.XYZ(); in MakePlane() 59 const gp_XYZ& aVec2 = thePnt3.XYZ() - thePnt1.XYZ(); in MakePlane() 61 Standard_Real aD = aDir.Dot (thePnt1.XYZ().Reversed()); in MakePlane()
|
/dports/cad/opencascade/opencascade-7.6.0/src/BRepPrimAPI/ |
H A D | BRepPrimAPI_MakeBox.cxx | 134 void BRepPrimAPI_MakeBox::Init (const gp_Pnt& thePnt1, const gp_Pnt& thePnt2) in Init() argument 136 myWedge = BRepPrim_Wedge (gp_Ax2 (pmin (thePnt1,thePnt2), gp_Dir (0, 0, 1), gp_Dir (1, 0, 0)), in Init() 137 Abs (thePnt2.X() - thePnt1.X()), in Init() 138 Abs (thePnt2.Y() - thePnt1.Y()), in Init() 139 Abs (thePnt2.Z() - thePnt1.Z())); in Init()
|
/dports/cad/opencascade/opencascade-7.6.0/src/SelectBasics/ |
H A D | SelectBasics_SelectingVolumeManager.hxx | 207 Standard_Boolean Overlaps (const gp_Pnt& thePnt1, in Overlaps() argument 211 return OverlapsSegment (thePnt1, thePnt2, thePickResult); in Overlaps() 215 Standard_Boolean Overlaps (const gp_Pnt& thePnt1, in Overlaps() argument 221 return OverlapsTriangle (thePnt1, thePnt2, thePnt3, theSensType, thePickResult); in Overlaps()
|
/dports/cad/opencascade/opencascade-7.6.0/src/BRepPreviewAPI/ |
H A D | BRepPreviewAPI_MakeBox.cxx | 112 void BRepPreviewAPI_MakeBox::makeRectangle (const gp_Pnt& thePnt1, const gp_Pnt& thePnt2, in makeRectangle() argument 115 TopoDS_Edge anEdge1 = BRepBuilderAPI_MakeEdge (thePnt1, thePnt2); in makeRectangle() 118 TopoDS_Edge anEdge4 = BRepBuilderAPI_MakeEdge (thePnt4, thePnt1); in makeRectangle()
|
/dports/cad/opencascade/opencascade-7.6.0/src/MeshVS/ |
H A D | MeshVS_SensitiveQuad.cxx | 40 const gp_Pnt& thePnt1, in MeshVS_SensitiveQuad() argument 46 myVertices[0] = thePnt1; in MeshVS_SensitiveQuad()
|