|
Open CASCADE Technology
6.9.0
|
#include <IntCurvesFace_Intersector.hxx>
Public Member Functions | |
| IntCurvesFace_Intersector (const TopoDS_Face &F, const Standard_Real aTol) | |
| Load a Face. More... | |
| void | Perform (const gp_Lin &L, const Standard_Real PInf, const Standard_Real PSup) |
| Perform the intersection between the segment L and the loaded face. 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... | |
| GeomAbs_SurfaceType | SurfaceType () const |
| Return the surface type. 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 boudary of the face). More... | |
| const TopoDS_Face & | Face () const |
| Returns the significant face used to determine the intersection. More... | |
| TopAbs_State | ClassifyUVPoint (const gp_Pnt2d &Puv) const |
| Bnd_Box | Bounding () const |
| void | Destroy () |
| ~IntCurvesFace_Intersector () | |
| IntCurvesFace_Intersector::IntCurvesFace_Intersector | ( | const TopoDS_Face & | F, |
| const Standard_Real | aTol | ||
| ) |
Load a Face.
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).
|
inline |
| Bnd_Box IntCurvesFace_Intersector::Bounding | ( | ) | const |
| TopAbs_State IntCurvesFace_Intersector::ClassifyUVPoint | ( | const gp_Pnt2d & | Puv | ) | const |
| void IntCurvesFace_Intersector::Destroy | ( | ) |
| const TopoDS_Face& IntCurvesFace_Intersector::Face | ( | ) | const |
Returns the significant face used to determine the intersection.
| Standard_Boolean IntCurvesFace_Intersector::IsDone | ( | ) | const |
True is returned when the intersection have been computed.
| Standard_Integer IntCurvesFace_Intersector::NbPnt | ( | ) | const |
| void IntCurvesFace_Intersector::Perform | ( | const gp_Lin & | L, |
| const Standard_Real | PInf, | ||
| const Standard_Real | PSup | ||
| ) |
Perform the intersection between the segment L and the loaded face.
PInf is the smallest parameter on the line PSup is the highest parmaeter on the line
For an infinite line PInf and PSup can be +/- RealLast.
| void IntCurvesFace_Intersector::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.
| const gp_Pnt& IntCurvesFace_Intersector::Pnt | ( | const Standard_Integer | I | ) | const |
Returns the geometric point of the ith intersection between the line and the surface.
| TopAbs_State IntCurvesFace_Intersector::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).
| GeomAbs_SurfaceType IntCurvesFace_Intersector::SurfaceType | ( | ) | const |
Return the surface type.
| IntCurveSurface_TransitionOnCurve IntCurvesFace_Intersector::Transition | ( | const Standard_Integer | I | ) | const |
Returns the ith transition of the line on the surface.
| Standard_Real IntCurvesFace_Intersector::UParameter | ( | const Standard_Integer | I | ) | const |
Returns the U parameter of the ith intersection point on the surface.
| Standard_Real IntCurvesFace_Intersector::VParameter | ( | const Standard_Integer | I | ) | const |
Returns the V parameter of the ith intersection point on the surface.
| Standard_Real IntCurvesFace_Intersector::WParameter | ( | const Standard_Integer | I | ) | const |
Returns the parameter of the ith intersection point on the line.
1.8.5