
 
returns true, iff the signed distance from point q to plane p is smaller than the signed distance from point r to p.  

 
returns true, iff the signed distance from point q to the plane
p defined by p1, p2, p3 is smaller than the signed distance
from point r to p. Precondition: $$p, q, and $$r are not collinear. 