Point.Distance

Point.Distance method

Calculates distance between two points.

public static double Distance(Point point1, Point point2)
ParameterTypeDescription
point1PointThe first point.
point2PointThe second point.

Return Value

Distance between two points.

See Also