Open CASCADE Technology  6.9.1
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 Upper) const
 Returns hash code for this vertex. 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::BRepMesh_Vertex ( )
inline

Default constructor.

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

gp_XY& BRepMesh_Vertex::ChangeCoord ( )
inline

Returns position of the vertex in parametric space for modification.

const gp_XY& BRepMesh_Vertex::Coord ( ) const
inline

Returns position of the vertex in parametric space.

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

Returns hash code for this vertex.

Parameters
theUpperupper index in the container.
Returns
hash code.
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.
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.
Standard_Integer BRepMesh_Vertex::Location3d ( ) const
inline

Returns index of 3d point associated with the vertex.

BRepMesh_DegreeOfFreedom BRepMesh_Vertex::Movability ( ) const
inline

Returns movability of the vertex.

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

Alias for IsEqual.

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: