MapGuide API Reference
 All Classes Functions Variables Enumerations Enumerator Friends
virtual MgCoordinate* MgCoordinateCollection::GetItem ( INT32  index) const [virtual]

Gets the coordinate in the collection at the specified index. Throws an invalid argument exception if the index is out of range.

.NET Syntax
virtual MgCoordinate GetItem(int index) const;
Java Syntax
virtual MgCoordinate GetItem(int index) const;
PHP Syntax
virtual MgCoordinate GetItem(int index) const;
Parameters:
index(int) Index of the coordinate to retrieve.
Returns:
Returns the coordinate in the collection at the specified index.
Exceptions:
MgIndexOutOfRangeException