59 typedef std::pair< Vector3, Vector3>
Edge;
134 {
return !( *
this == rhs ); }
void setVertex(const Vector3 &vdata, size_t vertexIndex)
Sets a specific vertex of a polygon.
void deleteVertex(size_t vertex)
Deletes a specific vertex.
const Vector3 & getVertex(size_t vertex) const
Returns a vertex.
vector< Vector3 >::type VertexList
const Vector3 & getNormal(void) const
Returns the polygon normal.
bool isPointInside(const Vector3 &point) const
Determines if a point is inside the polygon.
void storeEdges(EdgeMap *edgeMap) const
Stores the edges of the polygon in ccw order.
void removeDuplicates(void)
Removes duplicate vertices from a polygon.
multimap< Vector3, Vector3 >::type EdgeMap
Polygon(const Polygon &cpy)
void insertVertex(const Vector3 &vdata, size_t vertexIndex)
Inserts a vertex at a specific position.
size_t getVertexCount(void) const
Vertex count.
void reset(void)
Resets the object.
void insertVertex(const Vector3 &vdata)
Inserts a vertex at the end of the polygon.
std::pair< Vector3, Vector3 > Edge
void updateNormal(void) const
Updates the normal.
Standard 3-dimensional vector.
std::multimap< K, V, P, A > type