std-ptonseg-p | ![]() |
STD-PTONSEG-P
returns T if the point testpt is exactly on the straight line segment between p1 and p2 (including equal to one of the points) and nil otherwise (below, above or outside)
The used numeric tolerance is 1e-6. (i.e. 0.000001)
p1, p2, testpt: 2d or 3d points
T or nil
None.
(std-require 'STDPOINT)
Defined in STDPOINT since v0.4008.