Public Member Functions | Protected Attributes
imesh_regular_face< s > Class Template Reference

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

#include <imesh_face.h>

Inheritance diagram for imesh_regular_face< s >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 imesh_regular_face ()
 Default Constructor.
 imesh_regular_face (const vcl_vector< unsigned int > &verts)
 Constructor from a vector.
unsigned int num_verts () const
 return the number of vertices.
void flip_orientation ()
unsigned int operator[] (unsigned int i) const
 Accessor.
unsigned int & operator[] (unsigned int i)

Protected Attributes

unsigned int verts_ [s]

Detailed Description

template<unsigned s>
class imesh_regular_face< s >

A mesh face with a fixed number of vertices.

Definition at line 29 of file imesh_face.h.


Constructor & Destructor Documentation

template<unsigned s>
imesh_regular_face< s >::imesh_regular_face ( ) [inline]

Default Constructor.

Definition at line 33 of file imesh_face.h.

template<unsigned s>
imesh_regular_face< s >::imesh_regular_face ( const vcl_vector< unsigned int > &  verts) [inline]

Constructor from a vector.

Definition at line 36 of file imesh_face.h.


Member Function Documentation

template<unsigned s>
void imesh_regular_face< s >::flip_orientation ( ) [inline]

Definition at line 42 of file imesh_face.h.

template<unsigned s>
unsigned int imesh_regular_face< s >::num_verts ( ) const [inline]

return the number of vertices.

Definition at line 40 of file imesh_face.h.

template<unsigned s>
unsigned int imesh_regular_face< s >::operator[] ( unsigned int  i) const [inline]

Accessor.

Definition at line 48 of file imesh_face.h.

template<unsigned s>
unsigned int& imesh_regular_face< s >::operator[] ( unsigned int  i) [inline]

Definition at line 49 of file imesh_face.h.


Member Data Documentation

template<unsigned s>
unsigned int imesh_regular_face< s >::verts_[s] [protected]

Definition at line 51 of file imesh_face.h.


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