| 
    xapian-core
    1.4.29
    
   | 
 
Angles, split into degrees, minutes and seconds. More...
Public Member Functions | |
| DegreesMinutesSeconds (int angle_16th_secs) | |
| Initialise with a (positive) angle, as an integer representing the number of 16ths of a second, rounding to nearest.  More... | |
Public Attributes | |
| int | degrees | 
| Number of degrees.  More... | |
| int | minutes | 
| Number of minutes: 0 to 59.  More... | |
| int | seconds | 
| Number of seconds: 0 to 59.  More... | |
| int | sec16ths | 
| Number of 16ths of a second: 0 to 15.  More... | |
Angles, split into degrees, minutes and seconds.
Only designed to work with positive angles.
Definition at line 37 of file geoencode.cc.
      
  | 
  inlineexplicit | 
Initialise with a (positive) angle, as an integer representing the number of 16ths of a second, rounding to nearest.
The range of valid angles is assumed to be 0 <= angle in degrees < 360, so range of angle_16th_secs is 0..20735999, which fits easily into a 32 bit int. (Latitudes are represented in the range 0 <= angle <= 180, where 0 is the south pole.)
Definition at line 62 of file geoencode.cc.
| int DegreesMinutesSeconds::degrees | 
Number of degrees.
Range 0 <= degrees <= 180 for latitude, 0 <= degrees < 360 for longitude.
Definition at line 43 of file geoencode.cc.
Referenced by GeoEncode::encode().
| int DegreesMinutesSeconds::minutes | 
Number of minutes: 0 to 59.
Definition at line 46 of file geoencode.cc.
Referenced by GeoEncode::encode().
| int DegreesMinutesSeconds::sec16ths | 
Number of 16ths of a second: 0 to 15.
Definition at line 52 of file geoencode.cc.
Referenced by GeoEncode::encode().
| int DegreesMinutesSeconds::seconds | 
Number of seconds: 0 to 59.
Definition at line 49 of file geoencode.cc.
Referenced by GeoEncode::encode().