Click or drag to resize

NodeSquareEuclidianDistance Method

Returns the square euclidian distance between two nodes : Dx²+Dy²+Dz²

Namespace:  Pathfinding
Assembly:  RebornBuddy (in RebornBuddy.exe) Version: 3.3.1; net-4.5.win32; release
Syntax
C#
public static double SquareEuclidianDistance(
	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