Open CASCADE Technology
7.5.0
|
Light weighted structure representing vertex of the mesh in parametric space. Vertex could be associated with 3d point stored in external map. More...
#include <BRepMesh_Vertex.hxx>
Public Member Functions | |
BRepMesh_Vertex () | |
Default constructor. More... | |
BRepMesh_Vertex (const gp_XY &theUV, const Standard_Integer theLocation3d, const BRepMesh_DegreeOfFreedom theMovability) | |
Creates vertex associated with point in 3d space. More... | |
BRepMesh_Vertex (const Standard_Real theU, const Standard_Real theV, const BRepMesh_DegreeOfFreedom theMovability) | |
Creates vertex without association with point in 3d space. More... | |
void | Initialize (const gp_XY &theUV, const Standard_Integer theLocation3d, const BRepMesh_DegreeOfFreedom theMovability) |
Initializes vertex associated with point in 3d space. More... | |
const gp_XY & | Coord () const |
Returns position of the vertex in parametric space. More... | |
gp_XY & | ChangeCoord () |
Returns position of the vertex in parametric space for modification. More... | |
Standard_Integer | Location3d () const |
Returns index of 3d point associated with the vertex. More... | |
BRepMesh_DegreeOfFreedom | Movability () const |
Returns movability of the vertex. More... | |
void | SetMovability (const BRepMesh_DegreeOfFreedom theMovability) |
Sets movability of the vertex. More... | |
Standard_Integer | HashCode (const Standard_Integer theUpperBound) const |
Computes a hash code for this vertex, in the range [1, theUpperBound]. More... | |
Standard_Boolean | IsEqual (const BRepMesh_Vertex &theOther) const |
Checks for equality with another vertex. More... | |
Standard_Boolean | operator== (const BRepMesh_Vertex &Other) const |
Alias for IsEqual. More... | |
Light weighted structure representing vertex of the mesh in parametric space. Vertex could be associated with 3d point stored in external map.
|
inline |
Default constructor.
|
inline |
Creates vertex associated with point in 3d space.
theUV | position of vertex in parametric space. |
theLocation3d | index of 3d point to be associated with vertex. |
theMovability | movability of the vertex. |
|
inline |
Creates vertex without association with point in 3d space.
theU | U position of vertex in parametric space. |
theV | V position of vertex in parametric space. |
theMovability | movability of the vertex. |
|
inline |
Returns position of the vertex in parametric space for modification.
|
inline |
Returns position of the vertex in parametric space.
|
inline |
Computes a hash code for this vertex, in the range [1, theUpperBound].
theUpperBound | the upper bound of the range a computing hash code must be within |
|
inline |
Initializes vertex associated with point in 3d space.
theUV | position of vertex in parametric space. |
theLocation3d | index of 3d point to be associated with vertex. |
theMovability | movability of the vertex. |
|
inline |
Checks for equality with another vertex.
theOther | vertex to be checked against this one. |
|
inline |
Returns index of 3d point associated with the vertex.
|
inline |
Returns movability of the vertex.
|
inline |
Alias for IsEqual.
|
inline |
Sets movability of the vertex.