Geom.distance()¶
Description¶
Calculates the distance between two points.
Syntax¶
Parameters¶
| Parameter | Type | Description |
|---|---|---|
p1 |
Point3 |
Point 1. |
p2 |
Point3 |
Point 2. |
Return value¶
| Type | Description |
|---|---|
Number |
The distance between the two points. |
Example¶
| JS | |
|---|---|