![]() |
Open CASCADE Technology Reference Manual 8.0.0
|
#include <IntCurvesFace_Intersector.hxx>

Public Member Functions | |
| IntCurvesFace_Intersector (const TopoDS_Face &F, const double aTol, const bool aRestr=true, const bool UseBToler=true) | |
| Load a Face. | |
| void | Perform (const gp_Lin &L, const double PInf, const double PSup) |
| Perform the intersection between the segment L and the loaded face. | |
| void | Perform (const occ::handle< Adaptor3d_Curve > &HCu, const double PInf, const double PSup) |
| same method for a HCurve from Adaptor3d. PInf an PSup can also be - and + INF. | |
| GeomAbs_SurfaceType | SurfaceType () const |
| Return the surface type. | |
| bool | IsDone () const |
| True is returned when the intersection have been computed. | |
| int | NbPnt () const |
| double | UParameter (const int I) const |
| Returns the U parameter of the ith intersection point on the surface. | |
| double | VParameter (const int I) const |
| Returns the V parameter of the ith intersection point on the surface. | |
| double | WParameter (const int I) const |
| Returns the parameter of the ith intersection point on the line. | |
| const gp_Pnt & | Pnt (const int I) const |
| Returns the geometric point of the ith intersection between the line and the surface. | |
| IntCurveSurface_TransitionOnCurve | Transition (const int I) const |
| Returns the ith transition of the line on the surface. | |
| TopAbs_State | State (const int 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). | |
| bool | IsParallel () const |
| Returns true if curve is parallel or belongs face surface This case is recognized only for some pairs of analytical curves and surfaces (plane - line, ...) | |
| const TopoDS_Face & | Face () const |
| Returns the significant face used to determine the intersection. | |
| TopAbs_State | ClassifyUVPoint (const gp_Pnt2d &Puv) const |
| Bnd_Box | Bounding () const |
| void | SetUseBoundToler (bool UseBToler) |
| Sets the boundary tolerance flag. | |
| bool | GetUseBoundToler () const |
| Returns the boundary tolerance flag. | |
| ~IntCurvesFace_Intersector () override | |
Public Member Functions inherited from Standard_Transient | |
| Standard_Transient () | |
| Empty constructor. | |
| Standard_Transient (const Standard_Transient &) | |
| Copy constructor – does nothing. | |
| Standard_Transient & | operator= (const Standard_Transient &) |
| Assignment operator, needed to avoid copying reference counter. | |
| virtual | ~Standard_Transient ()=default |
| Destructor must be virtual. | |
| virtual const opencascade::handle< Standard_Type > & | DynamicType () const |
| Returns a type descriptor about this object. | |
| bool | IsInstance (const opencascade::handle< Standard_Type > &theType) const |
| Returns a true value if this is an instance of Type. | |
| bool | IsInstance (const char *const theTypeName) const |
| Returns a true value if this is an instance of TypeName. | |
| bool | IsKind (const opencascade::handle< Standard_Type > &theType) const |
| Returns true if this is an instance of Type or an instance of any class that inherits from Type. Note that multiple inheritance is not supported by OCCT RTTI mechanism. | |
| bool | IsKind (const char *const theTypeName) const |
| Returns true if this is an instance of TypeName or an instance of any class that inherits from TypeName. Note that multiple inheritance is not supported by OCCT RTTI mechanism. | |
| Standard_Transient * | This () const |
| Returns non-const pointer to this object (like const_cast). For protection against creating handle to objects allocated in stack or call from constructor, it will raise exception Standard_ProgramError if reference counter is zero. | |
| int | GetRefCount () const noexcept |
| Get the reference counter of this object. | |
| void | IncrementRefCounter () noexcept |
| Increments the reference counter of this object. Uses relaxed memory ordering since incrementing only requires atomicity, not synchronization with other memory operations. | |
| int | DecrementRefCounter () noexcept |
| Decrements the reference counter of this object; returns the decremented value. Uses release ordering for the decrement to ensure all writes to the object are visible before the count reaches zero. An acquire fence is added only when the count reaches zero, ensuring proper synchronization before deletion. This is more efficient than using acq_rel for every decrement. | |
| virtual void | Delete () const |
| Memory deallocator for transient classes. | |
Additional Inherited Members | |
Public Types inherited from Standard_Transient | |
| typedef void | base_type |
| Returns a type descriptor about this object. | |
Static Public Member Functions inherited from Standard_Transient | |
| static constexpr const char * | get_type_name () |
| Returns a type descriptor about this object. | |
| static const opencascade::handle< Standard_Type > & | get_type_descriptor () |
| Returns type descriptor of Standard_Transient class. | |
| IntCurvesFace_Intersector::IntCurvesFace_Intersector | ( | const TopoDS_Face & | F, |
| const double | aTol, | ||
| const bool | aRestr = true, | ||
| const bool | UseBToler = true ) |
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). If aRestr = true UV bounding box of face is used to restrict it's underlined surface, otherwise surface is not restricted. If UseBToler = false then the 2d-point of intersection is classified with null-tolerance (relative to face); otherwise it's using maximum between input tolerance(aTol) and tolerances of face bounds (edges).
|
override |
| Bnd_Box IntCurvesFace_Intersector::Bounding | ( | ) | const |
| TopAbs_State IntCurvesFace_Intersector::ClassifyUVPoint | ( | const gp_Pnt2d & | Puv | ) | const |
| const TopoDS_Face & IntCurvesFace_Intersector::Face | ( | ) | const |
Returns the significant face used to determine the intersection.
| bool IntCurvesFace_Intersector::GetUseBoundToler | ( | ) | const |
Returns the boundary tolerance flag.
| bool IntCurvesFace_Intersector::IsDone | ( | ) | const |
True is returned when the intersection have been computed.
| bool IntCurvesFace_Intersector::IsParallel | ( | ) | const |
Returns true if curve is parallel or belongs face surface This case is recognized only for some pairs of analytical curves and surfaces (plane - line, ...)
| int IntCurvesFace_Intersector::NbPnt | ( | ) | const |
Perform the intersection between the segment L and the loaded face.
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_Intersector::Perform | ( | const occ::handle< Adaptor3d_Curve > & | HCu, |
| const double | PInf, | ||
| const double | PSup ) |
same method for a HCurve from Adaptor3d. PInf an PSup can also be - and + INF.
Returns the geometric point of the ith intersection between the line and the surface.
Sets the boundary tolerance flag.
| TopAbs_State IntCurvesFace_Intersector::State | ( | const int | 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).
| GeomAbs_SurfaceType IntCurvesFace_Intersector::SurfaceType | ( | ) | const |
Return the surface type.
| IntCurveSurface_TransitionOnCurve IntCurvesFace_Intersector::Transition | ( | const int | I | ) | const |
Returns the ith transition of the line on the surface.
Returns the U parameter of the ith intersection point on the surface.
Returns the V parameter of the ith intersection point on the surface.
Returns the parameter of the ith intersection point on the line.