fmeobjects.FMEPath.extendToPoint

FMEPath.extendToPoint(point)

Extends the path to a point. If the point is 2D and the path is 3D, the point will be set to 3D with a Z value of 0.0. If the path is 2D and the point is 3D, the segments in the path will be set to 3D with 0.0 for Z values. If None is passed in, nothing will be appended.

Parameters:

point (FMEPoint) – The point to be extended to.

Return type:

None

Raises:

FMEException – An exception is raised if an error occurred.