Returns the distance between two points .
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. |
Intent >dist(point(0, 0, 0), point(1, 0, 0)) --> 1.0
Intent >dist(point(0, 0, 0), point(1, 1, 1)) --> 1.732