You are here

public function LineString::pointN in geoPHP 7

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

Overrides Collection::pointN

2 calls to LineString::pointN()
LineString::endPoint in geoPHP/lib/geometry/LineString.class.php
LineString::startPoint in geoPHP/lib/geometry/LineString.class.php

File

geoPHP/lib/geometry/LineString.class.php, line 51

Class

LineString
LineString. A collection of Points representing a line. A line can have more than one segment.

Code

public function pointN($n) {
  return $this
    ->geometryN($n);
}