Table of Contents

Method ManhattanNorm

Namespace
Gamelogic.Grids2
Assembly
Gamelogic.Grids2.dll

ManhattanNorm(GridPoint2)

Returns the Manhattan norm of a point, defined as the sum of the absolute values of the coordinates.

public static int ManhattanNorm(GridPoint2 point)

Parameters

point GridPoint2

Returns

int

ManhattanNorm(Vector2)

Returns the Manhattan norm of a point, defined as the sum of the absolute values of the coordinates.

[Version(2, 3, 10)]
public static float ManhattanNorm(Vector2 point)

Parameters

point Vector2

Returns

float