Open CASCADE Technology 6.6.0
|
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 :
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 straigth 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. |
TopTrans_CurveTransition::TopTrans_CurveTransition | ( | ) |
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 | ||
) |
void TopTrans_CurveTransition::Reset | ( | const gp_Dir & | Tgt | ) |
void TopTrans_CurveTransition::Reset | ( | const gp_Dir & | Tgt, |
const gp_Dir & | Norm, | ||
const Standard_Real | Curv | ||
) |
TopAbs_State TopTrans_CurveTransition::StateAfter | ( | ) | const |
TopAbs_State TopTrans_CurveTransition::StateBefore | ( | ) | const |