Open CASCADE Technology
6.9.1
|
Auxilary 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. More... | |
Public Member Functions | |
BRepMesh_CircleInspector (const Standard_Real theTolerance, const Standard_Integer theReservedSize, const Handle< NCollection_IncAllocator > &theAllocator) | |
Constructor. More... | |
void | Bind (const Standard_Integer theIndex, const BRepMesh_Circle &theCircle) |
Adds the circle to vector of circles at the given position. More... | |
const BRepMesh::VectorOfCircle & | Circles () const |
Resutns vector of registered circles. More... | |
BRepMesh_Circle & | Circle (const Standard_Integer theIndex) |
Returns circle with the given index. More... | |
void | SetPoint (const gp_XY &thePoint) |
Set reference point to be checked. More... | |
BRepMesh::ListOfInteger & | GetShotCircles () |
Returns list of circles shot by the reference point. More... | |
NCollection_CellFilter_Action | Inspect (const Standard_Integer theTargetIndex) |
Performs inspection of a circle with the given index. More... | |
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. More... | |
Static Public Member Functions | |
static Standard_Boolean | IsEqual (const Standard_Integer theIndex, const Standard_Integer theTargetIndex) |
Checks indices for equlity. More... | |
Static Public Member Functions inherited from NCollection_CellFilter_InspectorXY | |
static Standard_Real | Coord (int i, const Point &thePnt) |
Access to co-ordinate. More... | |
Auxilary 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.
NCollection_CellFilter_Action BRepMesh_CircleInspector::Inspect | ( | const Standard_Integer | theTargetIndex | ) |
Performs inspection of a circle with the given index.
theTargetIndex | index of a circle to be checked. |
|
inlinestatic |
Checks indices for equlity.
|
inline |
Set reference point to be checked.
thePoint | bullet point. |