Google

Main Page   Class Hierarchy   Compound List   File List   Compound Members  

csPolygonEdges Class Reference

A class representing all edges in a set of polygons. More...

#include <poledges.h>

List of all members.

Public Methods

 csPolygonEdges (csPolygonInt **polygons, int num_polygons)
 Construct this structure based on the given array of csPolygonInt*. More...

virtual ~csPolygonEdges ()
 Destroy this set of edges.

csPolEdgeIteratorGetPolygons (int i1, int i2)
 Return an iterator to iterate over all polygons sharing some edge. More...

csEdgeIteratorGetEdges ()
 Get an iterator to iterate over all edges and polygons in this structure. More...


Detailed Description

A class representing all edges in a set of polygons.


Constructor & Destructor Documentation

csPolygonEdges::csPolygonEdges ( csPolygonInt ** polygons,
int num_polygons )
 

Construct this structure based on the given array of csPolygonInt*.

The csPolygonInt* are assumed to be of type csPolygon3D.


Member Function Documentation

csEdgeIterator * csPolygonEdges::GetEdges ( ) [inline]
 

Get an iterator to iterate over all edges and polygons in this structure.

'delete' this iterator when ready.

csPolEdgeIterator * csPolygonEdges::GetPolygons ( int i1,
int i2 ) [inline]
 

Return an iterator to iterate over all polygons sharing some edge.

'delete' this iterator when ready. i1 and i2 are the indices of the vertices making up the edge. The order of i1 and i2 is irrelevant.


The documentation for this class was generated from the following file:
Generated for Crystal Space by doxygen 1.2.5 written by Dimitri van Heesch, ©1997-2000