Line.point_from_start

Line.point_from_start(distance)[source]

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

Parameters:
distancefloat

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

Returns:
compas.geometry.Point

The point at the specified distance.