Class intended for fast searching of the coincidence points. More...
#include <BRepMesh_VertexInspector.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_VertexInspector (const Handle< NCollection_IncAllocator > &theAllocator) | |
| Constructor. | |
| Standard_Integer | Add (const BRepMesh_Vertex &theVertex) |
| Registers the given vertex. | |
| void | SetTolerance (const Standard_Real theTolerance) |
| Sets the tolerance to be used for identification of coincident vertices equal for both dimensions. | |
| void | SetTolerance (const Standard_Real theToleranceX, const Standard_Real theToleranceY) |
| Sets the tolerance to be used for identification of coincident vertices. | |
| void | Clear () |
| Clear inspector's internal data structures. | |
| void | Delete (const Standard_Integer theIndex) |
| Deletes vertex with the given index. | |
| Standard_Integer | NbVertices () const |
| Returns number of registered vertices. | |
| BRepMesh_Vertex & | GetVertex (Standard_Integer theIndex) |
| Returns vertex with the given index. | |
| void | SetPoint (const gp_XY &thePoint) |
| Set reference point to be checked. | |
| Standard_Integer | GetCoincidentPoint () const |
| Returns index of point coinciding with regerence one. | |
| const IMeshData::ListOfInteger & | GetListOfDelPoints () const |
| Returns list with indexes of vertices that have movability attribute equal to BRepMesh_Deleted and can be replaced with another node. | |
| const Handle< IMeshData::VectorOfVertex > & | Vertices () const |
| Returns set of mesh vertices. | |
| Handle< IMeshData::VectorOfVertex > & | ChangeVertices () |
| Returns set of mesh vertices for modification. | |
| NCollection_CellFilter_Action | Inspect (const Standard_Integer theTargetIndex) |
| Performs inspection of a point 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. | |
Class intended for fast searching of the coincidence points.
|
inline |
Constructor.
| theAllocator | memory allocator to be used by internal collections. |
|
inline |
Registers the given vertex.
| theVertex | vertex to be registered. |
|
inline |
Returns set of mesh vertices for modification.
|
inline |
Clear inspector's internal data structures.
|
inline |
Deletes vertex with the given index.
| theIndex | index of vertex to be removed. |
|
inline |
Returns index of point coinciding with regerence one.
|
inline |
Returns list with indexes of vertices that have movability attribute equal to BRepMesh_Deleted and can be replaced with another node.
|
inline |
Returns vertex with the given index.
| NCollection_CellFilter_Action BRepMesh_VertexInspector::Inspect | ( | const Standard_Integer | theTargetIndex | ) |
Performs inspection of a point with the given index.
| theTargetIndex | index of a circle to be checked. |
|
inlinestatic |
Checks indices for equality.
|
inline |
Returns number of registered vertices.
|
inline |
Set reference point to be checked.
|
inline |
Sets the tolerance to be used for identification of coincident vertices equal for both dimensions.
|
inline |
Sets the tolerance to be used for identification of coincident vertices.
| theToleranceX | tolerance for X dimension. |
| theToleranceY | tolerance for Y dimension. |
|
inline |
Returns set of mesh vertices.