onplane (<point>,<point1>,<point2> {,<num>})
numeric
Whether a 3-D point lies on a plane: one if it does, zero if it doesn’t.
<point>
The point to be
tested.
<point1>
Any point on the plane.
<point2>
A 3-D vector defining the normal to the plane.
<num>
A user-supplied closeness
tolerance. If omitted, a tolerance of 0.0000001 is used.
if (onplane(myp,p1,(0,1,0))) !Point is on plane
Functions: |