fmeobjects.FMERasterProperties.setCellOriginX

FMERasterProperties.setCellOriginX(xCellOrigin)

This method sets horizontal position of the cell origin within each cell.

Once cell origin is specified, it applies to all cells.

Parameters:

xCellOrigin (float) – horizontal position of the cell origin within each cell. Cell origin is a normalized value so the value should be in the range of 0.0 to 1.0 inclusive. For example, cell with origin set to (0.5, 0.5) will have its origin at the center.

Return type:

None

Raises:

FMEException – An exception is raised if an error occurred.