Open CASCADE Technology  7.1.0.beta
Public Member Functions

BRepClass3d_Intersector3d Class Reference

#include <BRepClass3d_Intersector3d.hxx>

Public Member Functions

 BRepClass3d_Intersector3d ()
 Empty constructor. More...
 
void Perform (const gp_Lin &L, const Standard_Real Prm, const Standard_Real Tol, const TopoDS_Face &F)
 Perform the intersection between the segment L(0) ... L(Prm) and the Shape <Sh>. More...
 
Standard_Boolean IsDone () const
 True is returned when the intersection have been computed. More...
 
Standard_Boolean HasAPoint () const
 True is returned if a point has been found. More...
 
Standard_Real UParameter () const
 Returns the U parameter of the intersection point on the surface. More...
 
Standard_Real VParameter () const
 Returns the V parameter of the intersection point on the surface. More...
 
Standard_Real WParameter () const
 Returns the parameter of the intersection point on the line. More...
 
const gp_PntPnt () const
 Returns the geometric point of the intersection between the line and the surface. More...
 
IntCurveSurface_TransitionOnCurve Transition () const
 Returns the transition of the line on the surface. More...
 
TopAbs_State State () const
 Returns the 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
 Returns the significant face used to determine the intersection. More...
 

Constructor & Destructor Documentation

BRepClass3d_Intersector3d::BRepClass3d_Intersector3d ( )

Empty constructor.

Member Function Documentation

const TopoDS_Face& BRepClass3d_Intersector3d::Face ( ) const

Returns the significant face used to determine the intersection.

Standard_Boolean BRepClass3d_Intersector3d::HasAPoint ( ) const

True is returned if a point has been found.

Standard_Boolean BRepClass3d_Intersector3d::IsDone ( ) const

True is returned when the intersection have been computed.

void BRepClass3d_Intersector3d::Perform ( const gp_Lin L,
const Standard_Real  Prm,
const Standard_Real  Tol,
const TopoDS_Face F 
)

Perform the intersection between the segment L(0) ... L(Prm) and the Shape <Sh>.

Only the point with the smallest parameter on the line is returned.

The Tolerance <Tol> is used to determine if the first point of the segment is near the face. In that case, the parameter of the intersection point on the line can be a negative value (greater than -Tol).

const gp_Pnt& BRepClass3d_Intersector3d::Pnt ( ) const

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

TopAbs_State BRepClass3d_Intersector3d::State ( ) const

Returns the 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).

IntCurveSurface_TransitionOnCurve BRepClass3d_Intersector3d::Transition ( ) const

Returns the transition of the line on the surface.

Standard_Real BRepClass3d_Intersector3d::UParameter ( ) const

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

Standard_Real BRepClass3d_Intersector3d::VParameter ( ) const

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

Standard_Real BRepClass3d_Intersector3d::WParameter ( ) const

Returns the parameter of the intersection point on the line.


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