public function LineString::isClosed in geoPHP 7
Same name and namespace in other branches
- 8 geoPHP/lib/geometry/LineString.class.php \LineString::isClosed()
Overrides Collection::isClosed
1 call to LineString::isClosed()
- LineString::isRing in geoPHP/
lib/ geometry/ LineString.class.php
File
- geoPHP/
lib/ geometry/ LineString.class.php, line 39
Class
- LineString
- LineString. A collection of Points representing a line. A line can have more than one segment.
Code
public function isClosed() {
return $this
->startPoint()
->equals($this
->endPoint());
}