Open CASCADE Technology 7.8.0
Public Member Functions
IntCurvesFace_ShapeIntersector Class Reference

#include <IntCurvesFace_ShapeIntersector.hxx>

Public Member Functions

 IntCurvesFace_ShapeIntersector ()
 
void Load (const TopoDS_Shape &Sh, const Standard_Real Tol)
 
void Perform (const gp_Lin &L, const Standard_Real PInf, const Standard_Real PSup)
 Perform the intersection between the segment L and the loaded shape.
 
void PerformNearest (const gp_Lin &L, const Standard_Real PInf, const Standard_Real PSup)
 Perform the intersection between the segment L and the loaded shape.
 
void Perform (const Handle< Adaptor3d_Curve > &HCu, const Standard_Real PInf, const Standard_Real PSup)
 same method for a HCurve from Adaptor3d. PInf an PSup can also be -INF and +INF.
 
Standard_Boolean IsDone () const
 True when the intersection has been computed.
 
Standard_Integer NbPnt () const
 Returns the number of the intersection points.
 
Standard_Real UParameter (const Standard_Integer I) const
 Returns the U parameter of the ith intersection point on the surface.
 
Standard_Real VParameter (const Standard_Integer I) const
 Returns the V parameter of the ith intersection point on the surface.
 
Standard_Real WParameter (const Standard_Integer I) const
 Returns the parameter of the ith intersection point on the line.
 
const gp_PntPnt (const Standard_Integer I) const
 Returns the geometric point of the ith intersection between the line and the surface.
 
IntCurveSurface_TransitionOnCurve Transition (const Standard_Integer I) const
 Returns the ith transition of the line on the surface.
 
TopAbs_State State (const Standard_Integer I) const
 Returns the ith state of the point on the face. The values can be either TopAbs_IN ( the point is in the face) or TopAbs_ON ( the point is on a boundary of the face).
 
const TopoDS_FaceFace (const Standard_Integer I) const
 Returns the significant face used to determine the intersection.
 
void SortResult ()
 Internal method. Sort the result on the Curve parameter.
 
virtual ~IntCurvesFace_ShapeIntersector ()
 

Constructor & Destructor Documentation

◆ IntCurvesFace_ShapeIntersector()

IntCurvesFace_ShapeIntersector::IntCurvesFace_ShapeIntersector ( )

◆ ~IntCurvesFace_ShapeIntersector()

virtual IntCurvesFace_ShapeIntersector::~IntCurvesFace_ShapeIntersector ( )
virtual

Member Function Documentation

◆ Face()

const TopoDS_Face & IntCurvesFace_ShapeIntersector::Face ( const Standard_Integer  I) const
inline

Returns the significant face used to determine the intersection.

◆ IsDone()

Standard_Boolean IntCurvesFace_ShapeIntersector::IsDone ( ) const
inline

True when the intersection has been computed.

◆ Load()

void IntCurvesFace_ShapeIntersector::Load ( const TopoDS_Shape Sh,
const Standard_Real  Tol 
)

◆ NbPnt()

Standard_Integer IntCurvesFace_ShapeIntersector::NbPnt ( ) const
inline

Returns the number of the intersection points.

◆ Perform() [1/2]

void IntCurvesFace_ShapeIntersector::Perform ( const gp_Lin L,
const Standard_Real  PInf,
const Standard_Real  PSup 
)

Perform the intersection between the segment L and the loaded shape.

PInf is the smallest parameter on the line PSup is the highest parameter on the line

For an infinite line PInf and PSup can be +/- RealLast.

◆ Perform() [2/2]

void IntCurvesFace_ShapeIntersector::Perform ( const Handle< Adaptor3d_Curve > &  HCu,
const Standard_Real  PInf,
const Standard_Real  PSup 
)

same method for a HCurve from Adaptor3d. PInf an PSup can also be -INF and +INF.

◆ PerformNearest()

void IntCurvesFace_ShapeIntersector::PerformNearest ( const gp_Lin L,
const Standard_Real  PInf,
const Standard_Real  PSup 
)

Perform the intersection between the segment L and the loaded shape.

PInf is the smallest parameter on the line PSup is the highest parameter on the line

For an infinite line PInf and PSup can be +/- RealLast.

◆ Pnt()

const gp_Pnt & IntCurvesFace_ShapeIntersector::Pnt ( const Standard_Integer  I) const
inline

Returns the geometric point of the ith intersection between the line and the surface.

◆ SortResult()

void IntCurvesFace_ShapeIntersector::SortResult ( )

Internal method. Sort the result on the Curve parameter.

◆ State()

TopAbs_State IntCurvesFace_ShapeIntersector::State ( const Standard_Integer  I) const
inline

Returns the ith state of the point on the face. The values can be either TopAbs_IN ( the point is in the face) or TopAbs_ON ( the point is on a boundary of the face).

◆ Transition()

IntCurveSurface_TransitionOnCurve IntCurvesFace_ShapeIntersector::Transition ( const Standard_Integer  I) const
inline

Returns the ith transition of the line on the surface.

◆ UParameter()

Standard_Real IntCurvesFace_ShapeIntersector::UParameter ( const Standard_Integer  I) const
inline

Returns the U parameter of the ith intersection point on the surface.

◆ VParameter()

Standard_Real IntCurvesFace_ShapeIntersector::VParameter ( const Standard_Integer  I) const
inline

Returns the V parameter of the ith intersection point on the surface.

◆ WParameter()

Standard_Real IntCurvesFace_ShapeIntersector::WParameter ( const Standard_Integer  I) const
inline

Returns the parameter of the ith intersection point on the line.


The documentation for this class was generated from the following file: