public function MultiLineString::isClosed in geoPHP 8
Same name and namespace in other branches
- 7 geoPHP/lib/geometry/MultiLineString.class.php \MultiLineString::isClosed()
Overrides Collection::isClosed
File
- geoPHP/
lib/ geometry/ MultiLineString.class.php, line 10
Class
- MultiLineString
- MultiLineString: A collection of LineStrings
Code
public function isClosed() {
foreach ($this->components as $line) {
if (!$line
->isClosed()) {
return FALSE;
}
}
return TRUE;
}