Public Member Functions | Public Attributes

sp::dim::polygon< T > Class Template Reference

#include <spDimensionPolygon.hpp>

List of all members.

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

Detailed Description

template<typename T>
class sp::dim::polygon< T >

Simple polygon class for triangle clipping.

Since:
Version 3.2
Todo:
Make tests with this class.

Constructor & Destructor Documentation

template<typename T>
sp::dim::polygon< T >::polygon (  )  [inline]
template<typename T>
sp::dim::polygon< T >::polygon ( const polygon< T > &  Other  )  [inline]
template<typename T>
sp::dim::polygon< T >::~polygon (  )  [inline]

Member Function Documentation

template<typename T>
template<typename T2 >
polygon<T2> sp::dim::polygon< T >::cast (  )  const [inline]
template<typename T>
void sp::dim::polygon< T >::clear (  )  [inline]
template<typename T>
u32 sp::dim::polygon< T >::getCount (  )  const [inline]
template<typename T>
polygon<T> sp::dim::polygon< T >::getSwaped (  )  const [inline]
template<typename T>
polygon<T>& sp::dim::polygon< T >::operator= ( const polygon< T > &  Other  )  [inline]
template<typename T>
const T& sp::dim::polygon< T >::operator[] ( u32  Index  )  const [inline]
template<typename T>
T& sp::dim::polygon< T >::operator[] ( u32  Index  )  [inline]
template<typename T>
void sp::dim::polygon< T >::pop (  )  [inline]
template<typename T>
void sp::dim::polygon< T >::push ( const T &  Point  )  [inline]
template<typename T>
polygon<T>& sp::dim::polygon< T >::swap (  )  [inline]

Member Data Documentation

template<typename T>
std::vector<T> sp::dim::polygon< T >::Points

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines