Open CASCADE Technology  7.7.0.dev
Public Member Functions

TopTrans_CurveTransition Class Reference

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

#include <TopTrans_CurveTransition.hxx>

Public Member Functions

 TopTrans_CurveTransition ()
 Create an empty Curve Transition. More...
 
void Reset (const gp_Dir &Tgt, const gp_Dir &Norm, const Standard_Real Curv)
 Initialize a Transition with the local description of a Curve. More...
 
void Reset (const gp_Dir &Tgt)
 Initialize a Transition with the local description of a straight line. More...
 
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. More...
 
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. More...
 
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. More...
 

Detailed Description

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 :

Constructor & Destructor Documentation

◆ TopTrans_CurveTransition()

TopTrans_CurveTransition::TopTrans_CurveTransition ( )

Create an empty Curve Transition.

Member Function Documentation

◆ Compare()

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 
)

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.

◆ Reset() [1/2]

void TopTrans_CurveTransition::Reset ( const gp_Dir Tgt)

Initialize a Transition with the local description of a straight line.

◆ Reset() [2/2]

void TopTrans_CurveTransition::Reset ( const gp_Dir Tgt,
const gp_Dir Norm,
const Standard_Real  Curv 
)

Initialize a Transition with the local description of a Curve.

◆ StateAfter()

TopAbs_State TopTrans_CurveTransition::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.

◆ StateBefore()

TopAbs_State TopTrans_CurveTransition::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.


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