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))); }
public override TMath GetDimensionValue(AbsoluteKeyPoint <TKey, TValue> value, int dimension) { return(_keyPointInterpolationProvider.GetDimensionValue(value.KeyPoint, dimension)); }