Vector.dist(v1, v2)

Static function. Calculates the Euclidean distance between two points (considering a point as a vector object). Is meant to be called “static” i.e. Vector.dist(v1, v2);

Type: function

Parameter(s):

  • v1 {Vector}:

    The first vector.

  • v2 {Vector}:

    The second vector.

Returns:

  • {Number}:

    The distance.

} kind: function todo: null examples: []