fmeobjects.FMEGeometryTools.applyTransformationToTextureCoordinates

FMEGeometryTools.applyTransformationToTextureCoordinates(surface, applyOnlyIfShearExists)

Apply the transformation matrix of the texture to the texture coordinates if exists and that it does not have any shear if ‘applyOnlyIfShearExists’ is set to true. Note: This method should only be called once for one surface, or else the transformation matrix is applied as many times as the method is called.

Parameters:
  • surface (FMESurface) – The surface to apply the transformation to.

  • applyOnlyIfShearExists (bool) – If true only applies the transformation when a shear exists.

Return type:

None