![]() |
Open CASCADE Technology Reference Manual 8.0.0
|
Class intended for fast searching of the coincidence points. More...
#include <BRepMesh_VertexInspector.hxx>
Public Types | |
| typedef gp_XY | Point |
| typedef int | Target |
Public Member Functions | |
| BRepMesh_VertexInspector (const occ::handle< NCollection_IncAllocator > &theAllocator) | |
| Constructor. | |
| int | Add (const BRepMesh_Vertex &theVertex) |
| Registers the given vertex. | |
| void | SetTolerance (const double theTolerance) |
| Sets the tolerance to be used for identification of coincident vertices equal for both dimensions. | |
| void | SetTolerance (const double theToleranceX, const double theToleranceY) |
| Sets the tolerance to be used for identification of coincident vertices. | |
| void | Clear () |
| Clear inspector's internal data structures. | |
| void | Delete (const int theIndex) |
| Deletes vertex with the given index. | |
| int | NbVertices () const |
| Returns number of registered vertices. | |
| BRepMesh_Vertex & | GetVertex (int theIndex) |
| Returns vertex with the given index. | |
| void | SetPoint (const gp_XY &thePoint) |
| Set reference point to be checked. | |
| int | 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 int theTargetIndex) |
| Performs inspection of a point 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 |
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.
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 int | 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.
Set reference point to be checked.
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.