Open CASCADE Technology
6.9.0
|
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. More... | |
Public Member Functions | |
BRepMesh_VertexInspector (const Standard_Integer theReservedSize, const Handle< NCollection_IncAllocator > &theAllocator) | |
Constructor. More... | |
Standard_Integer | Add (const BRepMesh_Vertex &theVertex) |
Registers the given vertex. More... | |
void | SetTolerance (const Standard_Real theTolerance) |
Sets the tolerance to be used for identification of coincident vertices equal for both dimensions. More... | |
void | SetTolerance (const Standard_Real theToleranceX, const Standard_Real theToleranceY) |
Sets the tolerance to be used for identification of coincident vertices. More... | |
void | Clear () |
Clear inspector's internal data structures. More... | |
void | Delete (const Standard_Integer theIndex) |
Deletes vertex with the given index. More... | |
Standard_Integer | NbVertices () const |
Returns number of registered vertices. More... | |
BRepMesh_Vertex & | GetVertex (Standard_Integer theIndex) |
Returns vertex with the given index. More... | |
void | SetPoint (const gp_XY &thePoint) |
Set reference point to be checked. More... | |
const Standard_Integer | GetCoincidentPoint () const |
Returns index of point coinciding with regerence one. More... | |
const BRepMesh::ListOfInteger & | GetListOfDelPoints () const |
Returns list with indexes of vertices that have movability attribute equal to BRepMesh_Deleted and can be replaced with another node. More... | |
const BRepMesh::HVectorOfVertex & | Vertices () const |
Returns set of mesh vertices. More... | |
BRepMesh::HVectorOfVertex & | ChangeVertices () |
Returns set of mesh vertices for modification. More... | |
NCollection_CellFilter_Action | Inspect (const Standard_Integer theTargetIndex) |
Performs inspection of a point 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... | |
Class intended for fast searching of the coincidence points.
|
inline |
Constructor.
theReservedSize | size to be reserved for vector of vertices. |
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 equlity.
|
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.