pointPlane
Determines if given point is above, on or below plane made by 3 other given points.
Install
npm install point-plane
Example
var pointPlane = console
API
require("pointPlane")(a,b,c,d)
Determines if given point d is above, on or below plane made by 3 other given points (a, b, and c).
a, b, c, and d
are 3-D points encoded as arrays of length 3.
Returns 1 if above plane, 0 if on plane, and -1 if below plane.
Credits
(c) 2013 Brandon Korf. MIT License