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