ToRhino Class

Extension methods to convert KarambaCommon types into Rhino types.

Definition

Namespace: Karamba.GHopper.Geometry
Assembly: karamba (in karamba.dll) Version: 1.0.0+eb23a7103f0eca0b6d808121e15fec6899194e15
C#
public static class ToRhino
Inheritance
Object    ToRhino

Methods

Convert(BoundingBox3) Converts to Rhino's BoundingBox.
Convert(Interval3) Converts to Rhino's Interval.
Convert(IReadonlyMesh) Converts to Rhino's Mesh. If the mesh is already of type [!:RhinoMesh], the underlying mesh [!:RhinoMesh.UnderlyingRhinoMesh] is returned without creating a copy of it. Otherwise, a new rhino mesh instance is created from the supplied mesh.
Convert(Line3) Converts to Rhino's Line.
Convert(Plane3) Converts to Rhino's Plane.
Convert(Point3) Converts to Rhino's Point3d.
Convert(PolyLine3) Converts to Rhino's PolylineCurve.
Convert(Vector3) Converts to Rhino's Vector3d.
Convert(Vector3) Converts to Rhino's Vector3d[].
Convert(IMesh, DictionaryIMesh, Mesh, UnitConversion) Converts to Karamba's Mesh3.
GetUnderlyingBrep Get the underlying surface of a mesh.
SetUnderlyingBrep(Mesh, IBrep) Sets the underlying surface.
SetUnderlyingBrep(Mesh, Brep) Sets the underlying surface.

See Also