Ejemplo n.º 1
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="s1"></param>
 /// <param name="s2"></param>
 /// <returns></returns>
 public static SkeletonDiff Diff(ISkeleton s1, ISkeleton s2)
 {
     var skelDiff = new SkeletonDiff {Root = SkeletonDiff.Diff(s1.Root, s2.Root)};
     return skelDiff;
 }
Ejemplo n.º 2
0
        public static SkeletonDiff Div(SkeletonDiff skelDiff, int divisor)
        {
            var sD = new SkeletonDiff {Root = SkeletonDiff.Div(skelDiff.Root, divisor)};

            return sD;
        }
Ejemplo n.º 3
0
 public static ISkeleton Add(ISkeleton s, SkeletonDiff diff)
 {
     var newSkeleton = new Skeleton {Root = SkeletonDiff.Add(s.Root, diff.Root)};
     return newSkeleton;
 }