Open CASCADE Technology
6.9.1
|
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 straigth 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... | |
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 :
TopTrans_CurveTransition::TopTrans_CurveTransition | ( | ) |
Create an empty Curve Transition.
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.
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.
void TopTrans_CurveTransition::Reset | ( | const gp_Dir & | Tgt | ) |
Initialize a Transition with the local description of a straigth line.
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.
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.