You are here

public function Point::asArray in geoPHP 7

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

Overrides Geometry::asArray

File

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

Class

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

Code

public function asArray($assoc = FALSE) {
  return $this->coords;
}