Click or drag to resize

ToRhinoConvert Method (IReadonlyMesh)

Converts to Rhino's Mesh. If the mesh is already of type RhinoMesh, the underlying mesh Mesh is returned without creating a copy of it. Otherwise, a new rhino mesh instance is created from the supplied mesh.

Namespace:  Karamba.GHopper.Geometry
Assembly:  Karamba3D (in Karamba3D.dll) Version: 2.2.0.5 (2.2.0.5)
Syntax
public static Mesh Convert(
	this IReadonlyMesh mesh
)

Parameters

mesh
Type: Karamba.GeometryIReadonlyMesh
IReadonlyMesh to be converted.

Return Value

Type: Mesh
PolylineCurve.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IReadonlyMesh. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Remarks
The following attributes/properties are taken into account.
  1. Mesh topology (vertices, faces)
  2. Vertex normals
  3. Vertex colors
See Also