Exemplo n.º 1
0
 public Orthotope1DoubleMap(Orthotope1Double source, IFactory <IMap <double, double>, OrderedRange <double>, OrderedRange <double> > mapper)
     : this(source, new Orthotope1Double(new OrderedRange <double>(0, 1)), mapper)
 {
 }
Exemplo n.º 2
0
 public static Orthotope1Double Map(this IMap <Vector1Double, Vector1Double> map, Orthotope1Double orthotope)
 {
     return(new Orthotope1Double(map.Map(orthotope.Start), map.Map(orthotope.End)));
 }
Exemplo n.º 3
0
 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;
 }