API Documentation
Loading...
Searching...
No Matches
ConcavePolygon< t_type, t_vertex > Class Template Reference

Stores convenience functions for a concavec polygon Works on a Polygon object to decompose it into triangles or sub-polygons. More...

#include <ConcaveToConvexPolygon.h>

Public Member Functions

bool checkIfRightHanded ()
 
 ConcavePolygon ()
 
 ConcavePolygon (const VertexArray &_vertices)
 
void convexDecomp ()
 
t_vertex getPoint (uint04 index) const
 
int getPointCount () const
 
const VertexArraygetVertices () const
 
void returnLowestLevelPolys (Buffer< Polygon< t_type, t_vertex >, uint04, ObjectAllocator< false > > &returnArr)
 

Detailed Description

template<class t_type, class t_vertex = Vertex<2, t_type>>
class NDEVR::ConcavePolygon< t_type, t_vertex >

Stores convenience functions for a concavec polygon Works on a Polygon object to decompose it into triangles or sub-polygons.


Constructor & Destructor Documentation

◆ ConcavePolygon() [1/2]

template<class t_type , class t_vertex = Vertex<2, t_type>>
ConcavePolygon ( const VertexArray & _vertices)
inline

◆ ConcavePolygon() [2/2]

template<class t_type , class t_vertex = Vertex<2, t_type>>
ConcavePolygon ( )
inline

Member Function Documentation

◆ checkIfRightHanded()

template<class t_type , class t_vertex = Vertex<2, t_type>>
bool checkIfRightHanded ( )
inline

◆ convexDecomp()

template<class t_type , class t_vertex = Vertex<2, t_type>>
void convexDecomp ( )
inline

◆ getPoint()

template<class t_type , class t_vertex = Vertex<2, t_type>>
t_vertex getPoint ( uint04 index) const
inline

◆ getPointCount()

template<class t_type , class t_vertex = Vertex<2, t_type>>
int getPointCount ( ) const
inline

◆ getVertices()

template<class t_type , class t_vertex = Vertex<2, t_type>>
const VertexArray & getVertices ( ) const
inline

◆ returnLowestLevelPolys()

template<class t_type , class t_vertex = Vertex<2, t_type>>
void returnLowestLevelPolys ( Buffer< Polygon< t_type, t_vertex >, uint04, ObjectAllocator< false > > & returnArr)
inline

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