Line.from_native

classmethod Line.from_native(curve)[source]

Construct a parametric curve from a native curve geometry.

Parameters:
curve

A native curve object.

Returns:
compas.geometry.Curve

A COMPAS curve.