Lines Matching refs:geometry

19  * All coordinates within a geometry object should be in the same coordinate reference systems.
21 * either directly or through its containing geometry.
128 * Methods applicable on certain geometry types *
169 * @return Geometry|null The geometry, or null if not found.
294 * Adds custom data to the geometry
309 * Returns the requested data by property name, or all data of the geometry
324 * Tells whether the geometry has data with the specified name
326 * @return bool True if the geometry has data with the specified name
541 * @param Geometry $geometry
546 public function equalsExact(Geometry $geometry)
550 return $this->getGeos()->equalsExact($geometry->getGeos());
556 * @param Geometry $geometry
562 public function relate(Geometry $geometry, $pattern = null)
567 return $this->getGeos()->relate($geometry->getGeos(), $pattern);
570 return $this->getGeos()->relate($geometry->getGeos());
606 * @param Geometry $geometry
611 public function intersection(Geometry $geometry)
615 return geoPHP::geosToGeometry($this->getGeos()->intersection($geometry->getGeos()));
635 * @param Geometry $geometry
640 public function difference(Geometry $geometry)
644 return geoPHP::geosToGeometry($this->getGeos()->difference($geometry->getGeos()));
650 * @param Geometry $geometry
655 public function symDifference(Geometry $geometry)
659 return geoPHP::geosToGeometry($this->getGeos()->symDifference($geometry->getGeos()));
665 * Can pass in a geometry or an array of geometries
667 * @param Geometry $geometry
672 public function union(Geometry $geometry)
675 if (is_array($geometry)) {
677 foreach ($geometry as $item) {
684 return geoPHP::geosToGeometry($this->getGeos()->union($geometry->getGeos()));
735 * @param Geometry $geometry
740 public function disjoint(Geometry $geometry)
744 return $this->getGeos()->disjoint($geometry->getGeos());
750 * @param Geometry $geometry
755 public function touches(Geometry $geometry)
759 return $this->getGeos()->touches($geometry->getGeos());
765 * @param Geometry $geometry
770 public function intersects(Geometry $geometry)
774 return $this->getGeos()->intersects($geometry->getGeos());
780 * @param Geometry $geometry
785 public function crosses(Geometry $geometry)
789 return $this->getGeos()->crosses($geometry->getGeos());
795 * @param Geometry $geometry
800 public function within(Geometry $geometry)
804 return $this->getGeos()->within($geometry->getGeos());
810 * @param Geometry $geometry
815 public function contains(Geometry $geometry)
819 return $this->getGeos()->contains($geometry->getGeos());
825 * @param Geometry $geometry
830 public function overlaps(Geometry $geometry)
834 return $this->getGeos()->overlaps($geometry->getGeos());
840 * @param Geometry $geometry
845 public function covers(Geometry $geometry)
849 return $this->getGeos()->covers($geometry->getGeos());
855 * @param Geometry $geometry
860 public function coveredBy(Geometry $geometry)
864 return $this->getGeos()->coveredBy($geometry->getGeos());
870 * @param Geometry $geometry
875 public function hausdorffDistance(Geometry $geometry)
879 return $this->getGeos()->hausdorffDistance($geometry->getGeos());