コード例 #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)
 {
 }
コード例 #2
0
ファイル: Maps.cs プロジェクト: julianbrunner/krach
 public static Orthotope1Double Map(this IMap <Vector1Double, Vector1Double> map, Orthotope1Double orthotope)
 {
     return(new Orthotope1Double(map.Map(orthotope.Start), map.Map(orthotope.End)));
 }
コード例 #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;
 }