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.

Methods

ell   id   inspect   list   major   name  

Public Class methods

Return list of all reference ellipsoids we know about.

[Source]

/**Return list of all reference ellipsoids we know about.

   call-seq: list -> Array of Proj4::Ellipsoid

 */
static VALUE ellipsoid_list(VALUE self){

Public Instance methods

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).

[Source]

/**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.

[Source]

/**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="…">’.

[Source]

     # File lib/proj4.rb, line 415
415:         def inspect
416:             "#<Proj4::Ellipsoid id=\"#{id}\", major=\"#{major}\", ell=\"#{ell}\", name=\"#{name}\">"
417:         end

Get equatorial radius (semi-major axis, a value) of the reference ellipsoid.

[Source]

/**Get equatorial radius (semi-major axis, a value) of the reference ellipsoid.

   call-seq: major -> String

 */
static VALUE ellipsoid_get_major(VALUE self){

Get name of the reference ellipsoid.

[Source]

/**Get name of the reference ellipsoid.

   call-seq: name -> String

 */
static VALUE ellipsoid_get_name(VALUE self){

[Validate]