Open CASCADE Technology
7.3.0
|
The class provides Edge/Face intersection algorithm to determine common parts between edge and face in 3-d space. Common parts between Edge and Face can be: More...
#include <IntTools_EdgeFace.hxx>
Public Member Functions | |
Constructors | |
IntTools_EdgeFace () | |
Empty Constructor. More... | |
Setters/Getters | |
void | SetEdge (const TopoDS_Edge &theEdge) |
Sets the edge for intersection. More... | |
const TopoDS_Edge & | Edge () const |
Returns the edge. More... | |
void | SetFace (const TopoDS_Face &theFace) |
Sets the face for intersection. More... | |
const TopoDS_Face & | Face () const |
Returns the face. More... | |
void | SetRange (const IntTools_Range &theRange) |
Sets the boundaries for the edge. The algorithm processes edge inside these boundaries. More... | |
void | SetRange (const Standard_Real theFirst, const Standard_Real theLast) |
Sets the boundaries for the edge. The algorithm processes edge inside these boundaries. More... | |
const IntTools_Range & | Range () const |
Returns intersection range of the edge. More... | |
void | SetContext (const Handle< IntTools_Context > &theContext) |
Sets the intersection context. More... | |
const Handle< IntTools_Context > & | Context () const |
Returns the intersection context. More... | |
void | SetFuzzyValue (const Standard_Real theFuzz) |
Sets the Fuzzy value. More... | |
Standard_Real | FuzzyValue () const |
Returns the Fuzzy value. More... | |
void | UseQuickCoincidenceCheck (const Standard_Boolean theFlag) |
Sets the flag for quick coincidence check. It is safe to use the quick check for coincidence only if both of the following conditions are met: More... | |
Standard_Boolean | IsCoincidenceCheckedQuickly () |
Returns the flag myQuickCoincidenceCheck. More... | |
Performing the operation | |
void | Perform () |
Launches the process. More... | |
Checking validity of the intersection | |
Standard_Boolean | IsDone () const |
Returns TRUE if computation was successful. Otherwise returns FALSE. More... | |
Standard_Integer | ErrorStatus () const |
Returns the code of completion: 0 - means successful completion; 1 - the process was not started; 2,3 - invalid source data for the algorithm; 4 - projection failed. More... | |
Obtaining results | |
const IntTools_SequenceOfCommonPrts & | CommonParts () const |
Returns resulting common parts. More... | |
Protected methods performing the intersection | |
static Standard_Boolean | IsEqDistance (const gp_Pnt &aP, const BRepAdaptor_Surface &aS, const Standard_Real aT, Standard_Real &aD) |
Checks if the edge is in the face really. More... | |
void | CheckData () |
Checks if the edge is in the face really. More... | |
Standard_Boolean | IsProjectable (const Standard_Real t) const |
Checks if the edge is in the face really. More... | |
Standard_Real | DistanceFunction (const Standard_Real t) |
Checks if the edge is in the face really. More... | |
Standard_Integer | MakeType (IntTools_CommonPrt &aCP) |
Checks if the edge is in the face really. More... | |
Standard_Boolean | CheckTouch (const IntTools_CommonPrt &aCP, Standard_Real &aTX) |
Checks if the edge is in the face really. More... | |
Standard_Boolean | CheckTouchVertex (const IntTools_CommonPrt &aCP, Standard_Real &aTX) |
Checks if the edge is in the face really. More... | |
Standard_Boolean | IsCoincident () |
Checks if the edge is in the face really. More... | |
The class provides Edge/Face intersection algorithm to determine common parts between edge and face in 3-d space. Common parts between Edge and Face can be:
IntTools_EdgeFace::IntTools_EdgeFace | ( | ) |
Empty Constructor.
|
protected |
Checks if the edge is in the face really.
|
protected |
Checks if the edge is in the face really.
|
protected |
Checks if the edge is in the face really.
|
inline |
Returns resulting common parts.
|
inline |
Returns the intersection context.
|
protected |
Checks if the edge is in the face really.
|
inline |
Returns the edge.
|
inline |
Returns the code of completion: 0 - means successful completion; 1 - the process was not started; 2,3 - invalid source data for the algorithm; 4 - projection failed.
|
inline |
Returns the face.
|
inline |
Returns the Fuzzy value.
|
inline |
Returns the flag myQuickCoincidenceCheck.
|
protected |
Checks if the edge is in the face really.
|
inline |
Returns TRUE if computation was successful. Otherwise returns FALSE.
|
staticprotected |
Checks if the edge is in the face really.
|
protected |
Checks if the edge is in the face really.
|
protected |
Checks if the edge is in the face really.
void IntTools_EdgeFace::Perform | ( | ) |
Launches the process.
|
inline |
Returns intersection range of the edge.
|
inline |
Sets the intersection context.
|
inline |
Sets the edge for intersection.
|
inline |
Sets the face for intersection.
|
inline |
Sets the Fuzzy value.
|
inline |
Sets the boundaries for the edge. The algorithm processes edge inside these boundaries.
|
inline |
Sets the boundaries for the edge. The algorithm processes edge inside these boundaries.
|
inline |
Sets the flag for quick coincidence check. It is safe to use the quick check for coincidence only if both of the following conditions are met: