Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
IntTools_BeanBeanIntersector Class Reference

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_SequenceOfRangesResult () const
void Result (IntTools_SequenceOfRanges &theResults) const

Constructor & Destructor Documentation

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 
)

Member Function Documentation

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::SetBeanParameters ( const Standard_Boolean  IsFirstBean,
const Standard_Real  theFirstParOnCurve,
const Standard_Real  theLastParOnCurve 
)

The documentation for this class was generated from the following file: