getPoint method

ArcGISPoint getPoint(
  1. {required int index}
)

Returns a point at the specified index in the collection.

Parameters:

  • index — The position in the collection.

Return Value: The point at the specified position in the collection.

Implementation

ArcGISPoint getPoint({required int index}) {
  final objectHandle = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_ImmutablePointCollection_getPoint(
        _handle, index, errorHandler);
  });
  return ArcGISPoint._fromHandle(objectHandle)!;
}