dist3

Get the distance between two 3-dimensional vectors.

Signatures

  •   Paramate.Math3D.dist3( a, b )

Details

The function calculates the geometric distance between two points represented by two 3-dimensional vectors:

 || a - b || 

.

Parameters

a

First vector of type [<number>, <number>, <number>].

b

Second vector of type [<number>, <number>, <number>].

Return value

A number that is the geometric distance between the two points represented by the input vectors.