distanceBetweenPoints static method

double distanceBetweenPoints(
  1. Point from,
  2. Point to
)

@brief Get distance between points @param from start point of calculation @see Point "Point" @param to end point of calculation @see Point "Point" @return distance in meters

Dart code snippet: @snippet geometry_utils_example.dart dart_GeometryUtils_distanceBetweenPoints

Implementation

static double distanceBetweenPoints(Point from, Point to) => $prototype.distanceBetweenPoints(from, to);