Click or drag to resize

NodeMaxDistanceAlongAxis Method

Returns the maximum distance between two nodes : Max(|Dx|, |Dy|, |Dz|)

Namespace:  Pathfinding
Assembly:  RebornBuddy (in RebornBuddy.exe) Version: 3.3.1; net-4.5.win32; release
Syntax
C#
public static double MaxDistanceAlongAxis(
	Node N1,
	Node N2
)

Parameters

N1
Type: PathfindingNode
First node.
N2
Type: PathfindingNode
Second node.

Return Value

Type: Double
Distance value.
Exceptions
ExceptionCondition
ArgumentNullExceptionArgument nodes must not be null.
See Also