Public Member Functions | Protected Attributes
imesh_vertex< d > Class Template Reference

A mesh face with a fixed number of vertices. More...

#include <imesh_vertex.h>

List of all members.

Public Member Functions

 imesh_vertex ()
 Default Constructor.
 imesh_vertex (const vcl_vector< double > &coords)
 Constructor from a vector.
unsigned int dim () const
 return the dimension of the vertex.
double operator[] (unsigned int i) const
 Accessor.
double & operator[] (unsigned int i)

Protected Attributes

double coords_ [d]

Detailed Description

template<unsigned d>
class imesh_vertex< d >

A mesh face with a fixed number of vertices.

Definition at line 25 of file imesh_vertex.h.


Constructor & Destructor Documentation

template<unsigned d>
imesh_vertex< d >::imesh_vertex ( ) [inline]

Default Constructor.

Definition at line 29 of file imesh_vertex.h.

template<unsigned d>
imesh_vertex< d >::imesh_vertex ( const vcl_vector< double > &  coords) [inline]

Constructor from a vector.

Definition at line 32 of file imesh_vertex.h.


Member Function Documentation

template<unsigned d>
unsigned int imesh_vertex< d >::dim ( ) const [inline]

return the dimension of the vertex.

Definition at line 36 of file imesh_vertex.h.

template<unsigned d>
double imesh_vertex< d >::operator[] ( unsigned int  i) const [inline]

Accessor.

Definition at line 39 of file imesh_vertex.h.

template<unsigned d>
double& imesh_vertex< d >::operator[] ( unsigned int  i) [inline]

Definition at line 40 of file imesh_vertex.h.


Member Data Documentation

template<unsigned d>
double imesh_vertex< d >::coords_[d] [protected]

Definition at line 43 of file imesh_vertex.h.


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