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

ModelingAlgorithms
TKFeat
LocOpe


LocOpe_CSIntersector Class Reference

This class provides the intersection between a set
of axis or a circle and the faces of a shape. The
intersection points are sorted in increasing
parameter along each axis or circle.
.

#include <LocOpe_CSIntersector.hxx>


Public Member Functions

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)
 LocOpe_CSIntersector ()
 Empty constructor.
.
 LocOpe_CSIntersector (const TopoDS_Shape &S)
 Creates and performs the intersection betwwen
<ax1> and <s>.
.
Standard_EXPORT void Init (const TopoDS_Shape &S)
 Performs the intersection between <Ax1 and <s>.
.
Standard_EXPORT void Perform (const LocOpe_SequenceOfLin &Slin)
Standard_EXPORT void Perform (const LocOpe_SequenceOfCirc &Scir)
Standard_EXPORT void Perform (const TColGeom_SequenceOfCurve &Scur)
Standard_Boolean IsDone () const
 Returns <standard_true> if the intersection has
been done.
.
Standard_EXPORT Standard_Integer NbPoints (const Standard_Integer I) const
 Returns the number of intersection point on the
element of range .
.

Standard_EXPORT const LocOpe_PntFacePoint (const Standard_Integer I, const Standard_Integer Index) const
 Returns the intersection point of range <index> on
element of range . The points are sorted in
increasing order of parameter along the axis.
.

Standard_EXPORT Standard_Boolean LocalizeAfter (const Standard_Integer I, const Standard_Real From, const Standard_Real Tol, TopAbs_Orientation &Or, Standard_Integer &IndFrom, Standard_Integer &IndTo) const
 On the element of range , searches the first
intersection point located after the parameter
<from>, wich orientation is not TopAbs_EXTERNAL.
If found, returns <standard_true>. <or> contains
the orientation of the point, <indfrom> and
<indto> represents the interval of index in the
sequence of intersection point corresponding to
the point. (IndFrom <= IndTo). <tol> is used to
determine if 2 parameters are equal.

Otherwise, returns <standard_false>.
.

Standard_EXPORT Standard_Boolean LocalizeBefore (const Standard_Integer I, const Standard_Real From, const Standard_Real Tol, TopAbs_Orientation &Or, Standard_Integer &IndFrom, Standard_Integer &IndTo) const
 On the element of range , searches the first
intersection point located before the parameter
<from>, wich orientation is not TopAbs_EXTERNAL.
If found, returns <standard_true>. <or> contains
the orientation of the point, <indfrom> and
<indto> represents the interval of index in the
sequence of intersection point corresponding to
the point (IndFrom <= IndTo). <tol> is used to
determine if 2 parameters are equal.

Otherwise, returns <standard_false>.
.

Standard_EXPORT Standard_Boolean LocalizeAfter (const Standard_Integer I, const Standard_Integer FromInd, const Standard_Real Tol, TopAbs_Orientation &Or, Standard_Integer &IndFrom, Standard_Integer &IndTo) const
 On the element of range , searches the first
intersection point located after the index
<fromind> ( >= FromInd + 1), wich orientation is
not TopAbs_EXTERNAL. If found, returns
<standard_true>. <or> contains the orientation of
the point, <indfrom> and <indto> represents the
interval of index in the sequence of intersection
point corresponding to the point. (IndFrom <=
IndTo). <tol> is used to determine if 2 parameters
are equal.

Otherwise, returns <standard_false>.
.

Standard_EXPORT Standard_Boolean LocalizeBefore (const Standard_Integer I, const Standard_Integer FromInd, const Standard_Real Tol, TopAbs_Orientation &Or, Standard_Integer &IndFrom, Standard_Integer &IndTo) const
 On the element of range , searches the first
intersection point located before the index
<fromind> ( <= FromInd -1), wich orientation is
not TopAbs_EXTERNAL. If found, returns
<standard_true>. <or> contains the orientation of
the point, <indfrom> and <indto> represents the
interval of index in the sequence of intersection
point corresponding to the point (IndFrom <=
IndTo). <tol> is used to determine if 2 parameters
are equal.

Otherwise, returns <standard_false>.
.

Standard_EXPORT void Destroy ()
 ~LocOpe_CSIntersector ()

Private Attributes

Standard_Boolean myDone
TopoDS_Shape myShape
Standard_Address myPoints
Standard_Integer myNbelem


Constructor & Destructor Documentation

LocOpe_CSIntersector::LocOpe_CSIntersector  )  [inline]
 

LocOpe_CSIntersector::LocOpe_CSIntersector const TopoDS_Shape &  S  )  [inline]
 

LocOpe_CSIntersector::~LocOpe_CSIntersector  )  [inline]
 


Member Function Documentation

Standard_EXPORT void LocOpe_CSIntersector::Destroy  ) 
 

Standard_EXPORT void LocOpe_CSIntersector::Init const TopoDS_Shape &  S  ) 
 

Standard_Boolean LocOpe_CSIntersector::IsDone  )  const [inline]
 

Standard_EXPORT Standard_Boolean LocOpe_CSIntersector::LocalizeAfter const Standard_Integer  I,
const Standard_Integer  FromInd,
const Standard_Real  Tol,
TopAbs_Orientation &  Or,
Standard_Integer &  IndFrom,
Standard_Integer &  IndTo
const
 

Standard_EXPORT Standard_Boolean LocOpe_CSIntersector::LocalizeAfter const Standard_Integer  I,
const Standard_Real  From,
const Standard_Real  Tol,
TopAbs_Orientation &  Or,
Standard_Integer &  IndFrom,
Standard_Integer &  IndTo
const
 

Standard_EXPORT Standard_Boolean LocOpe_CSIntersector::LocalizeBefore const Standard_Integer  I,
const Standard_Integer  FromInd,
const Standard_Real  Tol,
TopAbs_Orientation &  Or,
Standard_Integer &  IndFrom,
Standard_Integer &  IndTo
const
 

Standard_EXPORT Standard_Boolean LocOpe_CSIntersector::LocalizeBefore const Standard_Integer  I,
const Standard_Real  From,
const Standard_Real  Tol,
TopAbs_Orientation &  Or,
Standard_Integer &  IndFrom,
Standard_Integer &  IndTo
const
 

Standard_EXPORT Standard_Integer LocOpe_CSIntersector::NbPoints const Standard_Integer  I  )  const
 

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

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

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

Standard_EXPORT void LocOpe_CSIntersector::Perform const TColGeom_SequenceOfCurve &  Scur  ) 
 

Standard_EXPORT void LocOpe_CSIntersector::Perform const LocOpe_SequenceOfCirc Scir  ) 
 

Standard_EXPORT void LocOpe_CSIntersector::Perform const LocOpe_SequenceOfLin Slin  ) 
 

Standard_EXPORT const LocOpe_PntFace& LocOpe_CSIntersector::Point const Standard_Integer  I,
const Standard_Integer  Index
const
 


Field Documentation

Standard_Boolean LocOpe_CSIntersector::myDone [private]
 

Standard_Integer LocOpe_CSIntersector::myNbelem [private]
 

Standard_Address LocOpe_CSIntersector::myPoints [private]
 

TopoDS_Shape LocOpe_CSIntersector::myShape [private]
 


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