Location resource
- N
Attributes
[R] | altitude | The altitude of the |
[R] | hprecision | The horizontal precision using ssize type values in meters using scientific notation as 2 integers of XeY for precision use value/2 e.g. 2m = +/-1m |
[R] | latitude | The latitude for this |
[R] | longitude | The longitude for this |
[R] | ssize | The spherical size of this |
[R] | version | Returns the version value for this |
[R] | vprecision | The vertical precision using ssize type values in meters using scientific notation as 2 integers of XeY for precision use value/2 e.g. 2m = +/-1m |
Class Public methods
new(version, ssize, hprecision, vprecision, latitude, longitude, altitude) Link
# File ruby/lib/resolv.rb, line 2456 def initialize(version, ssize, hprecision, vprecision, latitude, longitude, altitude) @version = version @ssize = Resolv::LOC::Size.create(ssize) @hprecision = Resolv::LOC::Size.create(hprecision) @vprecision = Resolv::LOC::Size.create(vprecision) @latitude = Resolv::LOC::Coord.create(latitude) @longitude = Resolv::LOC::Coord.create(longitude) @altitude = Resolv::LOC::Alt.create(altitude) end