Skip to content
Shapemetry

Model - Plane functions

Every function callable as Plane.* inside an expression — an argument input, a parameter binding, a table cell. Pure: no side effects, no async.

FunctionReturnsDescriptionArgTypeMeaning
Plane.distance(plane, query)numberSigned distance from the plane to a point (+ = normal side).planeplanethe plane
querypoint | pointEntitythe query point
Plane.fromPointNormal(point, normal)planePlane {point,normal} through a point with the given normal.pointpoint | pointEntitya point lying on the plane
normalvectorthe plane's normal (need not be unit; it is normalized)
Plane.normal(plane)vectorThe plane's unit normal.planeplanethe plane
Plane.point(plane)pointThe point on the plane (as passed to fromPointNormal).planeplanethe plane
Last updated: 📖 1 min readEdit on GitHub