ug4
ug::VolumeDescriptor Class Reference

Holds a set of vertices which represent the corners of a volume element. More...

#include <grid_base_objects.h>

+ Inheritance diagram for ug::VolumeDescriptor:

Public Member Functions

virtual size_t num_vertices () const
 
VolumeDescriptoroperator= (const VolumeDescriptor &vv)
 
VolumeDescriptoroperator= (const VolumeVertices &vv)
 
void set_num_vertices (uint numVertices)
 
void set_vertex (uint index, Vertex *vrt)
 
virtual Vertexvertex (size_t index) const
 
virtual ConstVertexArray vertices () const
 
 VolumeDescriptor ()
 
 VolumeDescriptor (const VolumeDescriptor &vd)
 
 VolumeDescriptor (uint numVertices)
 
virtual ~VolumeDescriptor ()
 
- Public Member Functions inherited from ug::VolumeVertices
Vertexoperator[] (size_t index) const
 returns the i-th vertex. More...
 
size_t size () const
 returns the number of vertices. More...
 
virtual ~VolumeVertices ()
 
- 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_VOLUME_VERTICES]
 

Additional Inherited Members

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

Detailed Description

Holds a set of vertices which represent the corners of a volume element.

Constructor & Destructor Documentation

◆ VolumeDescriptor() [1/3]

ug::VolumeDescriptor::VolumeDescriptor ( )

◆ VolumeDescriptor() [2/3]

ug::VolumeDescriptor::VolumeDescriptor ( uint  numVertices)

References set_num_vertices().

◆ VolumeDescriptor() [3/3]

ug::VolumeDescriptor::VolumeDescriptor ( const VolumeDescriptor vd)

References m_numVertices, and m_vertices.

◆ ~VolumeDescriptor()

virtual ug::VolumeDescriptor::~VolumeDescriptor ( )
inlinevirtual

Member Function Documentation

◆ num_vertices()

virtual size_t ug::VolumeDescriptor::num_vertices ( ) const
inlinevirtual

◆ operator=() [1/2]

VolumeDescriptor & ug::VolumeDescriptor::operator= ( const VolumeDescriptor vv)

References m_numVertices, and m_vertices.

◆ operator=() [2/2]

◆ set_num_vertices()

◆ set_vertex()

◆ vertex()

virtual Vertex* ug::VolumeDescriptor::vertex ( size_t  index) const
inlinevirtual

Reimplemented from ug::VolumeVertices.

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

◆ vertices()

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

Reimplemented from ug::VolumeVertices.

Member Data Documentation

◆ m_numVertices

uint ug::VolumeDescriptor::m_numVertices
protected

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

◆ m_vertices

Vertex* ug::VolumeDescriptor::m_vertices[MAX_VOLUME_VERTICES]
protected

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


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