fmeobjects.FMELine.appendPoint
- FMELine.appendPoint(point)
Appends ‘point’ to the end of the line. Lines with no coordinates will have their dimension set based on the first append call made. The line’s points will be forced to have a consistent dimension. If a 2D point is appended to a 3D line, the point will be changed to 3D with a Z value of 0.0. If a 3D point is appended to a 2D line, the line will be changed to 3D with 0.0 for all Z values. The points will be forced to have consistent measures. Any unspecified measure values will be set to
None
. Nothing is appended ifNone
is passed in.- Parameters:
point (FMEPoint or tuple) – The point to append to the line.
- Return type:
None
- Raises:
FMEException – An exception is raised if an error occurred.