
 
returns true iff the signed distance of p and h is larger than the signed distance of q and h.  

 
returns true iff the signed distance of s and h is larger than the signed distance of t and h, where h is the oriented plane through p, q and r. 