Point.ManhattanDistance Method

Returns the "Manhattan distance" between two points.

Definition

Namespace: Extreme.Mathematics.Curves
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public static double ManhattanDistance(
	Point point1,
	Point point2
)

Parameters

point1  Point
A Point structure for the first point.
point2  Point
A Point structure for the second point.

Return Value

Double
The sum of the absolute differences of the coordinates of point1 and point2.

See Also