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 public static double SquareEuclidianDistance(
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