Home
last modified time | relevance | path

Searched refs:thePnt1 (Results 1 – 25 of 54) sorted by relevance

123

/dports/cad/opencascade/opencascade-7.6.0/samples/OCCTOverview/code/
H A DAdaptorVec_AIS.cxx30 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 DSelectMgr_Frustum.hxx78 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 DSelect3D_SensitiveTriangle.hxx39 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 DSelectBasics_SelectingVolumeManager.hxx207 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 DSelectMgr_TriangularFrustumSet.hxx91 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 DSelectMgr_TriangularFrustum.hxx92 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 DSelectMgr_Frustum.hxx78 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 DSelectMgr_AxisIntersector.cxx318 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 DSelectMgr_RectangularFrustum.cxx561 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 DSelectMgr_TriangularFrustumSet.hxx91 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 DSelectMgr_TriangularFrustumSet.cxx324 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 DSelectMgr_TriangularFrustum.cxx268 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 DSelect3D_SensitiveTriangle.hxx39 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 DSelectMgr_Frustum.hxx75 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 DSelectMgr_TriangularFrustumSet.hxx71 Standard_EXPORT virtual Standard_Boolean Overlaps (const gp_Pnt& thePnt1,
76 Standard_EXPORT virtual Standard_Boolean Overlaps (const gp_Pnt& thePnt1,
H A DSelectMgr_TriangularFrustum.hxx74 Standard_EXPORT virtual Standard_Boolean Overlaps (const gp_Pnt& thePnt1,
82 Standard_EXPORT virtual Standard_Boolean Overlaps (const gp_Pnt& thePnt1,
H A DSelectMgr_Frustum.lxx80 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 DSelectMgr_RectangularFrustum.hxx87 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 DSelect3D_SensitiveTriangle.hxx39 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 DSelect3D_SensitiveTriangle.cxx31 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 DSelect3D_InteriorSensitivePointSet.cxx54 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 DBRepPrimAPI_MakeBox.cxx134 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 DSelectBasics_SelectingVolumeManager.hxx207 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 DBRepPreviewAPI_MakeBox.cxx112 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 DMeshVS_SensitiveQuad.cxx40 const gp_Pnt& thePnt1, in MeshVS_SensitiveQuad() argument
46 myVertices[0] = thePnt1; in MeshVS_SensitiveQuad()

123