Open CASCADE Technology
7.1.0.beta
|
This class provides the intersection of face's underlying surfaces. More...
#include <IntTools_FaceFace.hxx>
Public Member Functions | |
IntTools_FaceFace () | |
Empty constructor. More... | |
void | SetParameters (const Standard_Boolean ApproxCurves, const Standard_Boolean ComputeCurveOnS1, const Standard_Boolean ComputeCurveOnS2, const Standard_Real ApproximationTolerance) |
Modifier. More... | |
void | Perform (const TopoDS_Face &F1, const TopoDS_Face &F2) |
Intersects underliing surfaces of F1 and F2 Use sum of tolerance of F1 and F2 as intersection criteria. More... | |
Standard_Boolean | IsDone () const |
Returns True if the intersection was successful. More... | |
const IntTools_SequenceOfCurves & | Lines () const |
Returns sequence of 3d curves as result of intersection. More... | |
const IntTools_SequenceOfPntOn2Faces & | Points () const |
Returns sequence of 3d curves as result of intersection. More... | |
Standard_Real | TolReached3d () const |
Returns tolerance reached during approximation, and possibly increased to cover more area due to a small angle between surfaces. If approximation was not done, returns zero. More... | |
Standard_Real | TolReal () const |
Returns tolerance reached during approximation, without any increase. If approximation was not done, returns zero. More... | |
Standard_Real | TolReached2d () const |
Returns tolerance reached during approximation. If approximation was not done, returns zero. More... | |
const TopoDS_Face & | Face1 () const |
Returns first of processed faces. More... | |
const TopoDS_Face & | Face2 () const |
Returns second of processed faces. More... | |
Standard_Boolean | TangentFaces () const |
Returns True if faces are tangent. More... | |
void | PrepareLines3D (const Standard_Boolean bToSplit=Standard_True) |
Provides post-processing the result lines. <bToSplit> - the flag. In case of <bToSplit> is true the closed 3D-curves will be splitted on parts. In case of <bToSplit> is false the closed 3D-curves remain untouched. More... | |
void | SetList (IntSurf_ListOfPntOn2S &ListOfPnts) |
void | SetContext (const Handle< IntTools_Context > &aContext) |
Sets the intersecton context. More... | |
void | SetFuzzyValue (const Standard_Real theFuzz) |
Sets the Fuzzy value. More... | |
Standard_Real | FuzzyValue () const |
Returns Fuzzy value. More... | |
const Handle< IntTools_Context > & | Context () const |
Gets the intersecton context. More... | |
Protected Member Functions | |
void | MakeCurve (const Standard_Integer Index, const Handle< Adaptor3d_TopolTool > &D1, const Handle< Adaptor3d_TopolTool > &D2, const Standard_Real theToler) |
void | ComputeTolReached3d () |
Standard_Real | ComputeTolerance () |
This class provides the intersection of face's underlying surfaces.
IntTools_FaceFace::IntTools_FaceFace | ( | ) |
Empty constructor.
|
protected |
|
protected |
const Handle< IntTools_Context >& IntTools_FaceFace::Context | ( | ) | const |
Gets the intersecton context.
const TopoDS_Face& IntTools_FaceFace::Face1 | ( | ) | const |
Returns first of processed faces.
const TopoDS_Face& IntTools_FaceFace::Face2 | ( | ) | const |
Returns second of processed faces.
Standard_Real IntTools_FaceFace::FuzzyValue | ( | ) | const |
Returns Fuzzy value.
Standard_Boolean IntTools_FaceFace::IsDone | ( | ) | const |
Returns True if the intersection was successful.
const IntTools_SequenceOfCurves& IntTools_FaceFace::Lines | ( | ) | const |
Returns sequence of 3d curves as result of intersection.
|
protected |
void IntTools_FaceFace::Perform | ( | const TopoDS_Face & | F1, |
const TopoDS_Face & | F2 | ||
) |
Intersects underliing surfaces of F1 and F2 Use sum of tolerance of F1 and F2 as intersection criteria.
const IntTools_SequenceOfPntOn2Faces& IntTools_FaceFace::Points | ( | ) | const |
Returns sequence of 3d curves as result of intersection.
void IntTools_FaceFace::PrepareLines3D | ( | const Standard_Boolean | bToSplit = Standard_True | ) |
Provides post-processing the result lines. <bToSplit> - the flag. In case of <bToSplit> is true the closed 3D-curves will be splitted on parts. In case of <bToSplit> is false the closed 3D-curves remain untouched.
void IntTools_FaceFace::SetContext | ( | const Handle< IntTools_Context > & | aContext | ) |
Sets the intersecton context.
void IntTools_FaceFace::SetFuzzyValue | ( | const Standard_Real | theFuzz | ) |
Sets the Fuzzy value.
void IntTools_FaceFace::SetList | ( | IntSurf_ListOfPntOn2S & | ListOfPnts | ) |
void IntTools_FaceFace::SetParameters | ( | const Standard_Boolean | ApproxCurves, |
const Standard_Boolean | ComputeCurveOnS1, | ||
const Standard_Boolean | ComputeCurveOnS2, | ||
const Standard_Real | ApproximationTolerance | ||
) |
Modifier.
Standard_Boolean IntTools_FaceFace::TangentFaces | ( | ) | const |
Returns True if faces are tangent.
Standard_Real IntTools_FaceFace::TolReached2d | ( | ) | const |
Returns tolerance reached during approximation. If approximation was not done, returns zero.
Standard_Real IntTools_FaceFace::TolReached3d | ( | ) | const |
Returns tolerance reached during approximation, and possibly increased to cover more area due to a small angle between surfaces. If approximation was not done, returns zero.
Standard_Real IntTools_FaceFace::TolReal | ( | ) | const |
Returns tolerance reached during approximation, without any increase. If approximation was not done, returns zero.