PHP Класс League\Geotools\Coordinate\Ellipsoid

См. также: http://en.wikipedia.org/wiki/Reference_ellipsoid
См. также: http://www.colorado.edu/geography/gcraft/notes/datum/gif/ellipse.gif
Автор: Antoine Corcy ([email protected])
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$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.

Открытые методы

Метод Описание
__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 ) : Ellipsoid Create an ellipsoid from an array.
createFromName ( string $name = self::WGS84 ) : Ellipsoid 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.

Описание методов

__construct() публичный метод

Create a new ellipsoid.
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.

checkCoordinatesEllipsoid() публичный статический метод

Check if coordinates have the same ellipsoid.
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.

createFromArray() публичный статический метод

Create an ellipsoid from an array.
public static createFromArray ( array $newEllipsoid ) : Ellipsoid
$newEllipsoid array The ellipsoid's parameters to create.
Результат Ellipsoid

createFromName() публичный статический метод

Create the ellipsoid chosen by its name.
public static createFromName ( string $name = self::WGS84 ) : Ellipsoid
$name string The name of the ellipsoid to create (optional).
Результат Ellipsoid

getA() публичный метод

Returns the semi-major axis (equatorial radius) in meters.
public getA ( ) : double
Результат double

getArithmeticMeanRadius() публичный метод

Computes and returns the arithmetic mean radius in meters.
См. также: http://home.online.no/~sigurdhu/WGS84_Eng.html
public getArithmeticMeanRadius ( ) : double
Результат double

getAvailableEllipsoidNames() публичный статический метод

Returns the list of available ellipsoids sorted by alphabetical order.
public static getAvailableEllipsoidNames ( ) : string
Результат string The list of available ellipsoids comma separated.

getB() публичный метод

Computes and returns the semi-minor axis (polar distance) in meters.
См. также: http://home.online.no/~sigurdhu/WGS84_Eng.html
public getB ( ) : double
Результат double

getInvF() публичный метод

Returns the inverse flattening.
public getInvF ( ) : double
Результат double

getName() публичный метод

Returns the ellipsoid's name.
public getName ( ) : string
Результат string

Описание свойств

$a защищенное свойство

The semi-major axis (equatorial radius) in meters.
См. также: http://en.wikipedia.org/wiki/Earth_radius
См. также: http://home.online.no/~sigurdhu/WGS84_Eng.html
protected double $a
Результат double

$invF защищенное свойство

The inverse flattening.
См. также: http://home.online.no/~sigurdhu/WGS84_Eng.html
protected double $invF
Результат double

$name защищенное свойство

The name of the Ellipsoid.
protected string $name
Результат string

$referenceEllipsoids защищенное статическое свойство

Source: Defense Mapping Agency. 1987b. Washington, DC: Defense Mapping Agency DMA Technical Report: Supplement to Department of Defense World Geodetic System 1984 Technical Report.
См. также: http://en.wikipedia.org/wiki/Geodetic_datum
См. также: http://www.colorado.edu/geography/gcraft/notes/datum/gif/refellip.gif
protected static array $referenceEllipsoids
Результат array