OCCNurbsCurve.to_points

OCCNurbsCurve.to_points(n=10, domain=None)

Convert the curve to a list of points.

Parameters:
nint, optional

The number of points in the list. Default is 10.

domaintuple, optional

Subset of the domain to use for the discretisation. Default is None, in which case the entire curve domain is used.

Returns:
list[compas.geometry.Point]