![]() |
Open CASCADE Technology Reference Manual 8.0.0
|
Definition of an intersection line between two surfaces. A line defined by a set of points (e.g. coming from a walking algorithm) as defined in the class WLine or RLine (Restriction line). More...
#include <IntPatch_PointLine.hxx>

Public Member Functions | |
| virtual void | AddVertex (const IntPatch_Point &Pnt, const bool theIsPrepend=false)=0 |
| Adds a vertex in the list. If theIsPrepend == TRUE the new vertex will be added before the first element of vertices sequence. Otherwise, to the end of the sequence. | |
| virtual int | NbPnts () const =0 |
| Returns the number of intersection points. | |
| virtual int | NbVertex () const =0 |
| Returns number of vertices (IntPatch_Point) of the line. | |
| virtual const IntSurf_PntOn2S & | Point (const int Index) const =0 |
| Returns the intersection point of range Index. | |
| virtual const IntPatch_Point & | Vertex (const int Index) const =0 |
| Returns the vertex of range Index on the line. | |
| virtual IntPatch_Point & | ChangeVertex (const int Index)=0 |
| Returns the vertex of range Index on the line. | |
| virtual void | ClearVertexes ()=0 |
| Removes vertices from the line. | |
| virtual void | RemoveVertex (const int theIndex)=0 |
| Removes single vertex from the line. | |
| virtual occ::handle< IntSurf_LineOn2S > | Curve () const =0 |
| Returns set of intersection points. | |
| virtual bool | IsOutSurf1Box (const gp_Pnt2d &P1) const =0 |
| Returns TRUE if P1 is out of the box built from the points on 1st surface. | |
| virtual bool | IsOutSurf2Box (const gp_Pnt2d &P2) const =0 |
| Returns TRUE if P2 is out of the box built from the points on 2nd surface. | |
| virtual bool | IsOutBox (const gp_Pnt &P) const =0 |
| Returns TRUE if P is out of the box built from 3D-points. | |
Public Member Functions inherited from IntPatch_Line | |
| void | SetValue (const bool Uiso1, const bool Viso1, const bool Uiso2, const bool Viso2) |
| To set the values returned by IsUIsoS1,.... The default values are False. | |
| IntPatch_IType | ArcType () const |
| Returns the type of geometry 3d (Line, Circle, Parabola, Hyperbola, Ellipse, Analytic, Walking, Restriction) | |
| bool | IsTangent () const |
| Returns TRUE if the intersection is a line of tangency between the 2 patches. | |
| IntSurf_TypeTrans | TransitionOnS1 () const |
| Returns the type of the transition of the line for the first surface. The transition is "constant" along the line. The transition is IN if the line is oriented in such a way that the system of vector (N1,N2,T) is right-handed, where N1 is the normal to the first surface at a point P, N2 is the normal to the second surface at a point P, T is the tangent to the intersection line at P. If the system of vector is left-handed, the transition is OUT. When N1 and N2 are colinear all along the intersection line, the transition will be. | |
| IntSurf_TypeTrans | TransitionOnS2 () const |
| Returns the type of the transition of the line for the second surface. The transition is "constant" along the line. | |
| IntSurf_Situation | SituationS1 () const |
| Returns the situation (INSIDE/OUTSIDE/UNKNOWN) of the first patch compared to the second one, when TransitionOnS1 or TransitionOnS2 returns TOUCH. Otherwise, an exception is raised. | |
| IntSurf_Situation | SituationS2 () const |
| Returns the situation (INSIDE/OUTSIDE/UNKNOWN) of the second patch compared to the first one, when TransitionOnS1 or TransitionOnS2 returns TOUCH. Otherwise, an exception is raised. | |
| bool | IsUIsoOnS1 () const |
| Returns TRUE if the intersection is a U isoparametric curve on the first patch. | |
| bool | IsVIsoOnS1 () const |
| Returns TRUE if the intersection is a V isoparametric curve on the first patch. | |
| bool | IsUIsoOnS2 () const |
| Returns TRUE if the intersection is a U isoparametric curve on the second patch. | |
| bool | IsVIsoOnS2 () const |
| Returns TRUE if the intersection is a V isoparametric curve on the second patch. | |
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. | |
Static Public Member Functions | |
| static double | CurvatureRadiusOfIntersLine (const occ::handle< Adaptor3d_Surface > &theS1, const occ::handle< Adaptor3d_Surface > &theS2, const IntSurf_PntOn2S &theUVPoint) |
| Returns the radius of curvature of the intersection line in given point. Returns negative value if computation is not possible. | |
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. | |
Protected Member Functions | |
| IntPatch_PointLine (const bool Tang, const IntSurf_TypeTrans Trans1, const IntSurf_TypeTrans Trans2) | |
| To initialize the fields, when the transitions are In or Out. | |
| IntPatch_PointLine (const bool Tang, const IntSurf_Situation Situ1, const IntSurf_Situation Situ2) | |
| To initialize the fields, when the transitions are Touch. | |
| IntPatch_PointLine (const bool Tang) | |
| To initialize the fields, when the transitions are Undecided. | |
Protected Member Functions inherited from IntPatch_Line | |
| IntPatch_Line (const bool Tang, const IntSurf_TypeTrans Trans1, const IntSurf_TypeTrans Trans2) | |
| To initialize the fields, when the transitions are In or Out. | |
| IntPatch_Line (const bool Tang, const IntSurf_Situation Situ1, const IntSurf_Situation Situ2) | |
| To initialize the fields, when the transitions are Touch. | |
| IntPatch_Line (const bool Tang) | |
| To initialize the fields, when the transitions are Undecided. | |
Additional Inherited Members | |
Public Types inherited from Standard_Transient | |
| typedef void | base_type |
| Returns a type descriptor about this object. | |
Protected Attributes inherited from IntPatch_Line | |
| IntPatch_IType | typ |
Definition of an intersection line between two surfaces. A line defined by a set of points (e.g. coming from a walking algorithm) as defined in the class WLine or RLine (Restriction line).
|
protected |
To initialize the fields, when the transitions are In or Out.
|
protected |
To initialize the fields, when the transitions are Touch.
|
protected |
To initialize the fields, when the transitions are Undecided.
|
pure virtual |
Adds a vertex in the list. If theIsPrepend == TRUE the new vertex will be added before the first element of vertices sequence. Otherwise, to the end of the sequence.
Implemented in IntPatch_RLine, and IntPatch_WLine.
|
pure virtual |
Returns the vertex of range Index on the line.
Implemented in IntPatch_RLine, and IntPatch_WLine.
Removes vertices from the line.
Implemented in IntPatch_RLine, and IntPatch_WLine.
|
static |
Returns the radius of curvature of the intersection line in given point. Returns negative value if computation is not possible.
|
pure virtual |
Returns set of intersection points.
Implemented in IntPatch_RLine, and IntPatch_WLine.
Returns TRUE if P is out of the box built from 3D-points.
Implemented in IntPatch_RLine, and IntPatch_WLine.
Returns TRUE if P1 is out of the box built from the points on 1st surface.
Implemented in IntPatch_RLine, and IntPatch_WLine.
Returns TRUE if P2 is out of the box built from the points on 2nd surface.
Implemented in IntPatch_RLine, and IntPatch_WLine.
Returns the number of intersection points.
Implemented in IntPatch_RLine, and IntPatch_WLine.
Returns number of vertices (IntPatch_Point) of the line.
Implemented in IntPatch_RLine, and IntPatch_WLine.
|
pure virtual |
Returns the intersection point of range Index.
Implemented in IntPatch_RLine, and IntPatch_WLine.
Removes single vertex from the line.
Implemented in IntPatch_RLine, and IntPatch_WLine.
|
pure virtual |
Returns the vertex of range Index on the line.
Implemented in IntPatch_RLine, and IntPatch_WLine.