|
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)
Syntaxpublic static Mesh Convert(
this IReadonlyMesh mesh
)
<ExtensionAttribute>
Public Shared Function Convert (
mesh As IReadonlyMesh
) As Mesh
public:
[ExtensionAttribute]
static Mesh^ Convert(
IReadonlyMesh^ mesh
)
[<ExtensionAttribute>]
static member Convert :
mesh : IReadonlyMesh -> Mesh
Parameters
- mesh
- Type: Karamba.GeometryIReadonlyMesh
IReadonlyMesh to be converted.
Return Value
Type:
MeshPolylineCurve.
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.
- Mesh topology (vertices, faces)
- Vertex normals
- Vertex colors
See Also