An example Object: a Face with a list of indices.
More...
#include <example.h>
An example Object: a Face with a list of indices.
PLY::Face::Face |
( |
const size_t & |
size) | |
|
|
inline |
Instantiated constructor.
- Parameters
-
size | the number of vertices the Face has. |
PLY::Face::Face |
( |
const Face & |
f) | |
|
|
inline |
Copy constructor.
This constructor must be explicitly defined, to protect the indices.
bool PLY::Face::make_element |
( |
Element & |
elem) | |
const |
|
inlinevirtual |
size_t PLY::Face::size |
( |
) | |
const |
|
inline |
Get the number of vertices.
- Returns
- the number of vertices.
void PLY::Face::size |
( |
const size_t & |
size) | |
|
|
inline |
Set the number of vertices.
- Parameters
-
size | the number of vertices. |
size_t PLY::Face::vertex |
( |
const size_t & |
num) | |
const |
|
inline |
Get the index of a vertex.
- Parameters
-
num | which of the vertices of the Face to access. |
- Returns
- the index of the vertex.
void PLY::Face::vertex |
( |
const size_t & |
num, |
|
|
const size_t & |
index |
|
) |
| |
|
inline |
Set the index of a vertex.
- Parameters
-
num | which of the vertices of the Face to access. |
index | the index of the vertex. |
The documentation for this struct was generated from the following files: