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

C2DHoledPolyBaseSet Class Reference

A collection of holed polygons. More...

#include <2DHoledPolyBaseSet.h>

Inheritance diagram for C2DHoledPolyBaseSet:

C2DBaseSet C2DBase List of all members.

Public Member Functions

 C2DHoledPolyBaseSet (void)
 Constructor.
void AddCopy (const C2DHoledPolyBaseSet &Other)
 Adds a copy of the other pointer array.
void MakeCopy (const C2DHoledPolyBaseSet &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 (C2DHoledPolyBase *NewItem)
 Adds a new pointer and takes responsibility for it.
void AddCopy (const C2DHoledPolyBase &NewItem)
 Adds a copy of the item given.
void DeleteAndSet (int nIndx, C2DHoledPolyBase *NewItem)
 Deletes the current item and sets the pointer to be the new one.
C2DHoledPolyBaseExtractAndSet (int nIndx, C2DHoledPolyBase *NewItem)
 Extracts the current item and sets the pointer to be the new one.
C2DHoledPolyBaseGetAt (int nIndx)
 Returns the value at the point given.
const C2DHoledPolyBaseGetAt (int nIndx) const
 Returns the value at the point given.
C2DHoledPolyBaseoperator[] (int nIndx)
 Returns a reference to the value at the point given.
const C2DHoledPolyBaseoperator[] (int nIndx) const
 Returns a reference to the value at the point given.
C2DHoledPolyBaseGetLast (void)
 Returns a pointer to the last item.
C2DHoledPolyBaseExtractAt (unsigned int nIndx)
 Extracts the pointer passing deletion responsibility over.
C2DHoledPolyBaseExtractLast (void)
 Extracts the pointer passing deletion responsibility over.
void InsertAt (unsigned int nIndex, C2DHoledPolyBase *NewItem)
 Insertion.
void InsertAt (unsigned int nIndex, C2DHoledPolyBaseSet &Other)
 Insertion of another array.
void operator<< (C2DHoledPolyBaseSet &Other)
 Passes all the pointers from the Other into this.
void operator<< (C2DHoledPolyBase *NewItem)
 Adds a new pointer and takes responsibility for it.
void UnifyBasic (void)
 Basic multiple unification.
void UnifyProgressive (CGrid::eDegenerateHandling eDegen=CGrid::None)
 Unification by growing shapes of fairly equal size (fastest for large groups).
void AddAndUnify (C2DHoledPolyBase *pPoly)
 Assumes current set is distinct.
void AddAndUnify (C2DHoledPolyBaseSet &pOther)
 Assumes both sets are distinct.
bool AddIfUnify (C2DHoledPolyBase *pPoly)
 Assumes current set is distinct.
void AddKnownHoles (C2DPolyBaseSet &pOther)
 Adds polygons known to be holes of those currently in the set.
unsigned int GetLineCount (void)
 Total Line count for all polygons contained.
unsigned int GetMinLineCount (void)
 Minimum line count of all polys.
void operator<< (C2DPolyBaseSet &Other)
 Passes all the pointers from the Other into this.
void operator<< (C2DPolyBase *NewItem)
 Adds a new pointer and takes responsibility for it.

Detailed Description

A collection of holed polygons.

Class which represents a collection of holed polygons.

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


Constructor & Destructor Documentation

C2DHoledPolyBaseSet::C2DHoledPolyBaseSet void   ) 
 

Constructor.

--------------------------------------------------------------------------
C2DHoledPolyBaseSet::C2DHoledPolyBaseSet

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


Member Function Documentation

void C2DHoledPolyBaseSet::AddAndUnify C2DHoledPolyBaseSet pOther  ) 
 

Assumes both sets are distinct.

--------------------------------------------------------------------------
C2DHoledPolyBaseSet::AddAndUnify

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

void C2DHoledPolyBaseSet::AddAndUnify C2DHoledPolyBase pPoly  ) 
 

Assumes current set is distinct.

--------------------------------------------------------------------------
C2DHoledPolyBaseSet::AddAndUnify

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

void C2DHoledPolyBaseSet::AddCopy const C2DHoledPolyBaseSet Other  ) 
 

Adds a copy of the other pointer array.

--------------------------------------------------------------------------
C2DHoledPolyBaseSet::AddCopy

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

bool C2DHoledPolyBaseSet::AddIfUnify C2DHoledPolyBase pPoly  ) 
 

Assumes current set is distinct.

--------------------------------------------------------------------------
C2DHoledPolyBaseSet::AddIfUnify

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

void C2DHoledPolyBaseSet::AddKnownHoles C2DPolyBaseSet pOther  ) 
 

Adds polygons known to be holes of those currently in the set.

--------------------------------------------------------------------------
C2DHoledPolyBaseSet::AddKnownHoles

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

unsigned int C2DHoledPolyBaseSet::GetLineCount void   ) 
 

Total Line count for all polygons contained.

--------------------------------------------------------------------------
C2DHoledPolyBaseSet::GetLineCount

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

unsigned int C2DHoledPolyBaseSet::GetMinLineCount void   ) 
 

Minimum line count of all polys.

--------------------------------------------------------------------------
C2DHoledPolyBaseSet::GetMinLineCount

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

void C2DHoledPolyBaseSet::MakeCopy const C2DHoledPolyBaseSet Other  ) 
 

Makes a copy of the other.

--------------------------------------------------------------------------
C2DHoledPolyBaseSet::MakeCopy

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

void C2DHoledPolyBaseSet::operator<< C2DPolyBase NewItem  ) 
 

Adds a new pointer and takes responsibility for it.

--------------------------------------------------------------------------
C2DHoledPolyBaseSet::operator<<

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

void C2DHoledPolyBaseSet::operator<< C2DPolyBaseSet Other  ) 
 

Passes all the pointers from the Other into this.

--------------------------------------------------------------------------
C2DHoledPolyBaseSet::operator<<

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

void C2DHoledPolyBaseSet::operator<< C2DBaseSet Other  ) 
 

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

--------------------------------------------------------------------------
C2DHoledPolyBaseSet::operator<<

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

Reimplemented from C2DBaseSet.

void C2DHoledPolyBaseSet::UnifyBasic void   ) 
 

Basic multiple unification.

--------------------------------------------------------------------------
C2DHoledPolyBaseSet::UnifyBasic

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

void C2DHoledPolyBaseSet::UnifyProgressive CGrid::eDegenerateHandling  eDegen = CGrid::None  ) 
 

Unification by growing shapes of fairly equal size (fastest for large groups).

--------------------------------------------------------------------------
C2DHoledPolyBaseSet::UnifyProgressive

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


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