Interface FlattenResult

Result from flatten

interface FlattenResult {
    dim: 2 | 3;
    holeIndices: number[];
    vertices: number[];
}

Properties

dim: 2 | 3

The number of dimensions. Either 2 or 3

holeIndices: number[]

The indices of the triangulation

vertices: number[]

The flattened vertices