AutoCAD Map 3D 2009 Geospatial Platform Reference

AutoCAD Map 3D Geospatial Platform API

MgCurveStringCollection Class Reference
[MgCurveStringCollection]

Inherits MgDisposable.

List of all members.


Detailed Description

MgCurveStringCollection provides support for defining an ordered set of curve strings.

Public Member Functions

virtual void Add (MgCurveString *value)
 Adds the specified coordinate to the end of the collection.
virtual void Clear ()
 Removes all curve strings from the collection.
virtual bool Contains (const MgCurveString *value) const
 Returns true if the collection contains the specified curve string, false otherwise.
virtual INT32 GetCount () const
 Gets the number of curve strings in the collection.
virtual MgCurveStringGetItem (INT32 index) const
 Gets the curve string in the collection at the specified index. Throws an invalid argument exception if the index is out of range.
virtual INT32 IndexOf (const MgCurveString *value) const
 Returns the index of the specified curve string in the collection or -1 if the curve string does not exist.
virtual void Insert (INT32 index, MgCurveString *value)
 Inserts the specified curve string at the specified index within the collection. Items following the insertion point are moved down to accommodate the new item. Throws an invalid argument exception if the specified index is out of range.
 MgCurveStringCollection ()
 Construct a MgCurveStringCollection object.
virtual bool Remove (const MgCurveString *value)
 Removes the specified curve string from the collection. Return true if the curve string was removed.
virtual void RemoveAt (INT32 index)
 Removes the curve string at the specified index from the collection. Throws an invalid argument exception if the index does not exist within the collection.
virtual void SetItem (INT32 index, MgCurveString *value)
 Sets the curve string in the collection at the specified index to the specified value. Throws an invalid argument exception if the index is out of range.