class Gem::Resolv::DNS::Resource::LOC
Location resource
Attributes
The altitude of the LOC
above a reference sphere whose surface sits 100km below the WGS84 spheroid in centimeters as an unsigned 32bit integer
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
The latitude for this LOC
where 2**31 is the equator in thousandths of an arc second as an unsigned 32bit integer
The longitude for this LOC
where 2**31 is the prime meridian in thousandths of an arc second as an unsigned 32bit integer
The spherical size of this LOC
in meters using scientific notation as 2 integers of XeY
Returns the version value for this LOC
record which should always be 00
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
Public Class Methods
# File rubygems/vendor/resolv/lib/resolv.rb, line 2449 def initialize(version, ssize, hprecision, vprecision, latitude, longitude, altitude) @version = version @ssize = Gem::Resolv::LOC::Size.create(ssize) @hprecision = Gem::Resolv::LOC::Size.create(hprecision) @vprecision = Gem::Resolv::LOC::Size.create(vprecision) @latitude = Gem::Resolv::LOC::Coord.create(latitude) @longitude = Gem::Resolv::LOC::Coord.create(longitude) @altitude = Gem::Resolv::LOC::Alt.create(altitude) end