Open CASCADE Technology
6.5.4
|
The class BeanBeanIntersector computes ranges of parameters on
the curve of a first bean (part of edge) that bounds the parts of bean which
are on the other bean according to tolerance of edges.
#include <IntTools_BeanBeanIntersector.hxx>
Public Member Functions | |
DEFINE_STANDARD_ALLOC | IntTools_BeanBeanIntersector () |
IntTools_BeanBeanIntersector (const TopoDS_Edge &theEdge1, const TopoDS_Edge &theEdge2) | |
Initializes the algorithm | |
IntTools_BeanBeanIntersector (const BRepAdaptor_Curve &theCurve1, const BRepAdaptor_Curve &theCurve2, const Standard_Real theBeanTolerance1, const Standard_Real theBeanTolerance2) | |
Initializes the algorithm | |
IntTools_BeanBeanIntersector (const BRepAdaptor_Curve &theCurve1, const BRepAdaptor_Curve &theCurve2, const Standard_Real theFirstParOnCurve1, const Standard_Real theLastParOnCurve1, const Standard_Real theFirstParOnCurve2, const Standard_Real theLastParOnCurve2, const Standard_Real theBeanTolerance1, const Standard_Real theBeanTolerance2) | |
Initializes the algorithm | |
void | Init (const TopoDS_Edge &theEdge1, const TopoDS_Edge &theEdge2) |
Initializes the algorithm | |
void | Init (const BRepAdaptor_Curve &theCurve1, const BRepAdaptor_Curve &theCurve2, const Standard_Real theBeanTolerance1, const Standard_Real theBeanTolerance2) |
Initializes the algorithm | |
void | Init (const BRepAdaptor_Curve &theCurve1, const BRepAdaptor_Curve &theCurve2, const Standard_Real theFirstParOnCurve1, const Standard_Real theLastParOnCurve1, const Standard_Real theFirstParOnCurve2, const Standard_Real theLastParOnCurve2, const Standard_Real theBeanTolerance1, const Standard_Real theBeanTolerance2) |
Initializes the algorithm | |
void | SetBeanParameters (const Standard_Boolean IsFirstBean, const Standard_Real theFirstParOnCurve, const Standard_Real theLastParOnCurve) |
Sets bounding parameters for first bean if IsFirstBean is true and for second bean if IsFirstBean is false | |
void | Perform () |
Launches the algorithm | |
Standard_Boolean | IsDone () const |
Returns true if the computations was successfull otherwise returns false | |
const IntTools_SequenceOfRanges & | Result () const |
void | Result (IntTools_SequenceOfRanges &theResults) const |
IntTools_BeanBeanIntersector::IntTools_BeanBeanIntersector | ( | const TopoDS_Edge & | theEdge1, |
const TopoDS_Edge & | theEdge2 | ||
) |
IntTools_BeanBeanIntersector::IntTools_BeanBeanIntersector | ( | const BRepAdaptor_Curve & | theCurve1, |
const BRepAdaptor_Curve & | theCurve2, | ||
const Standard_Real | theBeanTolerance1, | ||
const Standard_Real | theBeanTolerance2 | ||
) |
IntTools_BeanBeanIntersector::IntTools_BeanBeanIntersector | ( | const BRepAdaptor_Curve & | theCurve1, |
const BRepAdaptor_Curve & | theCurve2, | ||
const Standard_Real | theFirstParOnCurve1, | ||
const Standard_Real | theLastParOnCurve1, | ||
const Standard_Real | theFirstParOnCurve2, | ||
const Standard_Real | theLastParOnCurve2, | ||
const Standard_Real | theBeanTolerance1, | ||
const Standard_Real | theBeanTolerance2 | ||
) |
void IntTools_BeanBeanIntersector::Init | ( | const TopoDS_Edge & | theEdge1, |
const TopoDS_Edge & | theEdge2 | ||
) |
void IntTools_BeanBeanIntersector::Init | ( | const BRepAdaptor_Curve & | theCurve1, |
const BRepAdaptor_Curve & | theCurve2, | ||
const Standard_Real | theBeanTolerance1, | ||
const Standard_Real | theBeanTolerance2 | ||
) |
void IntTools_BeanBeanIntersector::Init | ( | const BRepAdaptor_Curve & | theCurve1, |
const BRepAdaptor_Curve & | theCurve2, | ||
const Standard_Real | theFirstParOnCurve1, | ||
const Standard_Real | theLastParOnCurve1, | ||
const Standard_Real | theFirstParOnCurve2, | ||
const Standard_Real | theLastParOnCurve2, | ||
const Standard_Real | theBeanTolerance1, | ||
const Standard_Real | theBeanTolerance2 | ||
) |
void IntTools_BeanBeanIntersector::Result | ( | IntTools_SequenceOfRanges & | theResults | ) | const |
void IntTools_BeanBeanIntersector::SetBeanParameters | ( | const Standard_Boolean | IsFirstBean, |
const Standard_Real | theFirstParOnCurve, | ||
const Standard_Real | theLastParOnCurve | ||
) |