M_Rhino_Geometry_Mesh_CreateFromLines - mcneel/rhinocommon-api-docs GitHub Wiki

Mesh.CreateFromLines Method

Creates a mesh by analizing the edge structure that could result from the extraction of edges from an original mesh.

Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0

Syntax

C#

public static Mesh CreateFromLines(
	Curve[] lines,
	int maxFaceValence,
	double tolerance
)

VB

Public Shared Function CreateFromLines ( 
	lines As Curve(),
	maxFaceValence As Integer,
	tolerance As Double
) As Mesh

Parameters

 

lines
Type: Rhino.Geometry.Curve[]
Lines to use for computation.
maxFaceValence
Type: System.Int32
The maximum valence for faces to be probed.
tolerance
Type: System.Double
The distance after which two end points of lines are considered coincident.

Return Value

Type: Mesh
A new mesh, or null if no mesh is constructed.

Version Information

Supported in: 6.0.16224.21491

See Also

Reference

Mesh Class
Rhino.Geometry Namespace

⚠️ **GitHub.com Fallback** ⚠️