Line.point_from_end

Line.point_from_end(distance)[source]

Construct a point along the line at a distance from the end point.

Parameters:
distancefloat

The distance along the line from the end point towards the start point. If the distance is negative, the point is constructed in the opposite direction of the start point. If the distance is larger than the length of the line, the point is constructed beyond the start point.

Returns:
compas.geometry.Point

The point at the specified distance.