-
Notifications
You must be signed in to change notification settings - Fork 266
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,6 +16,7 @@ abstract public function area(); | |
abstract public function boundary(); | ||
abstract public function centroid(); | ||
abstract public function length(); | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
phayes
Author
Owner
|
||
abstract public function length3D(); | ||
abstract public function y(); | ||
abstract public function x(); | ||
abstract public function z(); | ||
|
@@ -31,6 +32,7 @@ abstract public function exteriorRing(); | |
abstract public function numInteriorRings(); | ||
abstract public function interiorRingN($n); | ||
abstract public function dimension(); | ||
abstract public function distance($geom); | ||
abstract public function equals($geom); | ||
abstract public function isEmpty(); | ||
abstract public function isSimple(); | ||
|
@@ -311,12 +313,6 @@ public function coveredBy(Geometry $geometry) { | |
} | ||
} | ||
|
||
public function distance(Geometry $geometry) { | ||
if ($this->geos()) { | ||
return $this->geos()->distance($geometry->geos()); | ||
} | ||
} | ||
|
||
public function hausdorffDistance(Geometry $geometry) { | ||
if ($this->geos()) { | ||
return $this->geos()->hausdorffDistance($geometry->geos()); | ||
|
i think lenght is only for lines (6.1.6.1 http://www.opengeospatial.org/standards/sfa)
and x() y() .. only for point
i will make a pull request soon with this modification