Skip to content

Commit

Permalink
Fix doc comment for BoundingDiagonal method
Browse files Browse the repository at this point in the history
  • Loading branch information
peterstace committed Feb 6, 2023
1 parent 2705ec1 commit 3046816
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions geom/type_envelope.go
Original file line number Diff line number Diff line change
Expand Up @@ -296,8 +296,8 @@ func (e Envelope) box() (rtree.Box, bool) {
}, !e.IsEmpty()
}

// BoundingDiagonal returns the LineString that goes from the minimum point in
// the Envelope to the point in the Envelope. If the envelope is degenerate and
// BoundingDiagonal returns the LineString that goes from the point returned by
// Min() to the point returned by Max(). If the envelope is degenerate and
// represents a single point, then a Point is returned instead of a LineString.
// If the Envelope is empty, then the empty Geometry (representing an empty
// GeometryCollection) is returned.
Expand Down

0 comments on commit 3046816

Please sign in to comment.