Class documentation of Concepts

Loading...
Searching...
No Matches
graphics::VertexInfo Class Reference

#include <vertexList.hh>

Public Member Functions

 VertexInfo (concepts::Real3d coord, uint index=0)
 
void addEdge (uint edge)
 Adds an edge to the list of edges.
 
void addFace (uint face)
 Adds a face to the list of faces.
 
void addVolume (uint volume)
 Adds a volume to the list of volumes.
 
uint & index ()
 Sets the index of the vertex.
 
uint index () const
 Returns the index of the vertex.
 
concepts::Real3d coordinates () const
 Returns the coordinates.
 

Friends

std::ostream & operator<< (std::ostream &os, const VertexInfo &v)
 

Detailed Description

Class containing information about one single vertex. Included are connectivity and coordinates. A whole list of vertices can be managed with VertexList.

A vertex is create by giving its coordinates. After creation, the connectivity information for the edges, faces and volumes can be added.

See also
VertexList
Author
Philipp Frauenfelder, 2001

Definition at line 35 of file vertexList.hh.

Constructor & Destructor Documentation

◆ VertexInfo()

graphics::VertexInfo::VertexInfo ( concepts::Real3d  coord,
uint  index = 0 
)
inline

Constructor.

Creates a vertex with the given coordinates and no edges, faces etc.

Definition at line 42 of file vertexList.hh.

Member Function Documentation

◆ addEdge()

void graphics::VertexInfo::addEdge ( uint  edge)
inline

Adds an edge to the list of edges.

Definition at line 46 of file vertexList.hh.

◆ addFace()

void graphics::VertexInfo::addFace ( uint  face)
inline

Adds a face to the list of faces.

Definition at line 49 of file vertexList.hh.

◆ addVolume()

void graphics::VertexInfo::addVolume ( uint  volume)
inline

Adds a volume to the list of volumes.

Definition at line 52 of file vertexList.hh.

◆ coordinates()

concepts::Real3d graphics::VertexInfo::coordinates ( ) const
inline

Returns the coordinates.

Definition at line 60 of file vertexList.hh.

◆ index() [1/2]

uint & graphics::VertexInfo::index ( )
inline

Sets the index of the vertex.

Definition at line 55 of file vertexList.hh.

◆ index() [2/2]

uint graphics::VertexInfo::index ( ) const
inline

Returns the index of the vertex.

Definition at line 57 of file vertexList.hh.


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