Web API Reference MapGuide Open Source
virtual INT32 MgCoordinateCollection::IndexOf ( const MgCoordinate value  )  const [virtual]

Returns the index of the specified coordinate in the collection or -1 if the coordinate does not exist.

.NET Syntax
virtual int IndexOf(const MgCoordinate value) const;
Java Syntax
virtual int IndexOf(const MgCoordinate value) const;
PHP Syntax
virtual int IndexOf(const MgCoordinate value) const;

Parameters:
value (MgCoordinate) Coordinate reference to find the index of.
Returns:
The index of the specified coordinate in the collection or -1 if the coordinate does not exist.


Comments or suggestions? Send us feedback.