readElementMeshes Function

Convert the output of IModelConnection.generateElementMeshes into an array of Polyfaces.

readElementMeshes(data: Uint8Array): IndexedPolyface[]

@returns a list of decoded polyfaces.

Parameter Type Description
data Uint8Array Encoded polyfaces obtained from IModelConnection.generateElementMeshes.

Returns - IndexedPolyface[]

a list of decoded polyfaces.

Defined in

Last Updated: 21 November, 2024