createLayerDict

pyslm.geometry.createLayerDict(layerList)

Create a dict from a list of Layers with a key (LayerId) and the corresponding Layer as a value.

Parameters:

layerList (List[Layer]) – A list of layers with a unique LayerId

Return type:

Dict[int, Layer]

Returns:

A Dict Structure with Layers