Property | Type | Description | |
---|---|---|---|
$a | double | The semi-major axis (equatorial radius) in meters. | |
$invF | double | The inverse flattening. | |
$name | string | The name of the Ellipsoid. | |
$referenceEllipsoids | array | Source: Defense Mapping Agency. 1987b. Washington, DC: Defense Mapping Agency DMA Technical Report: Supplement to Department of Defense World Geodetic System 1984 Technical Report. |
Method | Description | |
---|---|---|
__construct ( string $name, double $a, double $invF ) | Create a new ellipsoid. | |
checkCoordinatesEllipsoid ( League\Geotools\Coordinate\CoordinateInterface $a, League\Geotools\Coordinate\CoordinateInterface $b ) | Check if coordinates have the same ellipsoid. | |
createFromArray ( array $newEllipsoid ) : |
Create an ellipsoid from an array. | |
createFromName ( string $name = self::WGS84 ) : |
Create the ellipsoid chosen by its name. | |
getA ( ) : double | Returns the semi-major axis (equatorial radius) in meters. | |
getArithmeticMeanRadius ( ) : double | Computes and returns the arithmetic mean radius in meters. | |
getAvailableEllipsoidNames ( ) : string | Returns the list of available ellipsoids sorted by alphabetical order. | |
getB ( ) : double | Computes and returns the semi-minor axis (polar distance) in meters. | |
getInvF ( ) : double | Returns the inverse flattening. | |
getName ( ) : string | Returns the ellipsoid's name. |
public __construct ( string $name, double $a, double $invF ) | ||
$name | string | The name of the ellipsoid to create. |
$a | double | The semi-major axis (equatorial radius) in meters. |
$invF | double | The inverse flattening. |
public static checkCoordinatesEllipsoid ( League\Geotools\Coordinate\CoordinateInterface $a, League\Geotools\Coordinate\CoordinateInterface $b ) | ||
$a | League\Geotools\Coordinate\CoordinateInterface | A coordinate. |
$b | League\Geotools\Coordinate\CoordinateInterface | A coordinate. |
public static createFromArray ( array $newEllipsoid ) : |
||
$newEllipsoid | array | The ellipsoid's parameters to create. |
return |
public static createFromName ( string $name = self::WGS84 ) : |
||
$name | string | The name of the ellipsoid to create (optional). |
return |
public getA ( ) : double | ||
return | double |
public getArithmeticMeanRadius ( ) : double | ||
return | double |
public static getAvailableEllipsoidNames ( ) : string | ||
return | string | The list of available ellipsoids comma separated. |
public getB ( ) : double | ||
return | double |
protected double $a | ||
return | double |
protected static array $referenceEllipsoids | ||
return | array |