Skip to content

Commit

Permalink
Rewrite PostGIS-specific description
Browse files Browse the repository at this point in the history
  • Loading branch information
BenMorel committed Dec 29, 2020
1 parent 5e97e32 commit a46ef2d
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/Geometry.php
Original file line number Diff line number Diff line change
Expand Up @@ -340,12 +340,8 @@ public function boundary() : Geometry

/**
* Returns the geometric center of a geometry, or equivalently, the center of mass of the geometry as a Point.
* For (Multi)Points, this is computed as the arithmetic mean of the input coordinates.
* For (Multi)Linestrings, this is computed as the weighted length of each line segment.
* For (Multi)Polygons, "weight" is thought in terms of area.
* If an empty geometry is supplied, an empty GeometryCollection is returned.
* If CircularString or CompoundCurve are supplied, they are converted to LineString wtih CurveToLine first,
* then same than for LineString.
*
* Some geometry engines only support this method on surfaces.
*
* @noproxy
*
Expand Down

0 comments on commit a46ef2d

Please sign in to comment.