Inviwo
0.9.10.1
Inviwo documentation
|
Create a Polygon which consists of points. More...
#include <polygon.h>
Public Member Functions | |
Polygon (size_t size) | |
Polygon (const Polygon &rhs) | |
T & | at (size_t i) |
T | get (size_t i) const |
size_t | size () const |
const T * | values () const |
T * | values () |
Create a Polygon which consists of points.
A Polygon consists of a specific number of vertices, or indices to vertices. When polygon contains vertices, adjacent vertices are considered to be connected with lines to form a edge. First and last vertex are also considered to be connected, to form a closed chain.