Skip to content

Function: slabGeometry() ​

ts
function slabGeometry(tri, t): SlabGeometry;

Experimental

The slab geometry of a fill triangulation for a data → world transform. Vertices at the same point count as one, so an edge two triangles share is found however they number it.

Parameters ​

ParameterType
triPick<FillTriangulation, "positions" | "indices" | "vertexStarts">
tDataTransform

Returns ​

SlabGeometry

Released under the MIT License.