RhinoSurface

class compas_rhino.geometry.RhinoSurface[source]

Bases: compas_rhino.geometry._geometry.RhinoGeometry

Wrapper for Rhino surfaces.

Methods

closest_point(xyz)

Return the XYZ coordinates of the closest point on the surface from input XYZ-coordinates.

closest_points(points)

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_mesh(nu[, nv, weld, facefilter, cls])

Convert the surface to a COMPAS mesh.

transform(T)

Transform the Rhino object.