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.
Convert the curve to a COMPAS circle.
Convert the curve to a COMPAS ellipse.
Convert the curve to a COMPAS line.
Convert the curve to a COMPAS polyline.
transform
(T)Transform the Rhino object.