fmeobjects.FMELine.insertPointAtIndex

FMELine.insertPointAtIndex(point, index)

Insert ‘point’ at ‘index’. All points from that index on will be shifted to allow room for the new point. Any new measures added to the point will be set a default of None.

Parameters:
  • point (FMEPoint) – The point to insert.

  • index (int) – The index of the point to remove.

Return type:

None

Raises:

FMEException – An exception is raised if an error occurred.