ug4
|
Base class for all classes which consist of a group of vertices. More...
#include <grid_base_objects.h>
Public Types | |
typedef Vertex *const * | ConstVertexArray |
Public Member Functions | |
virtual size_t | num_vertices () const =0 |
Vertex * | operator[] (size_t index) const |
returns the i-th vertex. More... | |
size_t | size () const |
returns the number of vertices. More... | |
virtual Vertex * | vertex (size_t index) const =0 |
virtual ConstVertexArray | vertices () const =0 |
virtual | ~IVertexGroup () |
Base class for all classes which consist of a group of vertices.
typedef Vertex* const* ug::IVertexGroup::ConstVertexArray |
|
inlinevirtual |
|
pure virtual |
Implemented in ug::Octahedron, ug::Pyramid, ug::Prism, ug::Hexahedron, ug::Tetrahedron, ug::CustomQuadrilateral< ConstrainedQuadrilateral, ConstrainedFace, ConstrainedTriangle, ConstrainedQuadrilateral >, ug::CustomQuadrilateral< Quadrilateral, Face, Triangle, Quadrilateral >, ug::CustomQuadrilateral< ConstrainingQuadrilateral, ConstrainingFace, ConstrainingTriangle, ConstrainingQuadrilateral >, ug::CustomTriangle< ConstrainedTriangle, ConstrainedFace, ConstrainedTriangle, ConstrainedQuadrilateral >, ug::CustomTriangle< ConstrainingTriangle, ConstrainingFace, ConstrainingTriangle, ConstrainingQuadrilateral >, ug::CustomTriangle< Triangle, Face, Triangle, Quadrilateral >, ug::VolumeDescriptor, ug::VolumeVertices, ug::FaceDescriptor, ug::FaceVertices, ug::EdgeVertices, and ug::CustomVertexGroup.
Referenced by ug::NeuriteProjector::average_params(), ug::NeuriteProjector::average_pos_from_parent(), ug::Grid::create_by_cloning(), and ug::VertexGroupsMatch().
|
inline |
returns the i-th vertex.
|
inline |
returns the number of vertices.
References boost::num_vertices().
Referenced by ug::bp_newton_start_pos(), ug::GetSharedVertex(), ug::GetSharedVertices(), and ug::NumSharedVertices().
|
pure virtual |
Implemented in ug::Octahedron, ug::Pyramid, ug::Prism, ug::Hexahedron, ug::Tetrahedron, ug::CustomQuadrilateral< ConstrainedQuadrilateral, ConstrainedFace, ConstrainedTriangle, ConstrainedQuadrilateral >, ug::CustomQuadrilateral< Quadrilateral, Face, Triangle, Quadrilateral >, ug::CustomQuadrilateral< ConstrainingQuadrilateral, ConstrainingFace, ConstrainingTriangle, ConstrainingQuadrilateral >, ug::CustomTriangle< ConstrainedTriangle, ConstrainedFace, ConstrainedTriangle, ConstrainedQuadrilateral >, ug::CustomTriangle< ConstrainingTriangle, ConstrainingFace, ConstrainingTriangle, ConstrainingQuadrilateral >, ug::CustomTriangle< Triangle, Face, Triangle, Quadrilateral >, ug::VolumeDescriptor, ug::VolumeVertices, ug::FaceDescriptor, ug::FaceVertices, ug::EdgeVertices, and ug::CustomVertexGroup.
Referenced by ug::NeuriteProjector::average_params(), ug::NeuriteProjector::average_pos_from_parent(), ug::bp_newton_start_pos(), ug::Grid::create_by_cloning(), and ug::VertexGroupsMatch().
|
pure virtual |
Implemented in ug::Octahedron, ug::Pyramid, ug::Prism, ug::Hexahedron, ug::Tetrahedron, ug::CustomQuadrilateral< ConstrainedQuadrilateral, ConstrainedFace, ConstrainedTriangle, ConstrainedQuadrilateral >, ug::CustomQuadrilateral< Quadrilateral, Face, Triangle, Quadrilateral >, ug::CustomQuadrilateral< ConstrainingQuadrilateral, ConstrainingFace, ConstrainingTriangle, ConstrainingQuadrilateral >, ug::CustomTriangle< ConstrainedTriangle, ConstrainedFace, ConstrainedTriangle, ConstrainedQuadrilateral >, ug::CustomTriangle< ConstrainingTriangle, ConstrainingFace, ConstrainingTriangle, ConstrainingQuadrilateral >, ug::CustomTriangle< Triangle, Face, Triangle, Quadrilateral >, ug::VolumeDescriptor, ug::VolumeVertices, ug::FaceDescriptor, ug::FaceVertices, ug::EdgeVertices, and ug::CustomVertexGroup.
Referenced by ug::Grid::create_by_cloning(), ug::GetSharedVertex(), ug::GetSharedVertices(), ug::NumSharedVertices(), and ug::VertexGroupsMatch().