Open CASCADE Technology 7.8.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.
 
 BRepMesh_Vertex (const gp_XY &theUV, const Standard_Integer theLocation3d, const BRepMesh_DegreeOfFreedom theMovability)
 Creates vertex associated with point in 3d space.
 
 BRepMesh_Vertex (const Standard_Real theU, const Standard_Real theV, const BRepMesh_DegreeOfFreedom theMovability)
 Creates vertex without association with point in 3d space.
 
void Initialize (const gp_XY &theUV, const Standard_Integer theLocation3d, const BRepMesh_DegreeOfFreedom theMovability)
 Initializes vertex associated with point in 3d space.
 
const gp_XYCoord () const
 Returns position of the vertex in parametric space.
 
gp_XYChangeCoord ()
 Returns position of the vertex in parametric space for modification.
 
Standard_Integer Location3d () const
 Returns index of 3d point associated with the vertex.
 
BRepMesh_DegreeOfFreedom Movability () const
 Returns movability of the vertex.
 
void SetMovability (const BRepMesh_DegreeOfFreedom theMovability)
 Sets movability of the vertex.
 
Standard_Boolean IsEqual (const BRepMesh_Vertex &theOther) const
 Checks for equality with another vertex.
 
Standard_Boolean operator== (const BRepMesh_Vertex &Other) const
 Alias for IsEqual.
 

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.

◆ 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: