Description Usage Arguments Value
Distance to a line segment
DistanceToLineSegment
Computes the distance between a point and the nearest point on a line segment
1 | DistanceToLineSegment(px, py, ax, ay, bx, by)
|
px |
The x coordinate of a point. |
py |
The y coordinate of a point. |
ax |
The x coordinate of one end of a line. |
ay |
The y coordinate of one end of a line. |
bx |
The x coordinate of the other end of a line. |
by |
The y coordinate of the other end of a line. |
The distance.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.