Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
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.

#include <IntSurf_Transition.hxx>

Public Member Functions

DEFINE_STANDARD_ALLOC IntSurf_Transition ()
 Empty constructor. Creates an UNDECIDED transition.

 IntSurf_Transition (const Standard_Boolean Tangent, const IntSurf_TypeTrans Type)
 Create a IN or OUT transition

 IntSurf_Transition (const Standard_Boolean Tangent, const IntSurf_Situation Situ, const Standard_Boolean Oppos)
 Create a TOUCH transition.

void SetValue (const Standard_Boolean Tangent, const IntSurf_TypeTrans Type)
 Set the values of an IN or OUT transition.

void SetValue (const Standard_Boolean Tangent, const IntSurf_Situation Situ, const Standard_Boolean Oppos)
 Set the values of a TOUCH transition.

void SetValue ()
 Set the values of an UNDECIDED transition.

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.

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.

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.

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.


Constructor & Destructor Documentation


Member Function Documentation


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