gemgis.utils.set_resolution#

gemgis.utils.set_resolution(x: int, y: int, z: int) List[int]#

Setting the resolution for a model

Parameters
  • x (int) – Value defining the resolution in X direction, e.g. x=50

  • y (int) – Value defining the resolution in Y direction, e.g. y=50

  • z (int) – Value defining the resolution in Z direction, e.g. z=50

Returns

resolution – List containing resolution values

Return type

List[int]

New in version 1.0.x.

Example

>>> # Loading Libraries and setting the resolution
>>> import gemgis as gg
>>> res = gg.utils.set_resolution(x=50, y=50, z=50)
>>> res
[50, 50, 50]