| point2line index |
||||||||||
| Name | pointToLineDistance ( ) | |||||||||
| Description | Calculates the distance from a point to a line. The distance is positive on the right side of the line (following point A to B), and negative on the other side. The distance is calculated as if the line continues infinitely in both directions. |
|||||||||
| Syntax | pointToLineDistance(point, linePointA, linePointB); |
|||||||||
| Parameters |
|
|||||||||
| Returns | distance (float) |
|||||||||
| Usage | Web & Application | |||||||||
| Related | ||||||||||
| Examples | |
|||||||||