Auxiliary class to find circles shot by the given point. More...
#include <BRepMesh_CircleInspector.hxx>

Public Types | |
| typedef Standard_Integer | Target |
Public Types inherited from NCollection_CellFilter_InspectorXY | |
| enum | { Dimension = 2 } |
| Points dimension. More... | |
| typedef gp_XY | Point |
| Points type. | |
Public Member Functions | |
| BRepMesh_CircleInspector (const Standard_Real theTolerance, const Standard_Integer theReservedSize, const Handle< NCollection_IncAllocator > &theAllocator) | |
| Constructor. | |
| void | Bind (const Standard_Integer 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 Standard_Integer 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 Standard_Integer theTargetIndex) |
| Performs inspection of a circle with the given index. | |
Public Member Functions inherited from NCollection_CellFilter_InspectorXY | |
| Point | Shift (const Point &thePnt, Standard_Real theTol) const |
| Auxiliary method to shift point by each coordinate on given value; useful for preparing a points range for Inspect with tolerance. | |
Static Public Member Functions | |
| static Standard_Boolean | IsEqual (const Standard_Integer theIndex, const Standard_Integer theTargetIndex) |
| Checks indices for equality. | |
Static Public Member Functions inherited from NCollection_CellFilter_InspectorXY | |
| static Standard_Real | Coord (int i, const Point &thePnt) |
| Access to coordinate. | |
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.
|
inline |
Set reference point to be checked.
| thePoint | bullet point. |