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>
|
| TopTrans_SurfaceTransition () |
| Create an empty Surface Transition. More...
|
|
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". More...
|
|
void | Reset (const gp_Dir &Tgt, const gp_Dir &Norm) |
| Initialize a Surface Transition with the local description of a straight line. More...
|
|
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. More...
|
|
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. More...
|
|
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. More...
|
|
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. More...
|
|
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.
- its support surface,
- an orientation defining its matter side. The geometric elements are described locally at the intersection point by a second order development. A surface is described by the normal vector, the principal directions and the principal curvatures. A curve is described by the tangent, the normal and the curvature. The algorithm keeps track of the two faces elements closest to the part of the curve "before" and "after" the intersection, these two elements are updated for each new face. The position of the curve can be computed when at least one surface element has been given, this position is "In","Out" or "On" for the part of the curve "Before" or "After" the intersection.
TopTrans_SurfaceTransition::TopTrans_SurfaceTransition |
( |
| ) |
|
Create an empty Surface Transition.
Add a face element to the boundary.
- S defines topological orientation for the face : S FORWARD means: along the intersection curve on the reference surface, transition states while crossing the face are OUT,IN. S REVERSED means states are IN,OUT. S INTERNAL means states are IN,IN.
- O defines curve's position on face : O FORWARD means the face is before the intersection O REVERSED means the face is AFTER O INTERNAL means the curve intersection is in the face. PREQUESITORY : Norm oriented OUTSIDE "geometric matter"
Add a plane or a cylindric face to the boundary.
Initialize a Surface Transition with the local description of the intersection curve and of the reference surface. PREQUESITORY : Norm oriented OUTSIDE "geometric matter".
void TopTrans_SurfaceTransition::Reset |
( |
const gp_Dir & |
Tgt, |
|
|
const gp_Dir & |
Norm |
|
) |
| |
Initialize a Surface Transition with the local description of a straight line.
TopAbs_State TopTrans_SurfaceTransition::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.
TopAbs_State TopTrans_SurfaceTransition::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.
The documentation for this class was generated from the following file: