PHP 클래스 Location\Bounds

저자: Marcus Jaschen ([email protected])
파일 보기 프로젝트 열기: mjaschen/phpgeo 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$northWest Coordinate
$southEast Coordinate

공개 메소드들

메소드 설명
__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

보호된 메소드들

메소드 설명
getCenterLng ( ) : float

메소드 상세

__construct() 공개 메소드

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

getCenter() 공개 메소드

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

getCenterLng() 보호된 메소드

protected getCenterLng ( ) : float
리턴 float

getEast() 공개 메소드

public getEast ( ) : float
리턴 float

getNorth() 공개 메소드

public getNorth ( ) : float
리턴 float

getNorthWest() 공개 메소드

Getter
public getNorthWest ( ) : Coordinate
리턴 Coordinate

getSouth() 공개 메소드

public getSouth ( ) : float
리턴 float

getSouthEast() 공개 메소드

Getter
public getSouthEast ( ) : Coordinate
리턴 Coordinate

getWest() 공개 메소드

public getWest ( ) : float
리턴 float

프로퍼티 상세

$northWest 보호되어 있는 프로퍼티

protected Coordinate,Location $northWest
리턴 Coordinate

$southEast 보호되어 있는 프로퍼티

protected Coordinate,Location $southEast
리턴 Coordinate