public function Collection::numGeometries in geoPHP 8
Same name and namespace in other branches
- 7 geoPHP/lib/geometry/Collection.class.php \Collection::numGeometries()
Overrides Geometry::numGeometries
3 calls to Collection::numGeometries()
- LineString::numPoints in geoPHP/
lib/ geometry/ LineString.class.php - MultiPoint::numPoints in geoPHP/
lib/ geometry/ MultiPoint.class.php - Polygon::numInteriorRings in geoPHP/
lib/ geometry/ Polygon.class.php
File
- geoPHP/
lib/ geometry/ Collection.class.php, line 143
Class
- Collection
- Collection: Abstract class for compound geometries
Code
public function numGeometries() {
return count($this->components);
}