#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_PntFace & | Point (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 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|