mesh.transformed
A copy of the mesh with a transform applied to every point.
Usage
mesh.transformed(xf: Transform): MeshParameters
xfTransformThe transform (column-major).
Returns
A new mesh; the original is unchanged.
Guarantees
- volume() keeps its sign under a mirror
- face count and topology are unchanged
- The same result on every machine.
Example
const m = Mesh.box().value.transformed(Transform.scale(2))
m.volume().value // → 8