PolygonData Class Reference

A class for holding raw vertex data to be used at the construction of a polygon. More...

#include <PolygonData.h>

List of all members.

Public Member Functions

 PolygonData (const RATIONAL *const *aVertexData, const int *aVertexCounts, int aSubPolygonCount)
 Constructor.
int getSubPolygonCount () const
 Returns the count of subpolygons.
const RATIONAL * getVertexData (int aIndex) const
 Returns a pointer to the vertex data array of a sub-polygon at given index.
int getVertexCount (int aIndex) const
 Returns the vertex count of a sub-polygon at given index.

Protected Attributes

const RATIONAL *const * mVertexData
const int * mVertexCounts
int mSubPolygonCount


Detailed Description

A class for holding raw vertex data to be used at the construction of a polygon.


Constructor & Destructor Documentation

PolygonData::PolygonData const RATIONAL *const *  aVertexData,
const int *  aVertexCounts,
int  aSubPolygonCount
[inline]
 

Constructor.


Member Function Documentation

int PolygonData::getSubPolygonCount  )  const [inline]
 

Returns the count of subpolygons.

int PolygonData::getVertexCount int  aIndex  )  const [inline]
 

Returns the vertex count of a sub-polygon at given index.

const RATIONAL* PolygonData::getVertexData int  aIndex  )  const [inline]
 

Returns a pointer to the vertex data array of a sub-polygon at given index.


Member Data Documentation

int PolygonData::mSubPolygonCount [protected]
 

const int* PolygonData::mVertexCounts [protected]
 

const RATIONAL* const* PolygonData::mVertexData [protected]
 


The documentation for this class was generated from the following file:
Generated on Fri Aug 3 00:44:38 2007 for Scanline edge-flag algorithm for antialiasing by  doxygen 1.4.6-NO