Open CASCADE Technology  7.4.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. More...
 
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. More...
 
void Perform (const Handle< Adaptor3d_HCurve > &HCu, const Standard_Real PInf, const Standard_Real PSup)
 same method for a HCurve from Adaptor3d. PInf an PSup can also be - and + INF. More...
 
Standard_Boolean IsDone () const
 True is returned when the intersection have been computed. More...
 
Standard_Integer NbPnt () const
 
Standard_Real UParameter (const Standard_Integer I) const
 Returns the U parameter of the ith intersection point on the surface. More...
 
Standard_Real VParameter (const Standard_Integer I) const
 Returns the V parameter of the ith intersection point on the surface. More...
 
Standard_Real WParameter (const Standard_Integer I) const
 Returns the parameter of the ith intersection point on the line. More...
 
const gp_PntPnt (const Standard_Integer I) const
 Returns the geometric point of the ith intersection between the line and the surface. More...
 
IntCurveSurface_TransitionOnCurve Transition (const Standard_Integer I) const
 Returns the ith transition of the line on the surface. More...
 
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 boudary of the face). More...
 
const TopoDS_FaceFace (const Standard_Integer I) const
 Returns the significant face used to determine the intersection. More...
 
void SortResult ()
 Internal method. Sort the result on the Curve parameter. More...
 
void Destroy ()
 
 ~IntCurvesFace_ShapeIntersector ()
 

Constructor & Destructor Documentation

◆ IntCurvesFace_ShapeIntersector()

IntCurvesFace_ShapeIntersector::IntCurvesFace_ShapeIntersector ( )

◆ ~IntCurvesFace_ShapeIntersector()

IntCurvesFace_ShapeIntersector::~IntCurvesFace_ShapeIntersector ( )
inline

Member Function Documentation

◆ Destroy()

void IntCurvesFace_ShapeIntersector::Destroy ( )

◆ Face()

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

Returns the significant face used to determine the intersection.

◆ IsDone()

Standard_Boolean IntCurvesFace_ShapeIntersector::IsDone ( ) const

True is returned when the intersection have been computed.

◆ Load()

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

◆ NbPnt()

Standard_Integer IntCurvesFace_ShapeIntersector::NbPnt ( ) const

◆ 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 parammter on the line

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

◆ Perform() [2/2]

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

same method for a HCurve from Adaptor3d. PInf an PSup can also be - 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 parammter 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

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

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 boudary of the face).

◆ Transition()

IntCurveSurface_TransitionOnCurve IntCurvesFace_ShapeIntersector::Transition ( const Standard_Integer  I) const

Returns the ith transition of the line on the surface.

◆ UParameter()

Standard_Real IntCurvesFace_ShapeIntersector::UParameter ( const Standard_Integer  I) const

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

◆ VParameter()

Standard_Real IntCurvesFace_ShapeIntersector::VParameter ( const Standard_Integer  I) const

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

◆ WParameter()

Standard_Real IntCurvesFace_ShapeIntersector::WParameter ( const Standard_Integer  I) const

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


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