@huukhanhnguyen/model / nodeMethods/plane
nodeMethods/plane
distance()
distance(
plane,query):number
Signed distance from the plane to a query point (positive = normal side).
Parameters
plane
query
Returns
number
fromPointNormal()
fromPointNormal(
point,normal):Plane
Build a plane from a point on it and its normal (normalized).
Parameters
point
normal
Returns
normal()
normal(
plane):Vector
Parameters
plane
Returns
point()
point(
plane):Point
The point passed to fromPointNormal (not plane_origin foot-of-perpendicular).