PHP Class Location\Bounds

Author: Marcus Jaschen ([email protected])
Afficher le fichier Open project: mjaschen/phpgeo Class Usage Examples

Protected Properties

Свойство Type Description
$northWest Coordinate
$southEast Coordinate

Méthodes publiques

Méthode Description
__construct ( Coordinate $northWest, Coordinate $southEast )
getCenter ( ) : Coordinate Calculates the center of this bounds object and returns it as a Coordinate instance.
getEast ( ) : float
getNorth ( ) : float
getNorthWest ( ) : Coordinate Getter
getSouth ( ) : float
getSouthEast ( ) : Coordinate Getter
getWest ( ) : float

Méthodes protégées

Méthode Description
getCenterLng ( ) : float

Method Details

__construct() public méthode

public __construct ( Coordinate $northWest, Coordinate $southEast )
$northWest Coordinate
$southEast Coordinate

getCenter() public méthode

Calculates the center of this bounds object and returns it as a Coordinate instance.
public getCenter ( ) : Coordinate
Résultat Coordinate

getCenterLng() protected méthode

protected getCenterLng ( ) : float
Résultat float

getEast() public méthode

public getEast ( ) : float
Résultat float

getNorth() public méthode

public getNorth ( ) : float
Résultat float

getNorthWest() public méthode

Getter
public getNorthWest ( ) : Coordinate
Résultat Coordinate

getSouth() public méthode

public getSouth ( ) : float
Résultat float

getSouthEast() public méthode

Getter
public getSouthEast ( ) : Coordinate
Résultat Coordinate

getWest() public méthode

public getWest ( ) : float
Résultat float

Property Details

$northWest protected_oe property

protected Coordinate,Location $northWest
Résultat Coordinate

$southEast protected_oe property

protected Coordinate,Location $southEast
Résultat Coordinate