コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ProjectedCoordinateReferenceSystem" /> class.
 /// </summary>
 /// <param name="identifier">The identifier.</param>
 /// <param name="name">The name.</param>
 /// <param name="remarks">The remarks.</param>
 /// <param name="aliases">The aliases.</param>
 /// <param name="scope">The scope.</param>
 /// <param name="baseReferenceSystem">The base reference system.</param>
 /// <param name="coordinateSystem">The coordinate system.</param>
 /// <param name="areaOfUse">The area of use.</param>
 /// <param name="projection">The projection.</param>
 /// <exception cref="System.ArgumentNullException">
 /// The identifier is null.
 /// or
 /// The coordinate system is null.
 /// or
 /// The datum is null.
 /// or
 /// The area of use is null.
 /// or
 /// The base reference system is null.
 /// or
 /// The projection is null.
 /// </exception>
 public ProjectedCoordinateReferenceSystem(String identifier, String name, String remarks, String[] aliases, String scope, GeographicCoordinateReferenceSystem baseReferenceSystem, CoordinateSystem coordinateSystem, AreaOfUse areaOfUse, CoordinateProjection projection)
     : base(identifier, name, remarks, aliases, scope, coordinateSystem, baseReferenceSystem?.Datum, areaOfUse)
 {
     this.BaseReferenceSystem = baseReferenceSystem ?? throw new ArgumentNullException(nameof(baseReferenceSystem));
     this.Projection          = projection ?? throw new ArgumentNullException(nameof(projection));
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ProjectedCoordinateReferenceSystem" /> class.
 /// </summary>
 /// <param name="identifier">The identifier.</param>
 /// <param name="name">The name.</param>
 /// <param name="baseReferenceSystem">The base reference system.</param>
 /// <param name="coordinateSystem">The coordinate system.</param>
 /// <param name="areaOfUse">The area of use.</param>
 /// <param name="projection">The projection.</param>
 /// <exception cref="System.ArgumentNullException">
 /// The identifier is null.
 /// or
 /// The base reference system is null.
 /// or
 /// The coordinate system is null.
 /// or
 /// The projection is null.
 /// </exception>
 public ProjectedCoordinateReferenceSystem(String identifier, String name, GeographicCoordinateReferenceSystem baseReferenceSystem, CoordinateSystem coordinateSystem, AreaOfUse areaOfUse, CoordinateProjection projection)
     : this(identifier, name, null, null, null, baseReferenceSystem, coordinateSystem, areaOfUse, projection)
 {
 }