PICCANTE  0.4
The hottest HDR imaging library!
Public Member Functions | Public Attributes | List of all members
pic::Polyline< N, T > Class Template Reference

The Polyline class. More...

#include <polyline.hpp>

Public Member Functions

 Polyline ()
 
 Polyline (std::vector< Vec< N, T > > &points)
 
void add (Vec< N, T > &point)
 add More...
 
void simplify (int target_n_points)
 simplify More...
 

Public Attributes

std::vector< Vec< N, T > > points
 

Detailed Description

template<unsigned int N, class T>
class pic::Polyline< N, T >

The Polyline class.

Constructor & Destructor Documentation

◆ Polyline() [1/2]

template<unsigned int N, class T >
pic::Polyline< N, T >::Polyline ( )
inline

◆ Polyline() [2/2]

template<unsigned int N, class T >
pic::Polyline< N, T >::Polyline ( std::vector< Vec< N, T > > &  points)
inline

Member Function Documentation

◆ add()

template<unsigned int N, class T >
void pic::Polyline< N, T >::add ( Vec< N, T > &  point)
inline

add

Parameters
point

◆ simplify()

template<unsigned int N, class T >
void pic::Polyline< N, T >::simplify ( int  target_n_points)
inline

simplify

Parameters
target_n_points

Member Data Documentation

◆ points

template<unsigned int N, class T >
std::vector< Vec<N, T> > pic::Polyline< N, T >::points

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