fmeobjects.FMEGeometryInstance.scale

FMEGeometryInstance.scale(xscale, yscale, zscale)

Applies a scale factor to the geometry instance. The scale factor will be applied to the transformation matrix associated with this geometry instance. The ‘zscale’ is ignored if geometry is 2D. If the geometry instance has no matrix, a new matrix will be created.

Parameters:
  • xscale (float) – The x scale factor.

  • yscale (float) – The y scale factor.

  • zscale (float) – The z scale factor.

Return type:

None

Raises:

FMEException – An exception is raised if an error occurred.