| Class | Proj4::Ellipsoid |
| In: |
ext/projrb.c
lib/proj4.rb |
| Parent: | Proj4::Def |
The Ellipsoid class holds information about ellipsoids (‘WGS84’, ‘bessel’, …) known to Proj.4.
Get elliptical parameter of the reference ellipsoid. This is either the polar radius (semi-minor axis, b value) or the inverse flattening (1/f, rf).
/**Get elliptical parameter of the reference ellipsoid. This is either the polar radius (semi-minor axis, b value) or the inverse flattening (1/f, rf).
call-seq: ell -> String
*/
static VALUE ellipsoid_get_ell(VALUE self){
Get ID of the reference ellipsoid.
/**Get ID of the reference ellipsoid.
call-seq: id -> String
*/
static VALUE ellipsoid_get_id(VALUE self){
Returns ellipsoid definition as string in format ’#<Proj4::Ellipsoid id="…", major="…", ell="…", name="…">’.
# File lib/proj4.rb, line 415
415: def inspect
416: "#<Proj4::Ellipsoid id=\"#{id}\", major=\"#{major}\", ell=\"#{ell}\", name=\"#{name}\">"
417: end