peterstace / simplefeatures

Simple Features is a pure Go Implementation of the OpenGIS Simple Feature Access Specification
MIT License
125 stars 19 forks source link

Implement `RotatedMinimumWidthBoundingRectangle` #583

Closed peterstace closed 6 months ago

peterstace commented 6 months ago

Description

This builds on the functionality implemented as part of the RotatedMinimumAreaBoundingRectangle function (see https://github.com/peterstace/simplefeatures/pull/582). It's a variant that searches for the rotated bounding rectangle that has the smallest width.

Check List

Have you:

Related Issue

peterstace commented 6 months ago

Thanks for reviewing @albertteoh! I've implemented your suggestions in 7ec9ce9013097d11692e670dd373446c263690fc.