indexOf method

int indexOf(
  1. ArcGISPoint point
)

Retrieves the position of the point in the immutable point collection. The first point that is equal to the supplied point is returned.

Parameters:

  • point — The point to find.

Return Value: The position of the point in the collection, -1 otherwise.