![]() |
Open CASCADE Technology Reference Manual 8.0.0
|
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. More...
#include <LocOpe_CSIntersector.hxx>
Public Member Functions | |
| LocOpe_CSIntersector () | |
| Empty constructor. | |
| LocOpe_CSIntersector (const TopoDS_Shape &S) | |
| Creates and performs the intersection between <Ax1> and | |
| void | Init (const TopoDS_Shape &S) |
| Performs the intersection between <Ax1 and | |
| void | Perform (const NCollection_Sequence< gp_Lin > &Slin) |
| void | Perform (const NCollection_Sequence< gp_Circ > &Scir) |
| void | Perform (const NCollection_Sequence< occ::handle< Geom_Curve > > &Scur) |
| bool | IsDone () const |
| Returns <true> if the intersection has been done. | |
| int | NbPoints (const int I) const |
| Returns the number of intersection point on the element of range . | |
| const LocOpe_PntFace & | Point (const int I, const int 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. | |
| bool | LocalizeAfter (const int I, const double From, const double Tol, TopAbs_Orientation &Or, int &IndFrom, int &IndTo) const |
| On the element of range , searches the first intersection point located after the parameter <From>, which orientation is not TopAbs_EXTERNAL. If found, returns <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. | |
| bool | LocalizeBefore (const int I, const double From, const double Tol, TopAbs_Orientation &Or, int &IndFrom, int &IndTo) const |
| On the element of range , searches the first intersection point located before the parameter <From>, which orientation is not TopAbs_EXTERNAL. If found, returns <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. | |
| bool | LocalizeAfter (const int I, const int FromInd, const double Tol, TopAbs_Orientation &Or, int &IndFrom, int &IndTo) const |
| On the element of range , searches the first intersection point located after the index <FromInd> ( >= FromInd + 1), which orientation is not TopAbs_EXTERNAL. If found, returns <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. | |
| bool | LocalizeBefore (const int I, const int FromInd, const double Tol, TopAbs_Orientation &Or, int &IndFrom, int &IndTo) const |
| On the element of range , searches the first intersection point located before the index <FromInd> (<= FromInd -1), which orientation is not TopAbs_EXTERNAL. If found, returns <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. | |
| void | Destroy () |
| ~LocOpe_CSIntersector () | |
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.
| LocOpe_CSIntersector::LocOpe_CSIntersector | ( | ) |
Empty constructor.
| LocOpe_CSIntersector::LocOpe_CSIntersector | ( | const TopoDS_Shape & | S | ) |
Creates and performs the intersection between <Ax1> and .
|
inline |
| void LocOpe_CSIntersector::Destroy | ( | ) |
| void LocOpe_CSIntersector::Init | ( | const TopoDS_Shape & | S | ) |
Performs the intersection between <Ax1 and .
| bool LocOpe_CSIntersector::IsDone | ( | ) | const |
Returns <true> if the intersection has been done.
| bool LocOpe_CSIntersector::LocalizeAfter | ( | const int | I, |
| const double | From, | ||
| const double | Tol, | ||
| TopAbs_Orientation & | Or, | ||
| int & | IndFrom, | ||
| int & | IndTo ) const |
On the element of range , searches the first intersection point located after the parameter <From>, which orientation is not TopAbs_EXTERNAL. If found, returns <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 <false>.
| bool LocOpe_CSIntersector::LocalizeAfter | ( | const int | I, |
| const int | FromInd, | ||
| const double | Tol, | ||
| TopAbs_Orientation & | Or, | ||
| int & | IndFrom, | ||
| int & | IndTo ) const |
On the element of range , searches the first intersection point located after the index <FromInd> ( >= FromInd + 1), which orientation is not TopAbs_EXTERNAL. If found, returns <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 <false>.
| bool LocOpe_CSIntersector::LocalizeBefore | ( | const int | I, |
| const double | From, | ||
| const double | Tol, | ||
| TopAbs_Orientation & | Or, | ||
| int & | IndFrom, | ||
| int & | IndTo ) const |
On the element of range , searches the first intersection point located before the parameter <From>, which orientation is not TopAbs_EXTERNAL. If found, returns <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 <false>.
| bool LocOpe_CSIntersector::LocalizeBefore | ( | const int | I, |
| const int | FromInd, | ||
| const double | Tol, | ||
| TopAbs_Orientation & | Or, | ||
| int & | IndFrom, | ||
| int & | IndTo ) const |
On the element of range , searches the first intersection point located before the index <FromInd> (<= FromInd -1), which orientation is not TopAbs_EXTERNAL. If found, returns <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 <false>.
Returns the number of intersection point on the element of range .
| void LocOpe_CSIntersector::Perform | ( | const NCollection_Sequence< gp_Circ > & | Scir | ) |
| void LocOpe_CSIntersector::Perform | ( | const NCollection_Sequence< gp_Lin > & | Slin | ) |
| void LocOpe_CSIntersector::Perform | ( | const NCollection_Sequence< occ::handle< Geom_Curve > > & | Scur | ) |
| const LocOpe_PntFace & LocOpe_CSIntersector::Point | ( | const int | I, |
| const int | 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.