algorithmic modeling for Rhino
Delaunay is not part of Rhinocommon but of Grasshopper. The VB code to create a delaunay mesh would be:
Dim nodes As New Grasshopper.Kernel.Geometry.Node2List
For i As Integer = 0 To p.Count - 1
nodes.Append(New Grasshopper.Kernel.Geometry.Node2(p(i).x, p(i).y))
Next
Dim m As mesh = grasshopper.Kernel.Geometry.Delaunay.Solver.Solve_Mesh(nodes, 0, Nothing)
a = m
The input is 'p' as a list of points.
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by