Open CASCADE Technology 7.8.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. | |
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_Pnt & | Pnt (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_Face & | Face (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 () |
IntCurvesFace_ShapeIntersector::IntCurvesFace_ShapeIntersector | ( | ) |
|
virtual |
|
inline |
Returns the significant face used to determine the intersection.
|
inline |
True when the intersection has been computed.
void IntCurvesFace_ShapeIntersector::Load | ( | const TopoDS_Shape & | Sh, |
const Standard_Real | Tol | ||
) |
|
inline |
Returns the number of the intersection points.
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.
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.
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.
|
inline |
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.
|
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).
|
inline |
Returns the ith transition of the line on the surface.
|
inline |
Returns the U parameter of the ith intersection point on the surface.
|
inline |
Returns the V parameter of the ith intersection point on the surface.
|
inline |
Returns the parameter of the ith intersection point on the line.