ug4
ug::FaceDescriptor Class Reference

Can be queried for the edges and vertices of a face. More...

#include <grid_base_objects.h>

+ Inheritance diagram for ug::FaceDescriptor:

Public Member Functions

 FaceDescriptor ()
 
 FaceDescriptor (const FaceDescriptor &fd)
 
 FaceDescriptor (uint numVertices)
 
 FaceDescriptor (Vertex *v0, Vertex *v1, Vertex *v2)
 
 FaceDescriptor (Vertex *v0, Vertex *v1, Vertex *v2, Vertex *v3)
 
virtual size_t num_vertices () const
 
FaceDescriptoroperator= (const FaceDescriptor &fd)
 
void set_num_vertices (uint numVertices)
 
void set_vertex (uint index, Vertex *vrt)
 
virtual Vertexvertex (size_t index) const
 
virtual ConstVertexArray vertices () const
 
virtual ~FaceDescriptor ()
 
- Public Member Functions inherited from ug::FaceVertices
Vertexoperator[] (size_t index) const
 returns the i-th vertex. More...
 
size_t size () const
 returns the number of vertices. More...
 
virtual ~FaceVertices ()
 
- Public Member Functions inherited from ug::IVertexGroup
Vertexoperator[] (size_t index) const
 returns the i-th vertex. More...
 
size_t size () const
 returns the number of vertices. More...
 
virtual ~IVertexGroup ()
 

Protected Attributes

uint m_numVertices
 
Vertexm_vertices [MAX_FACE_VERTICES]
 

Additional Inherited Members

- Public Types inherited from ug::IVertexGroup
typedef Vertex *const * ConstVertexArray
 

Detailed Description

Can be queried for the edges and vertices of a face.

Constructor & Destructor Documentation

◆ FaceDescriptor() [1/5]

ug::FaceDescriptor::FaceDescriptor ( )

◆ FaceDescriptor() [2/5]

ug::FaceDescriptor::FaceDescriptor ( uint  numVertices)

◆ FaceDescriptor() [3/5]

ug::FaceDescriptor::FaceDescriptor ( const FaceDescriptor fd)

References m_numVertices, and m_vertices.

◆ FaceDescriptor() [4/5]

ug::FaceDescriptor::FaceDescriptor ( Vertex v0,
Vertex v1,
Vertex v2 
)
inline

◆ FaceDescriptor() [5/5]

ug::FaceDescriptor::FaceDescriptor ( Vertex v0,
Vertex v1,
Vertex v2,
Vertex v3 
)
inline

◆ ~FaceDescriptor()

virtual ug::FaceDescriptor::~FaceDescriptor ( )
inlinevirtual

Member Function Documentation

◆ num_vertices()

◆ operator=()

FaceDescriptor & ug::FaceDescriptor::operator= ( const FaceDescriptor fd)

References m_numVertices, and m_vertices.

◆ set_num_vertices()

◆ set_vertex()

◆ vertex()

◆ vertices()

virtual ConstVertexArray ug::FaceDescriptor::vertices ( ) const
inlinevirtual

Reimplemented from ug::FaceVertices.

Referenced by ug::Grid::replace_vertex().

Member Data Documentation

◆ m_numVertices

uint ug::FaceDescriptor::m_numVertices
protected

Referenced by FaceDescriptor(), and operator=().

◆ m_vertices

Vertex* ug::FaceDescriptor::m_vertices[MAX_FACE_VERTICES]
protected

Referenced by FaceDescriptor(), and operator=().


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