transformLayerGeoms

pyslm.geometry.transformLayerGeoms(layerGeoms, transform)

Apply a transformation in-situ to LayerGeometry objects

Note

The function applies affine transformation matrix first and subsequently followed by translation

Parameters:
  • layerGeoms (Union[LayerGeometry, List[LayerGeometry]]) – The Layer Geometries to transform

  • transform (ndarray) – A (2x2 or 3x3) transformation matrix applied to the coordinates in each LayerGeometry

Return type:

None