public Orthotope1DoubleMap(Orthotope1Double source, IFactory <IMap <double, double>, OrderedRange <double>, OrderedRange <double> > mapper) : this(source, new Orthotope1Double(new OrderedRange <double>(0, 1)), mapper) { }
public static Orthotope1Double Map(this IMap <Vector1Double, Vector1Double> map, Orthotope1Double orthotope) { return(new Orthotope1Double(map.Map(orthotope.Start), map.Map(orthotope.End))); }
public Orthotope1DoubleMap(Orthotope1Double source, Orthotope1Double destination, IFactory <IMap <double, double>, OrderedRange <double>, OrderedRange <double> > mapper) : base(mapper.Create(source.RangeX, destination.RangeX)) { this.source = source; this.destination = destination; }