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

ModelingAlgorithms
TKGeomAlgo
TopTrans


TopTrans_CurveTransition Class Reference

This algorithm is used to compute the transition
of a Curve intersecting a curvilinear boundary.

The geometric elements are described locally at
the intersection point by a second order
development.

The curve is described by the intersection point,
the tangent vector and the curvature.

The boundary is described by a set of curve
elements, a curve element is either :

- A curve.

- A curve and an orientation called a half-curve,
the boundary of the curve is before or after the
intersection point depending on the orientation.

.

#include <TopTrans_CurveTransition.hxx>


Public Member Functions

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)
Standard_EXPORT TopTrans_CurveTransition ()
 Create an empty Curve Transition.
.
Standard_EXPORT void Reset (const gp_Dir &Tgt, const gp_Dir &Norm, const Standard_Real Curv)
 Initialize a Transition with the local description
of a Curve.
.
Standard_EXPORT void Reset (const gp_Dir &Tgt)
 Initialize a Transition with the local description
of a straigth line.
.
Standard_EXPORT void Compare (const Standard_Real Tole, const gp_Dir &Tang, const gp_Dir &Norm, const Standard_Real Curv, const TopAbs_Orientation S, const TopAbs_Orientation Or)
 Add a curve element to the boundary. If Or is
REVERSED the curve is before the intersection,
else if Or is FORWARD the curv is after the
intersection and if Or is INTERNAL the
intersection is in the middle of the curv.
.
Standard_EXPORT TopAbs_State StateBefore () const
 returns the state of the curve before the
intersection, this is the position relative to the
boundary of a point very close to the intersection
on the negative side of the tangent.

Standard_EXPORT TopAbs_State StateAfter () const
 returns the state of the curve after the
intersection, this is the position relative to the
boundary of a point very close to the intersection
on the positive side of the tangent.


Private Member Functions

Standard_EXPORT Standard_Boolean IsBefore (const Standard_Real Tole, const Standard_Real Angl, const gp_Dir &Nor1, const Standard_Real Cur1, const gp_Dir &Nor2, const Standard_Real Cur2) const
 Compare two curvature and return true if N1,C1 is
before N2,C2 in the edge orientation
.
Standard_EXPORT Standard_Integer Compare (const Standard_Real Ang1, const Standard_Real Ang2, const Standard_Real Tole) const
 Compare two angles at tolerance Tole
.

Private Attributes

gp_Dir myTgt
gp_Dir myNorm
Standard_Real myCurv
Standard_Boolean Init
gp_Dir TgtFirst
gp_Dir NormFirst
Standard_Real CurvFirst
TopAbs_Orientation TranFirst
gp_Dir TgtLast
gp_Dir NormLast
Standard_Real CurvLast
TopAbs_Orientation TranLast


Constructor & Destructor Documentation

Standard_EXPORT TopTrans_CurveTransition::TopTrans_CurveTransition  ) 
 


Member Function Documentation

Standard_EXPORT Standard_Integer TopTrans_CurveTransition::Compare const Standard_Real  Ang1,
const Standard_Real  Ang2,
const Standard_Real  Tole
const [private]
 

Standard_EXPORT void TopTrans_CurveTransition::Compare const Standard_Real  Tole,
const gp_Dir &  Tang,
const gp_Dir &  Norm,
const Standard_Real  Curv,
const TopAbs_Orientation  S,
const TopAbs_Orientation  Or
 

Standard_EXPORT Standard_Boolean TopTrans_CurveTransition::IsBefore const Standard_Real  Tole,
const Standard_Real  Angl,
const gp_Dir &  Nor1,
const Standard_Real  Cur1,
const gp_Dir &  Nor2,
const Standard_Real  Cur2
const [private]
 

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

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

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

Standard_EXPORT void TopTrans_CurveTransition::Reset const gp_Dir &  Tgt  ) 
 

Standard_EXPORT void TopTrans_CurveTransition::Reset const gp_Dir &  Tgt,
const gp_Dir &  Norm,
const Standard_Real  Curv
 

Standard_EXPORT TopAbs_State TopTrans_CurveTransition::StateAfter  )  const
 

Standard_EXPORT TopAbs_State TopTrans_CurveTransition::StateBefore  )  const
 


Field Documentation

Standard_Real TopTrans_CurveTransition::CurvFirst [private]
 

Standard_Real TopTrans_CurveTransition::CurvLast [private]
 

Standard_Boolean TopTrans_CurveTransition::Init [private]
 

Standard_Real TopTrans_CurveTransition::myCurv [private]
 

gp_Dir TopTrans_CurveTransition::myNorm [private]
 

gp_Dir TopTrans_CurveTransition::myTgt [private]
 

gp_Dir TopTrans_CurveTransition::NormFirst [private]
 

gp_Dir TopTrans_CurveTransition::NormLast [private]
 

gp_Dir TopTrans_CurveTransition::TgtFirst [private]
 

gp_Dir TopTrans_CurveTransition::TgtLast [private]
 

TopAbs_Orientation TopTrans_CurveTransition::TranFirst [private]
 

TopAbs_Orientation TopTrans_CurveTransition::TranLast [private]
 


The documentation for this class was generated from the following file:
Generated on Mon Aug 25 13:43:07 2008 for OpenCASCADE by  doxygen 1.4.1