public function LineString::isClosed in geoPHP 8
Same name and namespace in other branches
- 7 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());
}