| point2line index |
|||||||
| Name | isLessThan ( ) | ||||||
| Description | Returns a boolean that is true if the vector is shorter than the input magnitude. This function is about ten times faster than a regular distance check, because it avoids using square root and division. | ||||||
| Syntax | isLessThan(magnitude); |
||||||
| Parameters |
|
||||||
| Returns | true if the vector is shorter than the given magnitude (boolean) |
||||||
| Usage | Web & Application | ||||||
| Related | isGreaterThan ( ) isZero ( ) isAlmostZero ( ) |
||||||
| Examples | |
||||||