Open CASCADE Technology
7.2.0
|
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. More...
#include <IntTools_EdgeFace.hxx>
Public Member Functions | |
IntTools_EdgeFace () | |
Empty Constructor. More... | |
void | SetEdge (const TopoDS_Edge &anEdge) |
Initializes algorithm by the edge anEdge. More... | |
void | SetFace (const TopoDS_Face &aFace) |
Initializes algorithm by the face aFace. More... | |
const TopoDS_Edge & | Edge () const |
Returns edge. More... | |
const TopoDS_Face & | Face () const |
Returns face. More... | |
void | SetDiscretize (const Standard_Integer aDiscret) |
Initializes algorithm by discretization value. More... | |
void | SetDeflection (const Standard_Real aDeflection) |
Initializes algorithm by deflection value. More... | |
void | SetEpsilonT (const Standard_Real anEpsT) |
Initializes algorithm by parameter tolerance. More... | |
void | SetRange (const IntTools_Range &aRange) |
Sets boundaries for edge. The algorithm processes edge inside these boundaries. More... | |
void | SetRange (const Standard_Real aFirst, const Standard_Real aLast) |
Sets boundaries for edge. The algorithm processes edge inside these boundaries. More... | |
void | SetContext (const Handle< IntTools_Context > &theContext) |
Sets the intersecton context. More... | |
const Handle< IntTools_Context > & | Context () const |
Gets the intersecton context. More... | |
void | SetFuzzyValue (const Standard_Real theFuzz) |
Sets the Fuzzy value. More... | |
Standard_Real | FuzzyValue () const |
Returns Fuzzy value. More... | |
void | Perform () |
Launches the process. More... | |
Standard_Boolean | IsDone () const |
Returns true if computation was done successfully, otherwise returns false. More... | |
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. More... | |
const IntTools_SequenceOfCommonPrts & | CommonParts () const |
Returns results. More... | |
const IntTools_Range & | Range () const |
Returns boundaries for edge. More... | |
void | UseQuickCoincidenceCheck (const Standard_Boolean bFlag) |
Sets the flag myQuickCoincidenceCheck. More... | |
Standard_Boolean | IsCoincidenceCheckedQuickly () |
Returns the flag myQuickCoincidenceCheck. More... | |
Protected Member Functions | |
void | CheckData () |
Standard_Boolean | IsProjectable (const Standard_Real t) const |
Standard_Real | DistanceFunction (const Standard_Real t) |
Standard_Integer | MakeType (IntTools_CommonPrt &aCP) |
Standard_Boolean | CheckTouch (const IntTools_CommonPrt &aCP, Standard_Real &aTX) |
Standard_Boolean | CheckTouchVertex (const IntTools_CommonPrt &aCP, Standard_Real &aTX) |
Standard_Boolean | IsCoincident () |
Checks if the edge is in the face really. More... | |
Static Protected Member Functions | |
static Standard_Boolean | IsEqDistance (const gp_Pnt &aP, const BRepAdaptor_Surface &aS, const Standard_Real aT, Standard_Real &aD) |
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.
IntTools_EdgeFace::IntTools_EdgeFace | ( | ) |
Empty Constructor.
|
protected |
|
protected |
|
protected |
const IntTools_SequenceOfCommonPrts& IntTools_EdgeFace::CommonParts | ( | ) | const |
Returns results.
const Handle< IntTools_Context >& IntTools_EdgeFace::Context | ( | ) | const |
Gets the intersecton context.
|
protected |
const TopoDS_Edge& IntTools_EdgeFace::Edge | ( | ) | const |
Returns edge.
Standard_Integer IntTools_EdgeFace::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 TopoDS_Face& IntTools_EdgeFace::Face | ( | ) | const |
Returns face.
|
inline |
Returns Fuzzy value.
|
inline |
Returns the flag myQuickCoincidenceCheck.
|
protected |
Checks if the edge is in the face really.
Standard_Boolean IntTools_EdgeFace::IsDone | ( | ) | const |
Returns true if computation was done successfully, otherwise returns false.
|
staticprotected |
|
protected |
|
protected |
void IntTools_EdgeFace::Perform | ( | ) |
Launches the process.
const IntTools_Range& IntTools_EdgeFace::Range | ( | ) | const |
Returns boundaries for edge.
void IntTools_EdgeFace::SetContext | ( | const Handle< IntTools_Context > & | theContext | ) |
Sets the intersecton context.
void IntTools_EdgeFace::SetDeflection | ( | const Standard_Real | aDeflection | ) |
Initializes algorithm by deflection value.
void IntTools_EdgeFace::SetDiscretize | ( | const Standard_Integer | aDiscret | ) |
Initializes algorithm by discretization value.
void IntTools_EdgeFace::SetEdge | ( | const TopoDS_Edge & | anEdge | ) |
Initializes algorithm by the edge anEdge.
void IntTools_EdgeFace::SetEpsilonT | ( | const Standard_Real | anEpsT | ) |
Initializes algorithm by parameter tolerance.
void IntTools_EdgeFace::SetFace | ( | const TopoDS_Face & | aFace | ) |
Initializes algorithm by the face aFace.
void IntTools_EdgeFace::SetFuzzyValue | ( | const Standard_Real | theFuzz | ) |
Sets the Fuzzy value.
void IntTools_EdgeFace::SetRange | ( | const IntTools_Range & | aRange | ) |
Sets boundaries for edge. The algorithm processes edge inside these boundaries.
void IntTools_EdgeFace::SetRange | ( | const Standard_Real | aFirst, |
const Standard_Real | aLast | ||
) |
Sets boundaries for edge. The algorithm processes edge inside these boundaries.
|
inline |
Sets the flag myQuickCoincidenceCheck.