Table of Contents

Property ManhattanLength

Namespace
LMKit.Graphics.Geometry
Assembly
LM-Kit.NET.dll

ManhattanLength

Gets the Manhattan length (L1 norm) of this point treated as a vector from the origin.

public double ManhattanLength { get; }

Property Value

double

The value |X| + |Y|.

Remarks

This is the distance from the origin using the Manhattan (taxicab) metric. For the Euclidean length, use Distance(Point, Point) with Origin as one of the arguments.