MapGuide API Reference
|
The class MgCoordinateIterator supports iteration over the coordinates of a geometry or path instruction. More...
Public Member Functions | |
virtual MgCoordinate * | GetCurrent () |
Gets the current coordinate. After an iterator is created or after a Reset, MoveNext must be called to advance the iterator to the first coordinate before calling GetCurrent; otherwise, the current position is undefined and an exception is thrown. | |
virtual bool | MoveNext () |
Advances the iterator to the next coordinate. After an iterator is created or after a call to Reset, an iterator is positioned before the first coordinate, and the first call to MoveNext moves the iterator over the first coordinate. After the last coordinate is passed, subsequent calls to MoveNext return false until Reset is called. | |
virtual void | Reset () |
Sets the iterator to its initial position prior to the first coordinate. |
The class MgCoordinateIterator supports iteration over the coordinates of a geometry or path instruction.