Class: Proj::Datum
Instance Method Summary collapse
-
#ellipsoid ⇒ PjObject
Return the ellipsoid.
-
#frame_reference_epoch ⇒ Float
Returns the frame reference epoch of a dynamic geodetic or vertical reference frame.
-
#prime_meridian ⇒ PjObject
Returns the prime meridian.
Methods inherited from PjObject
#accuracy, #angular_input?, #angular_output?, #area_of_use, #auth, #auth_name, #context, #context=, create, create_from_database, create_from_name, create_from_wkt, #definition, #degree_input?, #degree_output?, #deprecated?, #description, #equivalent_to?, #errno, #errorno, #factors, #geod_distance, #has_inverse?, #id, #id_code, #info, #initialize, #initialize_copy, #lp_distance, #lpz_distance, #name, #non_deprecated, #proj_type, #remarks, #scope, #source_crs, #target_crs, #to_json, #to_proj_string, #to_ptr, #to_s, #to_wkt, #xy_distance, #xyz_distance
Constructor Details
This class inherits a constructor from Proj::PjObject
Instance Method Details
#ellipsoid ⇒ PjObject
Return the ellipsoid
17 18 19 20 |
# File 'lib/proj/datum.rb', line 17 def ellipsoid ptr = Api.proj_get_ellipsoid(self.context, self) self.class.create_object(ptr, self.context) end |
#frame_reference_epoch ⇒ Float
Returns the frame reference epoch of a dynamic geodetic or vertical reference frame
8 9 10 |
# File 'lib/proj/datum.rb', line 8 def frame_reference_epoch Api.proj_dynamic_datum_get_frame_reference_epoch(self.context, self) end |