Exemplo n.º 1
0
 /// <summary>
 ///
 /// </summary>
 /// <typeparam name="T"></typeparam>
 /// <typeparam name="U"></typeparam>
 /// <param name="other"></param>
 /// <param name="converter"></param>
 /// <returns></returns>
 public static IDWMesh3d <T> Create <T, U>(IDWMesh3d <U> other, Func <U, T> converter)
 {
     return(new IDWMesh3d <T>()
     {
         Mesh = other.Mesh,
         Value = converter(other.Value),
         Influence = other.Influence
     });
 }
Exemplo n.º 2
0
 /// <summary>
 ///
 /// </summary>
 /// <typeparam name="T"></typeparam>
 /// <param name="other"></param>
 /// <returns></returns>
 public static IDWMesh3d <T> Create <T>(IDWMesh3d <T> other)
 {
     return(new IDWMesh3d <T>()
     {
         Mesh = other.Mesh,
         Value = other.Value,
         Influence = other.Influence
     });
 }