Exemplo n.º 1
0
        public override TMath RelativePosition(AbsoluteKeyPoint <TKey, TValue> from, AbsoluteKeyPoint <TKey, TValue> to)
        {
            TKey key = Operator <TKey> .Subtract(@from.Key, to.Key);

            return(CastOperator <double, TMath> .Cast(CastOperator <TKey, double> .Cast(key)));
        }
Exemplo n.º 2
0
 public override TMath GetDimensionValue(AbsoluteKeyPoint <TKey, TValue> value, int dimension)
 {
     return(_keyPointInterpolationProvider.GetDimensionValue(value.KeyPoint, dimension));
 }