fmeobjects.FMEFeature.scale

FMEFeature.scale(x, y, z)

Scale the feature by the given amounts. (2D or 3D)

Parameters:
  • x (float) – The value to scale x by.

  • y (float) – The value to scale y by.

  • z (float) – (Optional) The value to scale z by. (Default value is 1.0)

Return type:

None

Raises:

FMEException – An exception is raised if an error occurred.