Ellipsoid
class Ellipsoid
Ellipsoid class
Constants
AIRY |
List of selected reference ellipsoids. |
AUSTRALIAN_NATIONAL |
|
BESSEL_1841 |
|
BESSEL_1841_NAMBIA |
|
CLARKE_1866 |
|
CLARKE_1880 |
|
EVEREST |
|
FISCHER_1960_MERCURY |
|
FISCHER_1968 |
|
GRS_1967 |
|
GRS_1980 |
|
HELMERT_1906 |
|
HOUGH |
|
INTERNATIONAL |
|
KRASSOVSKY |
|
MODIFIED_AIRY |
|
MODIFIED_EVEREST |
|
MODIFIED_FISCHER_1960 |
|
SOUTH_AMERICAN_1969 |
|
WGS60 |
|
WGS66 |
|
WGS72 |
|
WGS84 |
|
Properties
protected string | $name | The name of the Ellipsoid. |
|
protected float | $a | The semi-major axis (equatorial radius) in meters. |
|
protected float | $invF | The inverse flattening. |
|
static protected array | $referenceEllipsoids | Selected reference ellipsoids. |
Methods
Create a new ellipsoid.
Create the ellipsoid chosen by its name.
Create an ellipsoid from an array.
Check if coordinates have the same ellipsoid.
Returns the ellipsoid's name.
Returns the semi-major axis (equatorial radius) in meters.
Computes and returns the semi-minor axis (polar distance) in meters.
Returns the inverse flattening.
Computes and returns the arithmetic mean radius in meters.
Returns the list of available ellipsoids sorted by alphabetical order.
Details
at line 208
__construct(string $name, float $a, float $invF)
Create a new ellipsoid.
at line 226
static Ellipsoid
createFromName(string $name = self::WGS84)
Create the ellipsoid chosen by its name.
at line 250
static Ellipsoid
createFromArray(array $newEllipsoid)
Create an ellipsoid from an array.
at line 267
static
checkCoordinatesEllipsoid(CoordinatesInterface $a, CoordinatesInterface $b)
Check if coordinates have the same ellipsoid.
at line 279
string
getName()
Returns the ellipsoid's name.
at line 289
float
getA()
Returns the semi-major axis (equatorial radius) in meters.
at line 300
float
getB()
Computes and returns the semi-minor axis (polar distance) in meters.
at line 310
float
getInvF()
Returns the inverse flattening.
at line 321
float
getArithmeticMeanRadius()
Computes and returns the arithmetic mean radius in meters.
at line 331
static string
getAvailableEllipsoidNames()
Returns the list of available ellipsoids sorted by alphabetical order.