#include <polypartition.h>
Public Member Functions | |
void | Clear () |
long | GetNumPoints () |
int | GetOrientation () |
TPPLPoint & | GetPoint (long i) |
TPPLPoint * | GetPoints () |
void | Init (long numpoints) |
void | Invert () |
bool | IsHole () |
TPPLPoly & | operator= (const TPPLPoly &src) |
TPPLPoint & | operator[] (int i) |
void | SetHole (bool hole) |
void | SetOrientation (int orientation) |
TPPLPoly () | |
TPPLPoly (const TPPLPoly &src) | |
void | Triangle (TPPLPoint &p1, TPPLPoint &p2, TPPLPoint &p3) |
~TPPLPoly () | |
Protected Attributes | |
bool | hole |
long | numpoints |
TPPLPoint * | points |
Definition at line 76 of file polypartition.h.
Definition at line 39 of file polypartition.cpp.
Definition at line 45 of file polypartition.cpp.
TPPLPoly::TPPLPoly | ( | const TPPLPoly & | src | ) |
Definition at line 69 of file polypartition.cpp.
void TPPLPoly::Clear | ( | void | ) |
Definition at line 49 of file polypartition.cpp.
long TPPLPoly::GetNumPoints | ( | ) | [inline] |
Definition at line 93 of file polypartition.h.
int TPPLPoly::GetOrientation | ( | ) |
Definition at line 85 of file polypartition.cpp.
TPPLPoint& TPPLPoly::GetPoint | ( | long | i | ) | [inline] |
Definition at line 105 of file polypartition.h.
TPPLPoint* TPPLPoly::GetPoints | ( | ) | [inline] |
Definition at line 109 of file polypartition.h.
void TPPLPoly::Init | ( | long | numpoints | ) |
Definition at line 56 of file polypartition.cpp.
void TPPLPoly::Invert | ( | ) |
Definition at line 105 of file polypartition.cpp.
bool TPPLPoly::IsHole | ( | ) | [inline] |
Definition at line 97 of file polypartition.h.
Definition at line 76 of file polypartition.cpp.
TPPLPoint& TPPLPoly::operator[] | ( | int | i | ) | [inline] |
Definition at line 113 of file polypartition.h.
void TPPLPoly::SetHole | ( | bool | hole | ) | [inline] |
Definition at line 101 of file polypartition.h.
void TPPLPoly::SetOrientation | ( | int | orientation | ) |
Definition at line 98 of file polypartition.cpp.
void TPPLPoly::Triangle | ( | TPPLPoint & | p1, |
TPPLPoint & | p2, | ||
TPPLPoint & | p3 | ||
) |
Definition at line 62 of file polypartition.cpp.
bool TPPLPoly::hole [protected] |
Definition at line 81 of file polypartition.h.
long TPPLPoly::numpoints [protected] |
Definition at line 80 of file polypartition.h.
TPPLPoint* TPPLPoly::points [protected] |
Definition at line 79 of file polypartition.h.