Click or drag to resize

IGridPointTPointDistanceFrom Method

The lattice distance between two points. Two points should have a distance of 1 if and only if they are neighbors.

Namespace:  Gamelogic.Grids
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
int DistanceFrom(
	TPoint other
)

Parameters

other
Type: TPoint

Return Value

Type: Int32
See Also