Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

C2DPolygonSet Class Reference

A class which represents a set of 2D polygons. More...

#include <2DPolygonSet.h>

Inheritance diagram for C2DPolygonSet:

C2DBaseSet C2DBase List of all members.

Public Member Functions

void AddCopy (const C2DPolygonSet &Other)
 Adds a copy of the other pointer array.
void MakeCopy (const C2DPolygonSet &Other)
 Makes a copy of the other.
void operator<< (C2DBaseSet &Other)
 Passes ONLY the pointers of this type from the Other into this.
void Add (C2DPolygon *NewItem)
 Adds a new pointer and takes responsibility for it.
void AddCopy (const C2DPolygon &NewItem)
 Adds a copy of the item given.
void DeleteAndSet (int nIndx, C2DPolygon *NewItem)
 Deletes the current item and sets the pointer to be the new one.
C2DPolygon * ExtractAndSet (int nIndx, C2DPolygon *NewItem)
 Extracts the current item and sets the pointer to be the new one.
C2DPolygon * GetAt (int nIndx)
 Returns the value at the point given.
const C2DPolygon * GetAt (int nIndx) const
 Returns the value at the point given.
C2DPolygon & operator[] (int nIndx)
 Returns a reference to the value at the point given.
const C2DPolygon & operator[] (int nIndx) const
 Returns a reference to the value at the point given.
C2DPolygon * GetLast (void)
 Returns a pointer to the last item.
C2DPolygon * ExtractAt (unsigned int nIndx)
 Extracts the pointer passing deletion responsibility over.
C2DPolygon * ExtractLast (void)
 Extracts the pointer passing deletion responsibility over.
void InsertAt (unsigned int nIndex, C2DPolygon *NewItem)
 Insertion.
void InsertAt (unsigned int nIndex, C2DPolygonSet &Other)
 Insertion of another array.
void operator<< (C2DPolygonSet &Other)
 Passes all the pointers from the Other into this.
void operator<< (C2DPolygon *NewItem)
 Adds a new pointer and takes responsibility for it.

Detailed Description

A class which represents a set of 2D polygons.

---------------------------------------------------------------------------


Member Function Documentation

void C2DPolygonSet::AddCopy (  const C2DPolygon &  NewItem  ) 
 

Adds a copy of the item given.

--------------------------------------------------------------------------
C2DPolygonSet::AddCopy

---------------------------------------------------------------------------

void C2DPolygonSet::AddCopy (  const C2DPolygonSet &  Other  ) 
 

Adds a copy of the other pointer array.

--------------------------------------------------------------------------
C2DPolygonSet::AddCopy

---------------------------------------------------------------------------

void C2DPolygonSet::MakeCopy (  const C2DPolygonSet &  Other  ) 
 

Makes a copy of the other.

--------------------------------------------------------------------------
C2DPolygonSet::MakeCopy

---------------------------------------------------------------------------

void C2DPolygonSet::operator<< (  C2DBaseSet &  Other  ) 
 

Passes ONLY the pointers of this type from the Other into this.

--------------------------------------------------------------------------
C2DPolygonSet::operator<<

---------------------------------------------------------------------------

Reimplemented from C2DBaseSet.


The documentation for this class was generated from the following files:
Generated on Mon Apr 21 11:43:52 2008 for GeoLib by  doxygen 1.4.4