Ejemplo n.º 1
0
        public static Point[] ConnectedVtx(this Mesh m, Point searchPoint)
        {
            int[] conectedVtxID = DMInterop.GetConnectedPointID(m, searchPoint);

            List <Point> connectedVtx = new List <Point>(conectedVtxID.Length);

            foreach (var id in conectedVtxID)
            {
                connectedVtx.Add(m.VertexPositions[id]);
            }

            return(connectedVtx.ToArray());
        }
Ejemplo n.º 2
0
 public static int[] ConnectedVtxID(this Mesh m, int vtxIndex)
 {
     return(DMInterop.GetConnectedPointID(m, vtxIndex));
 }
Ejemplo n.º 3
0
 public static int[] ConnectedVtxID(this Mesh m, Point searchPoint)
 {
     return(DMInterop.GetConnectedPointID(m, searchPoint));
 }