Open CASCADE Technology 7.8.2.dev
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.
 
void Reset (const gp_Dir &Tgt, const gp_Dir &Norm, const Standard_Real Curv)
 Initialize a Transition with the local description of a Curve.
 
void Reset (const gp_Dir &Tgt)
 Initialize a Transition with the local description of a straight line.
 
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.
 
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.
 
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.
 

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 :

  • 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.

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: