class Location

Location represents the coordinates (DMS) for the specified locality according to the list of village on the website.

Methods

__construct(float $y, float $x)

New Location representing the coordinates (DMS) for the specified locality.

float
x()

Get Coordinate-X.

float
y()

Get Coordinate-Y.

bool
equals(Location $location)

Indicates whether some other Location is equal to this one.

Details

at line 33
__construct(float $y, float $x)

New Location representing the coordinates (DMS) for the specified locality.

Parameters

float $y Coordinate-Y
float $x Coordinate-X

at line 44
float x()

Get Coordinate-X.

Return Value

float Coordinate-X

at line 54
float y()

Get Coordinate-Y.

Return Value

float Coordinate-Y

at line 66
bool equals(Location $location)

Indicates whether some other Location is equal to this one.

Parameters

Location $location Other Location

Return Value

bool True if this Location is the equal to some other Location; false otherwise