Open CASCADE Technology
7.6.0
|
#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_Curve > &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_Pnt & | Pnt (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 boundary of the face). More... | |
const TopoDS_Face & | Face (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 () | |
IntCurvesFace_ShapeIntersector::IntCurvesFace_ShapeIntersector | ( | ) |
|
inline |
void IntCurvesFace_ShapeIntersector::Destroy | ( | ) |
const TopoDS_Face& IntCurvesFace_ShapeIntersector::Face | ( | const Standard_Integer | I | ) | const |
Returns the significant face used to determine the intersection.
Standard_Boolean IntCurvesFace_ShapeIntersector::IsDone | ( | ) | const |
True is returned when the intersection have been computed.
void IntCurvesFace_ShapeIntersector::Load | ( | const TopoDS_Shape & | Sh, |
const Standard_Real | Tol | ||
) |
Standard_Integer IntCurvesFace_ShapeIntersector::NbPnt | ( | ) | const |
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.
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 - and + INF.
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.
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.
void IntCurvesFace_ShapeIntersector::SortResult | ( | ) |
Internal method. Sort the result on the Curve parameter.
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 boundary of the face).
IntCurveSurface_TransitionOnCurve IntCurvesFace_ShapeIntersector::Transition | ( | const Standard_Integer | I | ) | const |
Returns the ith transition of the line on the surface.
Standard_Real IntCurvesFace_ShapeIntersector::UParameter | ( | const Standard_Integer | I | ) | const |
Returns the U parameter of the ith intersection point on the surface.
Standard_Real IntCurvesFace_ShapeIntersector::VParameter | ( | const Standard_Integer | I | ) | const |
Returns the V parameter of the ith intersection point on the surface.
Standard_Real IntCurvesFace_ShapeIntersector::WParameter | ( | const Standard_Integer | I | ) | const |
Returns the parameter of the ith intersection point on the line.