Open CASCADE Technology  7.7.0
Public Member Functions
IntSurf_Transition Class Reference

Definition of the transition at the intersection between an intersection line and a restriction curve on a surface. More...

#include <IntSurf_Transition.hxx>

Public Member Functions

 IntSurf_Transition ()
 Empty constructor. Creates an UNDECIDED transition. More...
 
 IntSurf_Transition (const Standard_Boolean Tangent, const IntSurf_TypeTrans Type)
 Create a IN or OUT transition. More...
 
 IntSurf_Transition (const Standard_Boolean Tangent, const IntSurf_Situation Situ, const Standard_Boolean Oppos)
 Create a TOUCH transition. More...
 
void SetValue (const Standard_Boolean Tangent, const IntSurf_TypeTrans Type)
 Set the values of an IN or OUT transition. More...
 
void SetValue (const Standard_Boolean Tangent, const IntSurf_Situation Situ, const Standard_Boolean Oppos)
 Set the values of a TOUCH transition. More...
 
void SetValue ()
 Set the values of an UNDECIDED transition. More...
 
IntSurf_TypeTrans TransitionType () const
 Returns the type of Transition (in/out/touch/undecided) for the arc given by value. This the transition of the intersection line compared to the Arc of restriction, i-e when the function returns INSIDE for example, it means that the intersection line goes inside the part of plane limited by the arc of restriction. More...
 
Standard_Boolean IsTangent () const
 Returns TRUE if the point is tangent to the arc given by Value. An exception is raised if TransitionType returns UNDECIDED. More...
 
IntSurf_Situation Situation () const
 Returns a significant value if TransitionType returns TOUCH. In this case, the function returns : INSIDE when the intersection line remains inside the Arc, OUTSIDE when it remains outside the Arc, UNKNOWN when the calsulus cannot give results. If TransitionType returns IN, or OUT, or UNDECIDED, a exception is raised. More...
 
Standard_Boolean IsOpposite () const
 returns a significant value if TransitionType returns TOUCH. In this case, the function returns true when the 2 curves locally define two different parts of the space. If TransitionType returns IN or OUT or UNDECIDED, an exception is raised. More...
 

Detailed Description

Definition of the transition at the intersection between an intersection line and a restriction curve on a surface.

Constructor & Destructor Documentation

◆ IntSurf_Transition() [1/3]

IntSurf_Transition::IntSurf_Transition ( )

Empty constructor. Creates an UNDECIDED transition.

◆ IntSurf_Transition() [2/3]

IntSurf_Transition::IntSurf_Transition ( const Standard_Boolean  Tangent,
const IntSurf_TypeTrans  Type 
)

Create a IN or OUT transition.

◆ IntSurf_Transition() [3/3]

IntSurf_Transition::IntSurf_Transition ( const Standard_Boolean  Tangent,
const IntSurf_Situation  Situ,
const Standard_Boolean  Oppos 
)

Create a TOUCH transition.

Member Function Documentation

◆ IsOpposite()

Standard_Boolean IntSurf_Transition::IsOpposite ( ) const

returns a significant value if TransitionType returns TOUCH. In this case, the function returns true when the 2 curves locally define two different parts of the space. If TransitionType returns IN or OUT or UNDECIDED, an exception is raised.

◆ IsTangent()

Standard_Boolean IntSurf_Transition::IsTangent ( ) const

Returns TRUE if the point is tangent to the arc given by Value. An exception is raised if TransitionType returns UNDECIDED.

◆ SetValue() [1/3]

void IntSurf_Transition::SetValue ( const Standard_Boolean  Tangent,
const IntSurf_TypeTrans  Type 
)

Set the values of an IN or OUT transition.

◆ SetValue() [2/3]

void IntSurf_Transition::SetValue ( const Standard_Boolean  Tangent,
const IntSurf_Situation  Situ,
const Standard_Boolean  Oppos 
)

Set the values of a TOUCH transition.

◆ SetValue() [3/3]

void IntSurf_Transition::SetValue ( )

Set the values of an UNDECIDED transition.

◆ Situation()

IntSurf_Situation IntSurf_Transition::Situation ( ) const

Returns a significant value if TransitionType returns TOUCH. In this case, the function returns : INSIDE when the intersection line remains inside the Arc, OUTSIDE when it remains outside the Arc, UNKNOWN when the calsulus cannot give results. If TransitionType returns IN, or OUT, or UNDECIDED, a exception is raised.

◆ TransitionType()

IntSurf_TypeTrans IntSurf_Transition::TransitionType ( ) const

Returns the type of Transition (in/out/touch/undecided) for the arc given by value. This the transition of the intersection line compared to the Arc of restriction, i-e when the function returns INSIDE for example, it means that the intersection line goes inside the part of plane limited by the arc of restriction.


The documentation for this class was generated from the following file: