Esempio n. 1
0
 public static Polyline NgonBoundary(this Mesh mesh, MeshNgon nGon)
 {
     return(new Polyline(from index in nGon.BoundaryVertexIndexList()
                         select new Point3d(mesh.Vertices[Convert.ToInt32(index)])));
 }