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

C2DLineSet Class Reference

C2DLineSet class a collection of lines. More...

#include <2DLineSet.h>

Inheritance diagram for C2DLineSet:

C2DBaseSet C2DBase List of all members.

Public Member Functions

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

Detailed Description

C2DLineSet class a collection of lines.

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


Member Function Documentation

void C2DLineSet::AddCopy (  const C2DPoint &  pt1,
const C2DPoint &  pt2
) 
 

Adds line.

--------------------------------------------------------------------------
C2DLineSet::AddCopy

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

void C2DLineSet::AddCopy (  double  x1,
double  y1,
double  x2,
double  y2
) 
 

Adds line.

--------------------------------------------------------------------------
C2DLineSet::AddCopy

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

void C2DLineSet::AddCopy (  const C2DLine &  Line  ) 
 

Adds a copy of the item given.

--------------------------------------------------------------------------
C2DLineSet::AddCopy

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

void C2DLineSet::AddCopy (  const C2DLineSet &  Other  ) 
 

Adds a copy of the other pointer array.

--------------------------------------------------------------------------
C2DLineSet::AddCopy

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

void C2DLineSet::MakeCopy (  const C2DLineSet &  Other  ) 
 

Makes a copy of the other.

--------------------------------------------------------------------------
C2DLineSet::MakeCopy

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


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