Lines Matching refs:geometry
50 // throw new \Exception('Cannot create Polygon: geometry should be simple');
324 * Checks whether the given geometry is spatially inside the Polygon
326 * @param Geometry $geometry
329 public function contains(Geometry $geometry)
334 return $this->getGeos()->contains($geometry->getGeos());
339 foreach ($geometry->getPoints() as $p) {
349 if ($geometry->geometryType() == Geometry::LINE_STRING) {
350 } elseif ($geometry->geometryType() == Geometry::POLYGON) {
351 $geometry = $geometry->exteriorRing();
356 foreach ($geometry->explode(true) as $innerEdge) {