RhinoCurve

class compas_rhino.geometry.RhinoCurve[source]

Bases: compas_rhino.geometry._geometry.RhinoGeometry

Wrapper for Rhino curves.

Methods

closest_point(point[, maxdist, return_param])

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

closest_points(points[, maxdist])

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

from_geometry(geometry)

Construct a Rhino object wrapper from an existing Rhino object.

from_guid(guid)

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

from_object(obj)

Construct a Rhino object wrapper from an existing Rhino object.

to_compas()

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.

transform(T)

Transform the Rhino object.