Пример #1
0
 /// <summary>
 ///
 /// </summary>
 /// <typeparam name="T"></typeparam>
 /// <typeparam name="U"></typeparam>
 /// <param name="other"></param>
 /// <param name="converter"></param>
 /// <returns></returns>
 public static IDWPoint3d <T> Create <T, U>(IDWPoint3d <U> other, Func <U, T> converter)
 {
     return(new IDWPoint3d <T>()
     {
         Point = other.Point,
         Value = converter(other.Value),
         Influence = other.Influence
     });
 }
Пример #2
0
 /// <summary>
 ///
 /// </summary>
 /// <typeparam name="T"></typeparam>
 /// <param name="other"></param>
 /// <returns></returns>
 public static IDWPoint3d <T> Create <T>(IDWPoint3d <T> other)
 {
     return(new IDWPoint3d <T>()
     {
         Point = other.Point,
         Value = other.Value,
         Influence = other.Influence
     });
 }