Open CASCADE Technology
6.5.4
|
This algorithm is used to compute the transition
of a 3D surface intersecting a topological surfacic
boundary on a 3D curve ( intersection curve ).
The boundary is described by a set of faces
each face is described by
More...
#include <TopTrans_SurfaceTransition.hxx>
Public Member Functions | |
DEFINE_STANDARD_ALLOC | TopTrans_SurfaceTransition () |
Create an empty Surface Transition. | |
void | Reset (const gp_Dir &Tgt, const gp_Dir &Norm, const gp_Dir &MaxD, const gp_Dir &MinD, const Standard_Real MaxCurv, const Standard_Real MinCurv) |
Initialize a Surface Transition with the local description of the intersection curve and of the reference surface. PREQUESITORY : Norm oriented OUTSIDE "geometric matter" | |
void | Reset (const gp_Dir &Tgt, const gp_Dir &Norm) |
Initialize a Surface Transition with the local description of a straight line. | |
void | Compare (const Standard_Real Tole, const gp_Dir &Norm, const gp_Dir &MaxD, const gp_Dir &MinD, const Standard_Real MaxCurv, const Standard_Real MinCurv, const TopAbs_Orientation S, const TopAbs_Orientation O) |
Add a face element to the boundary. | |
void | Compare (const Standard_Real Tole, const gp_Dir &Norm, const TopAbs_Orientation S, const TopAbs_Orientation O) |
Add a plane or a cylindric face to the boundary. | |
TopAbs_State | StateBefore () const |
Returns the state of the reference surface before the interference, this is the position relative to the surface of a point very close to the intersection on the negative side of the tangent. | |
TopAbs_State | StateAfter () const |
Returns the state of the reference surface after interference, this is the position relative to the surface of a point very close to the intersection on the positive side of the tangent. | |
Static Public Member Functions | |
static TopAbs_State | GetBefore (const TopAbs_Orientation Tran) |
static TopAbs_State | GetAfter (const TopAbs_Orientation Tran) |
void TopTrans_SurfaceTransition::Compare | ( | const Standard_Real | Tole, |
const gp_Dir & | Norm, | ||
const gp_Dir & | MaxD, | ||
const gp_Dir & | MinD, | ||
const Standard_Real | MaxCurv, | ||
const Standard_Real | MinCurv, | ||
const TopAbs_Orientation | S, | ||
const TopAbs_Orientation | O | ||
) |
- S defines topological orientation for the face : <br> S FORWARD means: along the intersection curve on the <br> reference surface, transition states while crossing <br> the face are OUT,IN. <br> S REVERSED means states are IN,OUT. <br> S INTERNAL means states are IN,IN. <br>
void TopTrans_SurfaceTransition::Compare | ( | const Standard_Real | Tole, |
const gp_Dir & | Norm, | ||
const TopAbs_Orientation | S, | ||
const TopAbs_Orientation | O | ||
) |
static TopAbs_State TopTrans_SurfaceTransition::GetAfter | ( | const TopAbs_Orientation | Tran | ) | [static] |
static TopAbs_State TopTrans_SurfaceTransition::GetBefore | ( | const TopAbs_Orientation | Tran | ) | [static] |
void TopTrans_SurfaceTransition::Reset | ( | const gp_Dir & | Tgt, |
const gp_Dir & | Norm, | ||
const gp_Dir & | MaxD, | ||
const gp_Dir & | MinD, | ||
const Standard_Real | MaxCurv, | ||
const Standard_Real | MinCurv | ||
) |