![]() |
Open CASCADE Technology Reference Manual 8.0.0
|
Auxiliary class to find circles shot by the given point. More...
#include <BRepMesh_CircleInspector.hxx>
Public Types | |
| typedef gp_XY | Point |
| typedef int | Target |
Public Member Functions | |
| BRepMesh_CircleInspector (const double theTolerance, const int theReservedSize, const occ::handle< NCollection_IncAllocator > &theAllocator) | |
| Constructor. | |
| void | Bind (const int theIndex, const BRepMesh_Circle &theCircle) |
| Adds the circle to vector of circles at the given position. | |
| const IMeshData::VectorOfCircle & | Circles () const |
| Resutns vector of registered circles. | |
| BRepMesh_Circle & | Circle (const int theIndex) |
| Returns circle with the given index. | |
| void | SetPoint (const gp_XY &thePoint) |
| Set reference point to be checked. | |
| IMeshData::ListOfInteger & | GetShotCircles () |
| Returns list of circles shot by the reference point. | |
| NCollection_CellFilter_Action | Inspect (const int theTargetIndex) |
| Performs inspection of a circle with the given index. | |
Static Public Member Functions | |
| static double | Coord (int i, const Point &thePnt) |
| static Point | Shift (const Point &thePnt, double theTol) |
| static bool | IsEqual (const int theIndex, const int theTargetIndex) |
| Checks indices for equality. | |
Static Public Attributes | |
| static constexpr int | Dimension = 2 |
Auxiliary class to find circles shot by the given point.
|
inline |
Constructor.
| theTolerance | tolerance to be used for identification of shot circles. |
| theReservedSize | size to be reserved for vector of circles. |
| theAllocator | memory allocator to be used by internal collections. |
|
inline |
Adds the circle to vector of circles at the given position.
| theIndex | position of circle in the vector. |
| theCircle | circle to be added. |
|
inline |
Returns circle with the given index.
| theIndex | index of circle. |
|
inline |
Resutns vector of registered circles.
|
inline |
Returns list of circles shot by the reference point.
|
inline |
Performs inspection of a circle with the given index.
| theTargetIndex | index of a circle to be checked. |
|
inlinestatic |
Checks indices for equality.
Set reference point to be checked.
| thePoint | bullet point. |