You are here

public function Point::y in geoPHP 8

Same name and namespace in other branches
  1. 7 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 62

Class

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

Code

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