Inviwo  0.9.10.1
Inviwo documentation
inviwo::Polygon< T > Class Template Reference

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)
 
get (size_t i) const
 
size_t size () const
 
const T * values () const
 
T * values ()
 

Detailed Description

template<typename T>
class inviwo::Polygon< T >

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.


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