Tests to see if a point lies on a line.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=real64), | intent(in) | :: | pt(3) |
The point. |
||
| class(line), | intent(in) | :: | ln |
The line. |
||
| real(kind=real64), | intent(in), | optional | :: | tol |
The tolerance to use when testing. The default tolerance is 10x machine epsilon. |
Returns true if the point lies on the line; else, false.