#include <FacesSet.hpp>


Public Member Functions | |
| const size_t & | numberOfFaces () const |
| void | setNumberOfFaces (const size_t &size) |
| const FaceType & | operator[] (const size_t &i) const |
| FaceType & | operator[] (const size_t &i) |
| size_t | number (const FaceType &f) const |
| FacesSet (const size_t &s) | |
| FacesSet (const FacesSet &F) | |
| ~FacesSet () | |
Private Attributes | |
| Vector< FaceType > | __faces |
Definition at line 26 of file FacesSet.hpp.
Constructs a FacesSet to a given size s
| s | the given size |
Definition at line 95 of file FacesSet.hpp.
00096 : __faces(s) 00097 { 00098 ; 00099 }
| const size_t& FacesSet< FaceType >::numberOfFaces | ( | ) | const [inline] |
Read-only access to the number of faces.
Definition at line 37 of file FacesSet.hpp.
| void FacesSet< FaceType >::setNumberOfFaces | ( | const size_t & | size | ) | [inline] |
Change the size of the face container.
| size | the new size of the face set |
Definition at line 49 of file FacesSet.hpp.
| const FaceType& FacesSet< FaceType >::operator[] | ( | const size_t & | i | ) | const [inline] |
Access to an face according to its number
| i | the face number |
bounds are checked by the Vector class
Definition at line 61 of file FacesSet.hpp.
00062 { 00063 return __faces[i]; 00064 }
| FaceType& FacesSet< FaceType >::operator[] | ( | const size_t & | i | ) | [inline] |
Access to an face according to its number
| i | the face number |
bounds are checked by the Vector class
Definition at line 73 of file FacesSet.hpp.
00074 { 00075 return __faces[i]; 00076 }
| size_t FacesSet< FaceType >::number | ( | const FaceType & | f | ) | const [inline] |
Returns the number of a given face f
| f | the given face |
Definition at line 85 of file FacesSet.hpp.
Definition at line 29 of file FacesSet.hpp.
Referenced by FacesSet< Triangle >::number(), FacesSet< Triangle >::numberOfFaces(), FacesSet< Triangle >::operator[](), and FacesSet< Triangle >::setNumberOfFaces().
1.5.6