Open CASCADE Technology
6.5.4
|
The class provides Edge/Face algorithm to determine
common parts between edge and face in 3-d space.
Common parts can be : Vertices or Edges.
#include <IntTools_EdgeFace.hxx>
Public Member Functions | |
DEFINE_STANDARD_ALLOC | IntTools_EdgeFace () |
Empty Constructor | |
void | SetEdge (const TopoDS_Edge &anEdge) |
Initializes algorithm by the edge anEdge | |
void | SetTolE (const Standard_Real aTolEdge1) |
Initializes algorithm by edge tolerance | |
void | SetFace (const TopoDS_Face &aFace) |
Initializes algorithm by the face aFace | |
void | SetTolF (const Standard_Real aTolFace) |
Initializes algorithm by face tolerance | |
void | SetDiscretize (const Standard_Integer aDiscret) |
Initializes algorithm by discretization value | |
void | SetDeflection (const Standard_Real aDeflection) |
Initializes algorithm by deflection value | |
void | SetEpsilonT (const Standard_Real anEpsT) |
Initializes algorithm by parameter tolerance | |
void | SetEpsilonNull (const Standard_Real anEpsNull) |
Initializes algorithm by distance tolerance | |
void | SetRange (const IntTools_Range &aRange) |
Sets boundaries for edge. The algorithm processes edge inside these boundaries. | |
void | SetRange (const Standard_Real aFirst, const Standard_Real aLast) |
Sets boundaries for edge. The algorithm processes edge inside these boundaries. | |
void | SetContext (const Handle< IntTools_Context > &theContext) |
Sets the intersecton context | |
const Handle_IntTools_Context & | Context () const |
Gets the intersecton context | |
void | Perform () |
Launches the process | |
Standard_Boolean | IsDone () const |
Returns true if computation was done successfully, otherwise returns false | |
Standard_Integer | ErrorStatus () const |
Returns code of completion 0 - means successful completion 1 - the process was not started 2,3,4,5 - invalid source data for the algorithm 6 - discretization failed 7 - no projectable ranges found 11 - distance computing error | |
const IntTools_SequenceOfCommonPrts & | CommonParts () const |
Returns results | |
const IntTools_Range & | Range () const |
Returns boundaries for edge | |
Static Public Member Functions | |
static Standard_Boolean | IsEqDistance (const gp_Pnt &aP, const BRepAdaptor_Surface &aS, const Standard_Real aT, Standard_Real &aD) |
const Handle_IntTools_Context& IntTools_EdgeFace::Context | ( | ) | const |
Standard_Boolean IntTools_EdgeFace::IsDone | ( | ) | const |
static Standard_Boolean IntTools_EdgeFace::IsEqDistance | ( | const gp_Pnt & | aP, |
const BRepAdaptor_Surface & | aS, | ||
const Standard_Real | aT, | ||
Standard_Real & | aD | ||
) | [static] |
const IntTools_Range& IntTools_EdgeFace::Range | ( | ) | const |
void IntTools_EdgeFace::SetContext | ( | const Handle< IntTools_Context > & | theContext | ) |
void IntTools_EdgeFace::SetDeflection | ( | const Standard_Real | aDeflection | ) |
void IntTools_EdgeFace::SetDiscretize | ( | const Standard_Integer | aDiscret | ) |
void IntTools_EdgeFace::SetEdge | ( | const TopoDS_Edge & | anEdge | ) |
void IntTools_EdgeFace::SetEpsilonNull | ( | const Standard_Real | anEpsNull | ) |
void IntTools_EdgeFace::SetEpsilonT | ( | const Standard_Real | anEpsT | ) |
void IntTools_EdgeFace::SetFace | ( | const TopoDS_Face & | aFace | ) |
void IntTools_EdgeFace::SetRange | ( | const IntTools_Range & | aRange | ) |
void IntTools_EdgeFace::SetRange | ( | const Standard_Real | aFirst, |
const Standard_Real | aLast | ||
) |
void IntTools_EdgeFace::SetTolE | ( | const Standard_Real | aTolEdge1 | ) |
void IntTools_EdgeFace::SetTolF | ( | const Standard_Real | aTolFace | ) |