indexOf method

int indexOf(
  1. {required ArcGISPoint point}
)

Retrieves the position of the point in the mutable 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.

Implementation

int indexOf({required ArcGISPoint point}) {
  return _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_MutablePointCollection_indexOf(
        _handle, point._handle, errorHandler);
  });
}