Skip to content
Shapemetry

Model - Face functions

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

FunctionReturnsDescriptionArgTypeMeaning
Face.area(face)numberArea of the face (outer loop minus holes).faceface | faceEntitythe face
Face.centroid(face)pointCentroid of the face's outer loop vertices.faceface | faceEntitythe face
Face.contains(face, point)binaryTrue if the point lies inside the face (within outer loop, outside holes).faceface | faceEntitythe face
pointpoint | pointEntitythe query point
Face.normal(face)vectorUnit outward normal of the face's plane.faceface | faceEntitythe face
Last updated: 📖 1 min readEdit on GitHub