geometryGetSquaredDistanceToClosestEdge method

  1. @override
Future<num?> geometryGetSquaredDistanceToClosestEdge(
  1. MPGeometry it,
  2. MPPoint point
)
override

Implementation

@override
Future<num?> geometryGetSquaredDistanceToClosestEdge(
    MPGeometry it, MPPoint point) {
  return utilMethodChannel.invokeMethod<num>("UTL_polygonDistToClosestEdge",
      {"it": it._jsonEncode(), "point": point._jsonEncode()});
}