/// <summary> /// Create a geographic coordinate object. /// </summary> /// <param name="lat">latitude</param> /// <param name="lng">longitude</param> public GeographicCoord(Latitude lat, Longitude lng) { SetCoordinate(lat, lng); }
/// <summary> /// Create a null geodetic coordinate. /// </summary> /// <param name="lat">latitude</param> /// <param name="lng">longitude</param> /// <param name="hgt">geodetic height / ellipsoidal height</param> public GeodeticCoord(Latitude lat, Longitude lng, double hgt) : base(lat, lng) { Height = hgt; System = HeightSystem.Ellipsoidal; }
/// <summary> /// Set the coordinate value. /// </summary> /// <param name="lat">latitude</param> /// <param name="lng">longitude</param> /// <param name="hgt">geodetic height</param> public void SetCoordinate(Latitude lat, Longitude lng, double hgt) { SetCoordinate(lat, lng); Height = hgt; }
/// <summary> /// Create a null geodetic coordinate. /// </summary> /// <param name="lat">latitude</param> /// <param name="lng">longitude</param> public GeodeticCoord(Latitude lat, Longitude lng) : base(lat, lng) { Height = double.NaN; System = HeightSystem.Ellipsoidal; }