예제 #1
0
 internal EpsgDatum(ushort code, string name, EpsgArea area)
 {
     Contract.Requires(!String.IsNullOrEmpty(name));
     Contract.Requires(area != null);
     _code = code;
     Name = name;
     Area = area;
 }
예제 #2
0
 internal EpsgCrsDatumBased(int code, string name, EpsgArea area, bool deprecated, EpsgCoordinateSystem cs)
     : base(code, name, area, deprecated)
 {
     Contract.Requires(code >= 0);
     Contract.Requires(!String.IsNullOrEmpty(name));
     Contract.Requires(area != null);
     Contract.Requires(cs != null);
     CoordinateSystem = cs;
 }
예제 #3
0
 internal EpsgCrsGeocentric(int code, string name, EpsgArea area, bool deprecated, EpsgCoordinateSystem cs, EpsgDatumGeodetic geodeticDatum, EpsgCrsGeodetic baseCrs, int baseOperationCode)
     : base(code, name, area, deprecated, cs, geodeticDatum, baseCrs, baseOperationCode)
 {
     Contract.Requires(code >= 0);
     Contract.Requires(!String.IsNullOrEmpty(name));
     Contract.Requires(area != null);
     Contract.Requires(cs != null);
     Contract.Requires(geodeticDatum != null);
 }
예제 #4
0
 internal EpsgCrsVertical(int code, string name, EpsgArea area, bool deprecated, EpsgCoordinateSystem cs, EpsgDatumVertical datum)
     : base(code, name, area, deprecated, cs)
 {
     Contract.Requires(code >= 0);
     Contract.Requires(!String.IsNullOrEmpty(name));
     Contract.Requires(area != null);
     Contract.Requires(cs != null);
     Contract.Requires(datum != null);
     VerticalDatum = datum;
 }
예제 #5
0
 internal EpsgCrs(int code, string name, EpsgArea area, bool deprecated)
 {
     Contract.Requires(code >= 0);
     Contract.Requires(!String.IsNullOrEmpty(name));
     Contract.Requires(area != null);
     _code = code;
     Name = name;
     _area = area;
     _deprecated = deprecated;
 }
예제 #6
0
 internal EpsgCrsProjected(int code, string name, EpsgArea area, bool deprecated, EpsgCoordinateSystem cs, EpsgDatumGeodetic datum, EpsgCrsGeodetic baseCrs, int projectionCode)
     : base(code, name, area, deprecated, cs, datum, baseCrs, projectionCode)
 {
     Contract.Requires(code >= 0);
     Contract.Requires(!String.IsNullOrEmpty(name));
     Contract.Requires(area != null);
     Contract.Requires(baseCrs != null);
     Contract.Requires(cs != null);
     Contract.Requires(datum != null);
 }
예제 #7
0
 internal EpsgCrsCompound(
     int code, string name, EpsgArea area, bool deprecated,
     EpsgCrsDatumBased horizontal, EpsgCrsVertical vertical
     )
     : base(code, name, area, deprecated)
 {
     Contract.Requires(code >= 0);
     Contract.Requires(!String.IsNullOrEmpty(name));
     Contract.Requires(area != null);
     Contract.Requires(horizontal != null);
     Contract.Requires(vertical != null);
     Horizontal = horizontal;
     Vertical = vertical;
 }
예제 #8
0
 internal EpsgDatumEngineering(ushort code, string name, EpsgArea area)
     : base(code, name, area)
 {
     Contract.Requires(!String.IsNullOrEmpty(name));
     Contract.Requires(area != null);
 }
예제 #9
0
 protected EpsgDatumContracts(string name, EpsgArea area)
     : base(0, name, area)
 {
     Contract.Requires(!String.IsNullOrEmpty(name));
     Contract.Requires(area != null);
 }
예제 #10
0
 internal static EpsgDatumVertical Create(ushort code, string name, EpsgArea area)
 {
     return new EpsgDatumVertical(code, name, area);
 }
예제 #11
0
 internal EpsgDatumGeodetic(ushort code, string name, EpsgEllipsoid spheroid, EpsgPrimeMeridian primeMeridian, EpsgArea area)
     : base(code, name, area)
 {
     Contract.Requires(spheroid != null);
     Contract.Requires(primeMeridian != null);
     Contract.Requires(area != null);
     Contract.Requires(!String.IsNullOrEmpty(name));
     Spheroid = spheroid;
     PrimeMeridian = primeMeridian;
     _basicWgs84Transformation = new Lazy<Helmert7Transformation>(FindBasicWgs84Transformation, LazyThreadSafetyMode.ExecutionAndPublication);
 }
예제 #12
0
 internal static EpsgDatumEngineering Create(ushort code, string name, EpsgArea area)
 {
     return new EpsgDatumEngineering(code, name, area);
 }