How to add your knowledge

dist()

    Table of contents
    1. 1. Synopsis
    2. 2. Syntax
    3. 3. Example 1
    4. 4. Example 2

    Synopsis

    Returns the distance between two points.

    Syntax

    dist ( p1 As Point, _
           p2 As Point ) As Number 
    Argument Type Description
    p1 Point First point to get the distance.
    p2 Point Second point to get the distance.

    Example 1

    Intent >dist(point(0, 0, 0), point(1, 0, 0)) 
    --> 1.0 

    Example 2

    Intent >dist(point(0, 0, 0), point(1, 1, 1)) 
    --> 1.732