getSquaredDistanceToClosestEdge method

Future<num?> getSquaredDistanceToClosestEdge(
  1. MPPoint point
)

Calculates the squared distance from the point to the closest edge in the polygon

Implementation

Future<num?> getSquaredDistanceToClosestEdge(MPPoint point) async =>
    await UtilPlatform.instance
        .geometryGetSquaredDistanceToClosestEdge(this, point);