OCC Main Page | ModelingAlgorithms | Toolkits | Packages | Class Hierarchy | Data Structures | File List | Data Fields | Globals

ModelingAlgorithms
TKBO
IntTools


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

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)
Standard_EXPORT IntTools_BeanBeanIntersector ()
Standard_EXPORT IntTools_BeanBeanIntersector (const TopoDS_Edge &theEdge1, const TopoDS_Edge &theEdge2)
 Initializes the algorithm
.
Standard_EXPORT IntTools_BeanBeanIntersector (const BRepAdaptor_Curve &theCurve1, const BRepAdaptor_Curve &theCurve2, const Standard_Real theBeanTolerance1, const Standard_Real theBeanTolerance2)
 Initializes the algorithm
.
Standard_EXPORT 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
.
Standard_EXPORT void Init (const TopoDS_Edge &theEdge1, const TopoDS_Edge &theEdge2)
 Initializes the algorithm
.
Standard_EXPORT void Init (const BRepAdaptor_Curve &theCurve1, const BRepAdaptor_Curve &theCurve2, const Standard_Real theBeanTolerance1, const Standard_Real theBeanTolerance2)
 Initializes the algorithm
.
Standard_EXPORT 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
.
Standard_EXPORT 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
.
Standard_EXPORT void Perform ()
 Launches the algorithm

.
Standard_Boolean IsDone () const
 Returns true if the computations was successfull
otherwise returns false
.
Standard_EXPORT const IntTools_SequenceOfRangesResult () const
Standard_EXPORT void Result (IntTools_SequenceOfRanges &theResults) const

Private Member Functions

Standard_EXPORT void ComputeRoughIntersection ()
Standard_EXPORT Standard_Boolean FastComputeIntersection ()
Standard_EXPORT void ComputeUsingExtrema (const IntTools_Range &theRange2)
Standard_EXPORT void ComputeNearRangeBoundaries (const IntTools_Range &theRange2)
Standard_EXPORT void ComputeRangeFromStartPoint (const Standard_Boolean ToIncreaseParameter, const Standard_Real theParameter, const Standard_Integer theIndex, const Standard_Real theParameter2, const IntTools_Range &theRange2)
Standard_EXPORT Standard_Real Distance (const Standard_Real theArg, Standard_Real &theArgOnOtherBean)

Private Attributes

BRepAdaptor_Curve myCurve1
BRepAdaptor_Curve myCurve2
Handle_Geom_Curve myTrsfCurve1
Handle_Geom_Curve myTrsfCurve2
Standard_Real myFirstParameter1
Standard_Real myLastParameter1
Standard_Real myFirstParameter2
Standard_Real myLastParameter2
Standard_Real myBeanTolerance1
Standard_Real myBeanTolerance2
Standard_Real myCurveResolution1
Standard_Real myCriteria
GeomAPI_ProjectPointOnCurve myProjector
IntTools_MarkedRangeSet myRangeManager
Standard_Real myDeflection
IntTools_SequenceOfRanges myResults
Standard_Boolean myIsDone


Constructor & Destructor Documentation

Standard_EXPORT IntTools_BeanBeanIntersector::IntTools_BeanBeanIntersector  ) 
 

Standard_EXPORT IntTools_BeanBeanIntersector::IntTools_BeanBeanIntersector const TopoDS_Edge &  theEdge1,
const TopoDS_Edge &  theEdge2
 

Standard_EXPORT IntTools_BeanBeanIntersector::IntTools_BeanBeanIntersector const BRepAdaptor_Curve &  theCurve1,
const BRepAdaptor_Curve &  theCurve2,
const Standard_Real  theBeanTolerance1,
const Standard_Real  theBeanTolerance2
 

Standard_EXPORT 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

Standard_EXPORT void IntTools_BeanBeanIntersector::ComputeNearRangeBoundaries const IntTools_Range theRange2  )  [private]
 

Standard_EXPORT void IntTools_BeanBeanIntersector::ComputeRangeFromStartPoint const Standard_Boolean  ToIncreaseParameter,
const Standard_Real  theParameter,
const Standard_Integer  theIndex,
const Standard_Real  theParameter2,
const IntTools_Range theRange2
[private]
 

Standard_EXPORT void IntTools_BeanBeanIntersector::ComputeRoughIntersection  )  [private]
 

Standard_EXPORT void IntTools_BeanBeanIntersector::ComputeUsingExtrema const IntTools_Range theRange2  )  [private]
 

Standard_EXPORT Standard_Real IntTools_BeanBeanIntersector::Distance const Standard_Real  theArg,
Standard_Real &  theArgOnOtherBean
[private]
 

Standard_EXPORT Standard_Boolean IntTools_BeanBeanIntersector::FastComputeIntersection  )  [private]
 

Standard_EXPORT 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
 

Standard_EXPORT void IntTools_BeanBeanIntersector::Init const BRepAdaptor_Curve &  theCurve1,
const BRepAdaptor_Curve &  theCurve2,
const Standard_Real  theBeanTolerance1,
const Standard_Real  theBeanTolerance2
 

Standard_EXPORT void IntTools_BeanBeanIntersector::Init const TopoDS_Edge &  theEdge1,
const TopoDS_Edge &  theEdge2
 

Standard_Boolean IntTools_BeanBeanIntersector::IsDone  )  const [inline]
 

void IntTools_BeanBeanIntersector::operator delete void *  anAddress  )  [inline]
 

void* IntTools_BeanBeanIntersector::operator new size_t  size  )  [inline]
 

void* IntTools_BeanBeanIntersector::operator new size_t  ,
void *  anAddress
[inline]
 

Standard_EXPORT void IntTools_BeanBeanIntersector::Perform  ) 
 

Standard_EXPORT void IntTools_BeanBeanIntersector::Result IntTools_SequenceOfRanges theResults  )  const
 

Standard_EXPORT const IntTools_SequenceOfRanges& IntTools_BeanBeanIntersector::Result  )  const
 

Standard_EXPORT void IntTools_BeanBeanIntersector::SetBeanParameters const Standard_Boolean  IsFirstBean,
const Standard_Real  theFirstParOnCurve,
const Standard_Real  theLastParOnCurve
 


Field Documentation

Standard_Real IntTools_BeanBeanIntersector::myBeanTolerance1 [private]
 

Standard_Real IntTools_BeanBeanIntersector::myBeanTolerance2 [private]
 

Standard_Real IntTools_BeanBeanIntersector::myCriteria [private]
 

BRepAdaptor_Curve IntTools_BeanBeanIntersector::myCurve1 [private]
 

BRepAdaptor_Curve IntTools_BeanBeanIntersector::myCurve2 [private]
 

Standard_Real IntTools_BeanBeanIntersector::myCurveResolution1 [private]
 

Standard_Real IntTools_BeanBeanIntersector::myDeflection [private]
 

Standard_Real IntTools_BeanBeanIntersector::myFirstParameter1 [private]
 

Standard_Real IntTools_BeanBeanIntersector::myFirstParameter2 [private]
 

Standard_Boolean IntTools_BeanBeanIntersector::myIsDone [private]
 

Standard_Real IntTools_BeanBeanIntersector::myLastParameter1 [private]
 

Standard_Real IntTools_BeanBeanIntersector::myLastParameter2 [private]
 

GeomAPI_ProjectPointOnCurve IntTools_BeanBeanIntersector::myProjector [private]
 

IntTools_MarkedRangeSet IntTools_BeanBeanIntersector::myRangeManager [private]
 

IntTools_SequenceOfRanges IntTools_BeanBeanIntersector::myResults [private]
 

Handle_Geom_Curve IntTools_BeanBeanIntersector::myTrsfCurve1 [private]
 

Handle_Geom_Curve IntTools_BeanBeanIntersector::myTrsfCurve2 [private]
 


The documentation for this class was generated from the following files:
Generated on Mon Aug 25 13:42:19 2008 for OpenCASCADE by  doxygen 1.4.1