Line.point

Line.point(t)[source]

A point between start and end at a specific normalized parameter.

Parameters

t (float) – The line parameter.

Returns

compas.geometry.Point – A point on the line.

Examples

>>> line = Line([0.0, 0.0, 0.0], [1.0, 0.0, 0.0])
>>> line.point(0.5)
Point(0.500, 0.000, 0.000)