fmeobjects.FMEAggregate.getPartAtInLocalCoordinates

FMEAggregate.getPartAtInLocalCoordinates()

getPartAtInLocalCoordinates(index),

This method returns the geometry at the given index. None is returned if the index is out of range. For an aggregate with a transformation matrix, it will NOT be applied to the part.

Parameters:

index (int) – The index of the geometry part to return.

Return type:

FMEGeometry or None

Returns:

The geometry at the given index. Note: This method returns a terminal geometry type of the FMEGeometry; i.e. one of the leaf classes in the FMEGeometry inheritance graph. For example, a FMEPoint is returned if the geometry truly is a point.

Raises:

FMEException – An exception is raised if an error occurred.