You are here

public function Collection::getComponents in geoPHP 7

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

Returns Collection component geometries

Return value

array

File

geoPHP/lib/geometry/Collection.class.php, line 39

Class

Collection
Collection: Abstract class for compound geometries

Code

public function getComponents() {
  return $this->components;
}