コード例 #1
0
 /// <summary>
 ///
 /// </summary>
 /// <typeparam name="T"></typeparam>
 /// <param name="other"></param>
 /// <returns></returns>
 public static IDWConstant3d <T> Create <T, U>(IDWConstant3d <U> other, Func <U, T> converter)
 {
     return(new IDWConstant3d <T>()
     {
         Distance = other.Distance,
         Value = converter(other.Value),
         Influence = other.Influence
     });
 }
コード例 #2
0
 /// <summary>
 ///
 /// </summary>
 /// <typeparam name="T"></typeparam>
 /// <param name="other"></param>
 /// <returns></returns>
 public static IDWConstant3d <T> Create <T>(IDWConstant3d <T> other)
 {
     return(new IDWConstant3d <T>()
     {
         Distance = other.Distance,
         Value = other.Value,
         Influence = other.Influence
     });
 }