Open CASCADE Technology  7.1.0.beta
Public Member Functions

IntTools_BeanFaceIntersector Class Reference

The class BeanFaceIntersector computes ranges of parameters on the curve of a bean(part of edge) that bound the parts of bean which are on the surface of a face according to edge and face tolerances. Warning: The real boundaries of the face are not taken into account, Most of the result parts of the bean lays only inside the region of the surface, which includes the inside of the face. And the parts which are out of this region can be excluded from the result. More...

#include <IntTools_BeanFaceIntersector.hxx>

Public Member Functions

 IntTools_BeanFaceIntersector ()
 
 IntTools_BeanFaceIntersector (const TopoDS_Edge &theEdge, const TopoDS_Face &theFace)
 Initializes the algorithm. More...
 
 IntTools_BeanFaceIntersector (const BRepAdaptor_Curve &theCurve, const BRepAdaptor_Surface &theSurface, const Standard_Real theBeanTolerance, const Standard_Real theFaceTolerance)
 Initializes the algorithm. More...
 
 IntTools_BeanFaceIntersector (const BRepAdaptor_Curve &theCurve, const BRepAdaptor_Surface &theSurface, const Standard_Real theFirstParOnCurve, const Standard_Real theLastParOnCurve, const Standard_Real theUMinParameter, const Standard_Real theUMaxParameter, const Standard_Real theVMinParameter, const Standard_Real theVMaxParameter, const Standard_Real theBeanTolerance, const Standard_Real theFaceTolerance)
 Initializes the algorithm theUMinParameter, ... are used for optimization purposes. More...
 
void Init (const TopoDS_Edge &theEdge, const TopoDS_Face &theFace)
 Initializes the algorithm. More...
 
void Init (const BRepAdaptor_Curve &theCurve, const BRepAdaptor_Surface &theSurface, const Standard_Real theBeanTolerance, const Standard_Real theFaceTolerance)
 Initializes the algorithm. More...
 
void Init (const BRepAdaptor_Curve &theCurve, const BRepAdaptor_Surface &theSurface, const Standard_Real theFirstParOnCurve, const Standard_Real theLastParOnCurve, const Standard_Real theUMinParameter, const Standard_Real theUMaxParameter, const Standard_Real theVMinParameter, const Standard_Real theVMaxParameter, const Standard_Real theBeanTolerance, const Standard_Real theFaceTolerance)
 Initializes the algorithm theUMinParameter, ... are used for optimization purposes. More...
 
void SetContext (const Handle< IntTools_Context > &theContext)
 Sets the intersecton context. More...
 
const Handle< IntTools_Context > & Context () const
 Gets the intersecton context. More...
 
void SetBeanParameters (const Standard_Real theFirstParOnCurve, const Standard_Real theLastParOnCurve)
 Set restrictions for curve. More...
 
void SetSurfaceParameters (const Standard_Real theUMinParameter, const Standard_Real theUMaxParameter, const Standard_Real theVMinParameter, const Standard_Real theVMaxParameter)
 Set restrictions for surface. More...
 
void Perform ()
 Launches the algorithm. More...
 
Standard_Boolean IsDone () const
 
const IntTools_SequenceOfRangesResult () const
 
void Result (IntTools_SequenceOfRanges &theResults) const
 

Detailed Description

The class BeanFaceIntersector computes ranges of parameters on the curve of a bean(part of edge) that bound the parts of bean which are on the surface of a face according to edge and face tolerances. Warning: The real boundaries of the face are not taken into account, Most of the result parts of the bean lays only inside the region of the surface, which includes the inside of the face. And the parts which are out of this region can be excluded from the result.

Constructor & Destructor Documentation

IntTools_BeanFaceIntersector::IntTools_BeanFaceIntersector ( )
IntTools_BeanFaceIntersector::IntTools_BeanFaceIntersector ( const TopoDS_Edge theEdge,
const TopoDS_Face theFace 
)

Initializes the algorithm.

Warning: The parts of the edge which are on the surface of the face and belong to the whole in the face (if there is) is considered as result

IntTools_BeanFaceIntersector::IntTools_BeanFaceIntersector ( const BRepAdaptor_Curve theCurve,
const BRepAdaptor_Surface theSurface,
const Standard_Real  theBeanTolerance,
const Standard_Real  theFaceTolerance 
)

Initializes the algorithm.

IntTools_BeanFaceIntersector::IntTools_BeanFaceIntersector ( const BRepAdaptor_Curve theCurve,
const BRepAdaptor_Surface theSurface,
const Standard_Real  theFirstParOnCurve,
const Standard_Real  theLastParOnCurve,
const Standard_Real  theUMinParameter,
const Standard_Real  theUMaxParameter,
const Standard_Real  theVMinParameter,
const Standard_Real  theVMaxParameter,
const Standard_Real  theBeanTolerance,
const Standard_Real  theFaceTolerance 
)

Initializes the algorithm theUMinParameter, ... are used for optimization purposes.

Member Function Documentation

const Handle< IntTools_Context >& IntTools_BeanFaceIntersector::Context ( ) const

Gets the intersecton context.

void IntTools_BeanFaceIntersector::Init ( const TopoDS_Edge theEdge,
const TopoDS_Face theFace 
)

Initializes the algorithm.

Warning: The parts of the edge which are on the surface of the face and belong to the whole in the face (if there is) is considered as result

void IntTools_BeanFaceIntersector::Init ( const BRepAdaptor_Curve theCurve,
const BRepAdaptor_Surface theSurface,
const Standard_Real  theBeanTolerance,
const Standard_Real  theFaceTolerance 
)

Initializes the algorithm.

void IntTools_BeanFaceIntersector::Init ( const BRepAdaptor_Curve theCurve,
const BRepAdaptor_Surface theSurface,
const Standard_Real  theFirstParOnCurve,
const Standard_Real  theLastParOnCurve,
const Standard_Real  theUMinParameter,
const Standard_Real  theUMaxParameter,
const Standard_Real  theVMinParameter,
const Standard_Real  theVMaxParameter,
const Standard_Real  theBeanTolerance,
const Standard_Real  theFaceTolerance 
)

Initializes the algorithm theUMinParameter, ... are used for optimization purposes.

Standard_Boolean IntTools_BeanFaceIntersector::IsDone ( ) const
void IntTools_BeanFaceIntersector::Perform ( )

Launches the algorithm.

const IntTools_SequenceOfRanges& IntTools_BeanFaceIntersector::Result ( ) const
void IntTools_BeanFaceIntersector::Result ( IntTools_SequenceOfRanges theResults) const
void IntTools_BeanFaceIntersector::SetBeanParameters ( const Standard_Real  theFirstParOnCurve,
const Standard_Real  theLastParOnCurve 
)

Set restrictions for curve.

void IntTools_BeanFaceIntersector::SetContext ( const Handle< IntTools_Context > &  theContext)

Sets the intersecton context.

void IntTools_BeanFaceIntersector::SetSurfaceParameters ( const Standard_Real  theUMinParameter,
const Standard_Real  theUMaxParameter,
const Standard_Real  theVMinParameter,
const Standard_Real  theVMaxParameter 
)

Set restrictions for surface.


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