Skip to content
pyautark (soon)

@urban-toolkit/autk-core


@urban-toolkit/autk-core / LayerComponent

Interface: LayerComponent

Defined in: types-mesh.ts:37

Per-feature counts for a triangulated mesh component.

The counts let renderers relate emitted geometry back to the source feature and determine how many vertices and triangles belong to each component.

Properties

featureId?

optional featureId?: string | number

Defined in: types-mesh.ts:45

Optional stable feature identifier copied from the source data.


featureIndex

featureIndex: number

Defined in: types-mesh.ts:43

Index of the source feature represented by this component.


nPoints

nPoints: number

Defined in: types-mesh.ts:39

Number of vertices contributed by the component.


nTriangles

nTriangles: number

Defined in: types-mesh.ts:41

Number of triangles contributed by the component.

Released under the MIT License.