Geotools.Net

Geometry.IndexOf Method 

Returns the index of coordinate in coordinates.

[Visual Basic]
Protected Shared Function IndexOf( _
   ByVal coordinate As Coordinate, _
   ByVal coordinates As ArrayList _
) As Integer
[C#]
protected static int IndexOf(
   Coordinate coordinate,
   ArrayList coordinates
);

Parameters

coordinate
The Coordinate to search in the array.
coordinates
The array to search

Return Value

Returns the position of coordinate, or -1 if it is not found

Remarks

The first position is 0; the second, 1; etc.

See Also

Geometry Class | Geometry Members | Geotools.Geometries Namespace