Class Ellipsoid

java.lang.Object
io.jenetics.jpx.geom.Ellipsoid
All Implemented Interfaces:
Serializable

public final class Ellipsoid extends Object implements Serializable
Represents an earth ellipsoid, which is a mathematical figure approximating the shape of the Earth, used as a reference frame for computations in geodesy, astronomy and the geosciences. Various different ellipsoids have been used as approximations.
Since:
1.0
Version:
1.0
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final Ellipsoid
    The default ellipsoid: WGSC-84
    static final Ellipsoid
    The ellipsoid of the International Earth Rotation and Reference Systems Service (1989)
    static final Ellipsoid
    The ellipsoid of the International Earth Rotation and Reference Systems Service (2003)
    static final Ellipsoid
    The ellipsoid of the World Geodetic System: WGS 84
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    A()
    Return the equatorial radius, in meter.
    double
    B()
    Return the polar radius, in meter.
    double
    F()
    Return the inverse flattening.
    Return the name of the earth ellipsoid model.
    static Ellipsoid
    of(String name, double a, double b, double f)
    Create a new earth ellipsoid with the given parameters.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • WGS84

      public static final Ellipsoid WGS84
      The ellipsoid of the World Geodetic System: WGS 84
      See Also:
    • IERS_1989

      public static final Ellipsoid IERS_1989
      The ellipsoid of the International Earth Rotation and Reference Systems Service (1989)
      See Also:
    • IERS_2003

      public static final Ellipsoid IERS_2003
      The ellipsoid of the International Earth Rotation and Reference Systems Service (2003)
      See Also:
    • DEFAULT

      public static final Ellipsoid DEFAULT
      The default ellipsoid: WGSC-84
  • Method Details

    • getName

      public String getName()
      Return the name of the earth ellipsoid model.
      Returns:
      the name of the earth ellipsoid model
    • A

      public double A()
      Return the equatorial radius, in meter.
      Returns:
      the equatorial radius, in meter
    • B

      public double B()
      Return the polar radius, in meter.
      Returns:
      the polar radius, in meter
    • F

      public double F()
      Return the inverse flattening.
      Returns:
      the inverse flattening
    • of

      public static Ellipsoid of(String name, double a, double b, double f)
      Create a new earth ellipsoid with the given parameters.
      Parameters:
      name - the name of the earth ellipsoid model
      a - the equatorial radius, in meter
      b - the polar radius, in meter
      f - the inverse flattening
      Returns:
      a new earth ellipsoid with the given parameters