RhinoCurve

class compas_rhino.geometry.RhinoCurve[source]

Bases: RhinoGeometry

Wrapper for Rhino curves.

Methods

closest_point

Compute the closest point on a curve to a point in space.

closest_points

Compute the closest points on the curve to a list of point locations.

to_compas

Convert the curve to a COMPAS curve.

to_compas_circle

Convert the curve to a COMPAS circle.

to_compas_ellipse

Convert the curve to a COMPAS ellipse.

to_compas_line

Convert the curve to a COMPAS line.

to_compas_polyline

Convert the curve to a COMPAS polyline.

Inherited Methods

from_geometry

Construct a Rhino object wrapper from an existing Rhino object.

from_guid

Try to construct a RhinoGeometry wrapper from the GUID of an existing Rhino DocObject.

from_object

Construct a Rhino object wrapper from an existing Rhino object.

transform

Transform the Rhino object.