#include <spDimensionPolygon.hpp>
Public Member Functions | |
| polygon () | |
| polygon (const polygon< T > &Other) | |
| ~polygon () | |
| polygon< T > & | operator= (const polygon< T > &Other) |
| const T & | operator[] (u32 Index) const |
| T & | operator[] (u32 Index) |
| u32 | getCount () const |
| void | clear () |
| void | push (const T &Point) |
| void | pop () |
| polygon< T > | getSwaped () const |
| polygon< T > & | swap () |
| template<typename T2 > | |
| polygon< T2 > | cast () const |
Public Attributes | |
| std::vector< T > | Points |
Simple polygon class for triangle clipping.
| sp::dim::polygon< T >::polygon | ( | ) | [inline] |
| sp::dim::polygon< T >::polygon | ( | const polygon< T > & | Other | ) | [inline] |
| sp::dim::polygon< T >::~polygon | ( | ) | [inline] |
| polygon<T2> sp::dim::polygon< T >::cast | ( | ) | const [inline] |
| void sp::dim::polygon< T >::clear | ( | ) | [inline] |
| u32 sp::dim::polygon< T >::getCount | ( | ) | const [inline] |
| polygon<T> sp::dim::polygon< T >::getSwaped | ( | ) | const [inline] |
| polygon<T>& sp::dim::polygon< T >::operator= | ( | const polygon< T > & | Other | ) | [inline] |
| const T& sp::dim::polygon< T >::operator[] | ( | u32 | Index | ) | const [inline] |
| T& sp::dim::polygon< T >::operator[] | ( | u32 | Index | ) | [inline] |
| void sp::dim::polygon< T >::pop | ( | ) | [inline] |
| void sp::dim::polygon< T >::push | ( | const T & | Point | ) | [inline] |
| polygon<T>& sp::dim::polygon< T >::swap | ( | ) | [inline] |
| std::vector<T> sp::dim::polygon< T >::Points |
1.7.1