Documentation

Epicenter
in package

Data structure to handle epicenters

Tags
@return

true, if every check is passed, false otherwise

Table of Contents

Properties

$depth  : Depth
$point  : LatLon

Methods

__construct()  : mixed
__destruct()  : mixed
__toString()  : string
Returns epicenter in lat, lon, depth readable format
depth()  : Depth
Get epicenter depth
equals()  : bool
Compare two objects
point()  : LatLon
Get epicenter coordinates

Properties

Methods

__toString()

Returns epicenter in lat, lon, depth readable format

public __toString() : string
Return values
string

lat, lon, depth ("%.5f,%.5f, %.2f km")

equals()

Compare two objects

public equals(self $other) : bool
Parameters
$other : self
Return values
bool

true are equals, false otherwise

point()

Get epicenter coordinates

public point() : LatLon
Return values
LatLon

epicenter coordinates


        
On this page

Search results