dist

Method:

dist - distance to given point

Syntax:

dist = v.dist(v2);

Parameters:

v2 - vector

Returns:

dist - distance

Description:

Measure the distance between two points specified by 'v' and 'v2'

Example:

v = new r3Vect(1, 0, 0);