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