@huukhanhnguyen/geometry / catalog/plane
catalog/plane
distance()
distance(
plane,query):number
Signed distance from the plane to a query point (positive = normal side).
Parameters
plane
query
Returns
number
elementsOf()
elementsOf(
plane):Float64Array
Plane → kernel element buffer — the ONE Plane→Float64Array door codec; every catalog consumer that hands a plane to the kernel (this module's distance, projection's clipMeshToPlane) crosses through here.
Parameters
plane
Returns
Float64Array
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).