RhinoCommon API
MeshCreateFromLines 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)
public static Mesh CreateFromLines( Curve[] lines, int maxFaceValence, double tolerance )
Public Shared Function CreateFromLines ( lines As Curve(), maxFaceValence As Integer, tolerance As Double ) As Mesh
Parameters
- lines
- Type: Rhino.GeometryCurve
Lines to use for computation. - maxFaceValence
- Type: SystemInt32
The maximum valence for faces to be probed. - tolerance
- Type: SystemDouble
The distance after which two end points of lines are considered coincident.
Return Value
Type: MeshA new mesh, or null if no mesh is constructed.