Line.point_at

Line.point_at(t)[source]

Construct a point at a specific location along the line.

Parameters:
tfloat

The location along the line.

Returns:
compas.geometry.Point

The point at the specified location.

See also

tangent_at()

Examples

>>> line = Line([0, 0, 0], [1, 1, 1])
>>> line.point_at(0.5)
Point(0.500, 0.500, 0.500)