flywave-terrain-datasource.deserializegroundmodificationpolygon
Home > @flywave/flywave-terrain-datasource > deserializeGroundModificationPolygon
deserializeGroundModificationPolygon() function
Deserializes a SerializedGroundModificationPolygon back to a GroundModificationPolygon
Reconstructs geometry objects from JSON representations. This is the inverse operation of serializeGroundModificationPolygon and is used when loading modifications from storage or receiving them from web workers.
Signature:
export declare function deserializeGroundModificationPolygon(serialized: SerializedGroundModificationPolygon): GroundModificationPolygon;
Parameters
Parameter | Type | Description |
|---|---|---|
serialized | The serialized polygon data to deserialize |
Returns:
[GroundModificationPolygon](./flywave-terrain-datasource.groundmodificationpolygon.md)
GroundModificationPolygon with reconstructed geometry objects