Open CASCADE Technology  7.4.0
Public Member Functions
BRepMesh_Vertex Class Reference

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_XYCoord () const
 Returns position of the vertex in parametric space. More...
 
gp_XYChangeCoord ()
 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...
 

Detailed Description

Light weighted structure representing vertex of the mesh in parametric space. Vertex could be associated with 3d point stored in external map.

Constructor & Destructor Documentation

◆ BRepMesh_Vertex() [1/3]

BRepMesh_Vertex::BRepMesh_Vertex ( )
inline

Default constructor.

◆ BRepMesh_Vertex() [2/3]

BRepMesh_Vertex::BRepMesh_Vertex ( const gp_XY theUV,
const Standard_Integer  theLocation3d,
const BRepMesh_DegreeOfFreedom  theMovability 
)
inline

Creates vertex associated with point in 3d space.

Parameters
theUVposition of vertex in parametric space.
theLocation3dindex of 3d point to be associated with vertex.
theMovabilitymovability of the vertex.

◆ BRepMesh_Vertex() [3/3]

BRepMesh_Vertex::BRepMesh_Vertex ( const Standard_Real  theU,
const Standard_Real  theV,
const BRepMesh_DegreeOfFreedom  theMovability 
)
inline

Creates vertex without association with point in 3d space.

Parameters
theUU position of vertex in parametric space.
theVV position of vertex in parametric space.
theMovabilitymovability of the vertex.

Member Function Documentation

◆ ChangeCoord()

gp_XY& BRepMesh_Vertex::ChangeCoord ( )
inline

Returns position of the vertex in parametric space for modification.

◆ Coord()

const gp_XY& BRepMesh_Vertex::Coord ( ) const
inline

Returns position of the vertex in parametric space.

◆ HashCode()

Standard_Integer BRepMesh_Vertex::HashCode ( const Standard_Integer  theUpperBound) const
inline

Computes a hash code for this vertex, in the range [1, theUpperBound].

Parameters
theUpperBoundthe upper bound of the range a computing hash code must be within
Returns
a computed hash code, in the range [1, theUpperBound]

◆ Initialize()

void BRepMesh_Vertex::Initialize ( const gp_XY theUV,
const Standard_Integer  theLocation3d,
const BRepMesh_DegreeOfFreedom  theMovability 
)
inline

Initializes vertex associated with point in 3d space.

Parameters
theUVposition of vertex in parametric space.
theLocation3dindex of 3d point to be associated with vertex.
theMovabilitymovability of the vertex.

◆ IsEqual()

Standard_Boolean BRepMesh_Vertex::IsEqual ( const BRepMesh_Vertex theOther) const
inline

Checks for equality with another vertex.

Parameters
theOthervertex to be checked against this one.
Returns
TRUE if equal, FALSE if not.

◆ Location3d()

Standard_Integer BRepMesh_Vertex::Location3d ( ) const
inline

Returns index of 3d point associated with the vertex.

◆ Movability()

BRepMesh_DegreeOfFreedom BRepMesh_Vertex::Movability ( ) const
inline

Returns movability of the vertex.

◆ operator==()

Standard_Boolean BRepMesh_Vertex::operator== ( const BRepMesh_Vertex Other) const
inline

Alias for IsEqual.

◆ SetMovability()

void BRepMesh_Vertex::SetMovability ( const BRepMesh_DegreeOfFreedom  theMovability)
inline

Sets movability of the vertex.


The documentation for this class was generated from the following file: