NodeManhattanDistance Method |
Returns the manhattan distance between two nodes : |Dx|+|Dy|+|Dz|
Namespace:
Pathfinding
Assembly:
RebornBuddy (in RebornBuddy.exe) Version: 3.3.1; net-4.5.win32; release
Syntax public static double ManhattanDistance(
Node N1,
Node N2
)
Parameters
- N1
- Type: PathfindingNode
First node. - N2
- Type: PathfindingNode
Second node.
Return Value
Type:
DoubleDistance value.
Exceptions Exception | Condition |
---|
ArgumentNullException | Argument nodes must not be null. |
See Also