Click or drag to resize

MeshCreateFromLines Method

Creates a mesh by analizing the edge structure. Input lines could be from the extraction of edges from an original mesh.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
public static Mesh CreateFromLines(
	Curve[] lines,
	int maxFaceValence,
	double tolerance


Type: Rhino.GeometryCurve
Lines to use for computation. If curve is non-linear, curve ends are used
Type: SystemInt32
The maximum number of edges per face.
Type: SystemDouble
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

Rhino for Windows

Supported in: 6.27
See Also