region< K > Class Template Reference

#include <region.hpp>

List of all members.

Public Types

Public Member Functions


Detailed Description

template<class K>
class mmx::shape::region< K >

Definition at line 33 of file region.hpp.


Member Typedef Documentation

Definition at line 39 of file region.hpp.

typedef region_def<K>::Face Face

Definition at line 37 of file region.hpp.

typedef region_def<K>::Shape Shape

Definition at line 36 of file region.hpp.


Constructor & Destructor Documentation

region ( void   )  [inline]

Definition at line 41 of file region.hpp.

00041 {};

region ( Face f  )  [inline]

Definition at line 42 of file region.hpp.

00042                   : Shape() {
00043     m_faces <<f;
00044   }; 


Member Function Documentation

const_iterator begin (  )  const [inline]

Definition at line 47 of file region.hpp.

References Seq< C, R >::begin().

00047 {return m_faces.begin();}

const_iterator end (  )  const [inline]

Definition at line 48 of file region.hpp.

References Seq< C, R >::end().

00048 {return m_faces.end();}

Face* face ( int  i  )  [inline]

Definition at line 52 of file region.hpp.

00052 {return m_faces[i];}

Seq<Face*>& faces ( void   )  [inline]

Definition at line 51 of file region.hpp.

00051 {return m_faces;}

void insert ( Face f  )  [inline]

Definition at line 54 of file region.hpp.

00054 { m_faces<<f; } ;

Face* operator[] ( int  i  )  [inline]

Definition at line 53 of file region.hpp.

00053 {return m_faces[i];}

unsigned size ( void   )  const [inline]

Definition at line 50 of file region.hpp.

References Seq< C, R >::size().

00050 {return m_faces.size();}


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

Generated on 6 Dec 2012 for shape by  doxygen 1.6.1