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

ModelingAlgorithms
TKFeat
LocOpe


LocOpe_CurveShapeIntersector Class Reference

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

#include <LocOpe_CurveShapeIntersector.hxx>


Public Member Functions

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)
 LocOpe_CurveShapeIntersector ()
 Empty constructor.
.
 LocOpe_CurveShapeIntersector (const gp_Ax1 &Axis, const TopoDS_Shape &S)
 Creates and performs the intersection betwwen
<ax1> and <s>.
.
 LocOpe_CurveShapeIntersector (const gp_Circ &C, const TopoDS_Shape &S)
 Creates and performs yte intersection betwwen
<c> and <s>.
.
Standard_EXPORT void Init (const gp_Ax1 &Axis, const TopoDS_Shape &S)
 Performs the intersection between <Ax1 and <s>.
.
Standard_EXPORT void Init (const gp_Circ &C, const TopoDS_Shape &S)
 Performs the intersection between <Ax1 and <s>.
.
Standard_Boolean IsDone () const
 Returns <standard_true> if the intersection has
been done.
.
Standard_Integer NbPoints () const
 Returns the number of intersection point.
.
const LocOpe_PntFacePoint (const Standard_Integer Index) const
 Returns the intersection point of range <index>.
The points are sorted in increasing order of
parameter along the axis.
.
Standard_EXPORT Standard_Boolean LocalizeAfter (const Standard_Real From, TopAbs_Orientation &Or, Standard_Integer &IndFrom, Standard_Integer &IndTo) const
 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).

Otherwise, returns <standard_false>.
.
Standard_EXPORT Standard_Boolean LocalizeBefore (const Standard_Real From, TopAbs_Orientation &Or, Standard_Integer &IndFrom, Standard_Integer &IndTo) const
 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).

Otherwise, returns <standard_false>.
.
Standard_EXPORT Standard_Boolean LocalizeAfter (const Standard_Integer FromInd, TopAbs_Orientation &Or, Standard_Integer &IndFrom, Standard_Integer &IndTo) const
 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).

Otherwise, returns <standard_false>.
.
Standard_EXPORT Standard_Boolean LocalizeBefore (const Standard_Integer FromInd, TopAbs_Orientation &Or, Standard_Integer &IndFrom, Standard_Integer &IndTo) const
 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).

Otherwise, returns <standard_false>.
.

Private Attributes

Standard_Boolean myDone
LocOpe_SequenceOfPntFace myPoints


Constructor & Destructor Documentation

LocOpe_CurveShapeIntersector::LocOpe_CurveShapeIntersector  )  [inline]
 

LocOpe_CurveShapeIntersector::LocOpe_CurveShapeIntersector const gp_Ax1 &  Axis,
const TopoDS_Shape &  S
[inline]
 

LocOpe_CurveShapeIntersector::LocOpe_CurveShapeIntersector const gp_Circ &  C,
const TopoDS_Shape &  S
[inline]
 


Member Function Documentation

Standard_EXPORT void LocOpe_CurveShapeIntersector::Init const gp_Circ &  C,
const TopoDS_Shape &  S
 

Standard_EXPORT void LocOpe_CurveShapeIntersector::Init const gp_Ax1 &  Axis,
const TopoDS_Shape &  S
 

Standard_Boolean LocOpe_CurveShapeIntersector::IsDone  )  const [inline]
 

Standard_EXPORT Standard_Boolean LocOpe_CurveShapeIntersector::LocalizeAfter const Standard_Integer  FromInd,
TopAbs_Orientation &  Or,
Standard_Integer &  IndFrom,
Standard_Integer &  IndTo
const
 

Standard_EXPORT Standard_Boolean LocOpe_CurveShapeIntersector::LocalizeAfter const Standard_Real  From,
TopAbs_Orientation &  Or,
Standard_Integer &  IndFrom,
Standard_Integer &  IndTo
const
 

Standard_EXPORT Standard_Boolean LocOpe_CurveShapeIntersector::LocalizeBefore const Standard_Integer  FromInd,
TopAbs_Orientation &  Or,
Standard_Integer &  IndFrom,
Standard_Integer &  IndTo
const
 

Standard_EXPORT Standard_Boolean LocOpe_CurveShapeIntersector::LocalizeBefore const Standard_Real  From,
TopAbs_Orientation &  Or,
Standard_Integer &  IndFrom,
Standard_Integer &  IndTo
const
 

Standard_Integer LocOpe_CurveShapeIntersector::NbPoints  )  const [inline]
 

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

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

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

const LocOpe_PntFace & LocOpe_CurveShapeIntersector::Point const Standard_Integer  Index  )  const [inline]
 


Field Documentation

Standard_Boolean LocOpe_CurveShapeIntersector::myDone [private]
 

LocOpe_SequenceOfPntFace LocOpe_CurveShapeIntersector::myPoints [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