OCC Main Page | ModelingAlgorithms | Toolkits | Packages | Class Hierarchy | Data Structures | File List | Data Fields | Globals

ModelingAlgorithms
TKGeomAlgo
IntSurf


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

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)
Standard_EXPORT IntSurf_Transition ()
 Empty constructor. Creates an UNDECIDED transition.
.
Standard_EXPORT IntSurf_Transition (const Standard_Boolean Tangent, const IntSurf_TypeTrans Type)
 Create a IN or OUT transition
.
Standard_EXPORT 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.


Private Attributes

Standard_Boolean tangent
IntSurf_TypeTrans typetra
IntSurf_Situation situat
Standard_Boolean oppos


Constructor & Destructor Documentation

Standard_EXPORT IntSurf_Transition::IntSurf_Transition  ) 
 

Standard_EXPORT IntSurf_Transition::IntSurf_Transition const Standard_Boolean  Tangent,
const IntSurf_TypeTrans  Type
 

Standard_EXPORT IntSurf_Transition::IntSurf_Transition const Standard_Boolean  Tangent,
const IntSurf_Situation  Situ,
const Standard_Boolean  Oppos
 


Member Function Documentation

Standard_Boolean IntSurf_Transition::IsOpposite  )  const [inline]
 

Standard_Boolean IntSurf_Transition::IsTangent  )  const [inline]
 

void IntSurf_Transition::operator delete void *  anAddress  )  [inline]
 

void* IntSurf_Transition::operator new size_t  size  )  [inline]
 

void* IntSurf_Transition::operator new size_t  ,
void *  anAddress
[inline]
 

void IntSurf_Transition::SetValue  )  [inline]
 

void IntSurf_Transition::SetValue const Standard_Boolean  Tangent,
const IntSurf_Situation  Situ,
const Standard_Boolean  Oppos
[inline]
 

void IntSurf_Transition::SetValue const Standard_Boolean  Tangent,
const IntSurf_TypeTrans  Type
[inline]
 

IntSurf_Situation IntSurf_Transition::Situation  )  const [inline]
 

IntSurf_TypeTrans IntSurf_Transition::TransitionType  )  const [inline]
 


Field Documentation

Standard_Boolean IntSurf_Transition::oppos [private]
 

IntSurf_Situation IntSurf_Transition::situat [private]
 

Standard_Boolean IntSurf_Transition::tangent [private]
 

IntSurf_TypeTrans IntSurf_Transition::typetra [private]
 


The documentation for this class was generated from the following files:
Generated on Mon Aug 25 13:42:19 2008 for OpenCASCADE by  doxygen 1.4.1