Example #1
0
 internal EpsgPrimeMeridian(ushort code, string name, double longitude, EpsgUnit unit)
 {
     Contract.Requires(!String.IsNullOrEmpty(name));
     Contract.Requires(unit != null);
     Code = code;
     Unit = unit;
     Longitude = longitude;
     Name = name;
 }
Example #2
0
 internal EpsgPrimeMeridian(ushort code, string name, double longitude, EpsgUnit unit)
 {
     Contract.Requires(!String.IsNullOrEmpty(name));
     Contract.Requires(unit != null);
     Code      = code;
     Unit      = unit;
     Longitude = longitude;
     Name      = name;
 }
Example #3
0
 internal EpsgEllipsoid(ushort code, string name, EpsgUnit unit, ISpheroid<double> core)
 {
     Contract.Requires(!String.IsNullOrEmpty(name));
     Contract.Requires(unit != null);
     Contract.Requires(core != null);
     _code = code;
     Name = name;
     Core = core;
     AxisUnit = unit;
 }
Example #4
0
 internal EpsgEllipsoid(ushort code, string name, EpsgUnit unit, ISpheroid <double> core)
 {
     Contract.Requires(!String.IsNullOrEmpty(name));
     Contract.Requires(unit != null);
     Contract.Requires(core != null);
     _code    = code;
     Name     = name;
     Core     = core;
     AxisUnit = unit;
 }
Example #5
0
 internal EpsgAxis(string name, string abbreviation, string orientation, EpsgUnit unit)
 {
     Contract.Requires(!String.IsNullOrEmpty(name));
     Contract.Requires(!String.IsNullOrEmpty(abbreviation));
     Contract.Requires(!String.IsNullOrEmpty(orientation));
     Contract.Requires(unit != null);
     Name         = name;
     Abbreviation = abbreviation;
     Orientation  = orientation;
     Unit         = unit;
 }
Example #6
0
 internal EpsgAxis(string name, string abbreviation, string orientation, EpsgUnit unit)
 {
     Contract.Requires(!String.IsNullOrEmpty(name));
     Contract.Requires(!String.IsNullOrEmpty(abbreviation));
     Contract.Requires(!String.IsNullOrEmpty(orientation));
     Contract.Requires(unit != null);
     Name = name;
     Abbreviation = abbreviation;
     Orientation = orientation;
     Unit = unit;
 }