Ejemplo n.º 1
0
 public DegMinSecType(int Deg_In, int Min_In, double Sec_In, LatLongPrefix Prefix_In)
 {
     Deg    = Deg_In;
     Min    = Min_In;
     Sec    = Sec_In;
     Prefix = Prefix_In;
 }
Ejemplo n.º 2
0
 public DegMinSecType()
 {
     Deg    = 0;
     Min    = 0;
     Sec    = 0;
     Prefix = LatLongPrefix.Not_Valid;
 }
Ejemplo n.º 3
0
 ////////////////////////////////////////////////////////////////////////////
 // Constructor which allows intialization using
 // Deg Min Sec format
 public LatLongClass(int LatDeg, int LatMin, double LatSec, LatLongPrefix LatPrefix,
                     int LonDeg, int LonMin, double LonSec, LatLongPrefix LonPrefix)
 {
     DegMinSec.Latitude.Deg     = LatDeg;
     DegMinSec.Latitude.Min     = LatMin;
     DegMinSec.Latitude.Sec     = LatSec;
     DegMinSec.Latitude.Prefix  = LatPrefix;
     DegMinSec.Longitude.Deg    = LonDeg;
     DegMinSec.Longitude.Min    = LonMin;
     DegMinSec.Longitude.Sec    = LonSec;
     DegMinSec.Longitude.Prefix = LonPrefix;
     Decimal = ConvertDegMinSecToDecimal(DegMinSec);
 }
 ////////////////////////////////////////////////////////////////////////////
 // Constructor which allows intialization using
 // Deg Min Sec format
 public LatLongClass(int LatDeg, int LatMin, double LatSec, LatLongPrefix LatPrefix,
     int LonDeg, int LonMin, double LonSec, LatLongPrefix LonPrefix)
 {
     DegMinSec.Latitude.Deg = LatDeg;
     DegMinSec.Latitude.Min = LatMin;
     DegMinSec.Latitude.Sec = LatSec;
     DegMinSec.Latitude.Prefix = LatPrefix;
     DegMinSec.Longitude.Deg = LonDeg;
     DegMinSec.Longitude.Min = LonMin;
     DegMinSec.Longitude.Sec = LonSec;
     DegMinSec.Longitude.Prefix = LonPrefix;
     Decimal = ConvertDegMinSecToDecimal(DegMinSec);
 }
 public DegMinSecType(int Deg_In, int Min_In, double Sec_In, LatLongPrefix Prefix_In)
 {
     Deg = Deg_In;
     Min = Min_In;
     Sec = Sec_In;
     Prefix = Prefix_In;
 }
 public DegMinSecType()
 {
     Deg = 0;
     Min = 0;
     Sec = 0;
     Prefix = LatLongPrefix.Not_Valid;
 }