public method distanceTo(other as Point<NUMBER>) as Double:
Computes the Euclidean distance to another point.
other
Distance as Double.
Double
distance = Point<Double>(0.0, 0.0).distanceTo(Point<Double>(3.0, 4.0))