Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the GeoDatum class.
 /// </summary>
 /// <param name="name">Name of the geodatum.</param>
 /// <param name="ellipsoid">Ellipsoid used.</param>
 /// <param name="deltaXValue">Longitude offset.</param>
 /// <param name="deltaYValue">Latitude offset.</param>
 /// <param name="deltaZValue">Altitude offset.</param>
 public GeoDatum(String name, GeoEllipsoid ellipsoid, Double deltaXValue, Double deltaYValue, Double deltaZValue)
 {
     Name      = name;
     Ellipsoid = ellipsoid;
     DeltaX    = deltaXValue;
     DeltaY    = deltaYValue;
     DeltaZ    = deltaZValue;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Geodatum for the WGS84 (GPS) ellipsoid.
 /// </summary>
 /// <returns>Geodatum for the WGS84 (GPS) ellipsoid.</returns>
 public static GeoDatum DatumWGS84()
 {
     return(new GeoDatum("WGS84", GeoEllipsoid.EllipsoidWGS84(), 0, 0, 0));
 }
Exemplo n.º 3
0
 /// <summary>
 /// Geodatum for the Indian 1954 datum.
 /// </summary>
 /// <returns>Geodatum for the Indian 1954 datum.</returns>
 public static GeoDatum DatumIndian1954()
 {
     return(new GeoDatum("Indian 1954 - Thailand", GeoEllipsoid.EllipsoidEverest(), 218, 816, 297));
 }
Exemplo n.º 4
0
 /// <summary>
 /// Geodatum for the North American datum of 1927 (NAD27).
 /// </summary>
 /// <returns>Geodatum for the North American datum of 1927 (NAD27).</returns>
 public static GeoDatum DatumNorthAmerican27MeanConus()
 {
     return(new GeoDatum("North American Datum 1927 (NAD27, mean for conus)", GeoEllipsoid.EllipsoidClarke1866(), -8, 160, 176));
 }
Exemplo n.º 5
0
 /// <summary>
 /// Geodatum for the Indian 1975 datum.
 /// </summary>
 /// <returns>Geodatum for the Indian 1975 datum.</returns>
 public static GeoDatum DatumIndian1975()
 {
     return(new GeoDatum("Indian 1975 - Thailand", GeoEllipsoid.EllipsoidEverest(), 209, 818, 290));
 }