<vizmat>.Distance

Simple distance calculation between 2 points

 

<vizmat>.Distance(
    p1    # [x,y,z]
    p2    # [x,y,z]

)

 

p1

The first point


p2

The second point


Remarks

This command will return the distance between two 3d points

Return Value

The distance between the points

Example

import vizmat

p1 = [1,3,4]
p2 = [3,4,5]

distance = vizmat.Distance(p1,p2)