You are here

public function Point::y in geoPHP 7

Same name and namespace in other branches
  1. 8 geoPHP/lib/geometry/Point.class.php \Point::y()

Returns Y (latitude) coordinate

Return value

float The Y coordinate

Overrides Geometry::y

1 call to Point::y()
Point::equals in geoPHP/lib/geometry/Point.class.php

File

geoPHP/lib/geometry/Point.class.php, line 72

Class

Point
Point: The most basic geometry type. All other geometries are built out of Points.

Code

public function y() {
  return $this->coords[1];
}