Opened 9 years ago

Closed 7 years ago

Last modified 7 years ago

#729 closed enhancement (fixed)

Add MinimumRectangle method

Reported by: Mike Taves Owned by: strk
Priority: major Milestone: 3.7.0
Component: Default Version: main
Severity: Feature Request Keywords:
Cc:

Description

This enhancement is to port the getMinimumRectangle() method from JTS, and expose it to the GEOS C API. The GEOS geos::algorithm::MinimumDiameter Class does not have this ability.

See com.vividsolutions.jts.algorithm.MinimumDiameter

Change History (7)

comment:2 by strk, 8 years ago

Milestone: GEOS Future3.6.0
Owner: changed from geos-devel@… to strk
Status: newassigned

comment:3 by strk, 8 years ago

Version: 3.5.0svn-trunk

Committead with r4123, thanks Nyall. Keeping ticket open for PHP bindings which are still missing.

comment:4 by strk, 8 years ago

Milestone: 3.6.03.7.0

Ticket retargeted after milestone closed

comment:5 by Sandro Santilli <strk@…>, 7 years ago

Resolution: fixed
Status: assignedclosed

In 7061e93/git:

Port MinimumDiameter::getMinimumRectangle algorithm from JTS

Also add GEOSMinimumRotatedRectangle and GEOSMinimumDiameter
to C API, and re-sync MinimumDiameter with JTS r966.

Includes testcases.

Fixes #729.

Patch by: Nyall Dawson <nyall.dawson@…>
Signed-off-by: Sandro Santilli <strk@…>

git-svn-id: http://svn.osgeo.org/geos/trunk@4123 5242fede-7e19-0410-aef8-94bd7d2200fb

comment:6 by Sandro Santilli <strk@…>, 7 years ago

In 7061e93/git:

Port MinimumDiameter::getMinimumRectangle algorithm from JTS

Also add GEOSMinimumRotatedRectangle and GEOSMinimumDiameter
to C API, and re-sync MinimumDiameter with JTS r966.

Includes testcases.

Fixes #729.

Patch by: Nyall Dawson <nyall.dawson@…>
Signed-off-by: Sandro Santilli <strk@…>

git-svn-id: http://svn.osgeo.org/geos/trunk@4123 5242fede-7e19-0410-aef8-94bd7d2200fb

comment:7 by Sandro Santilli <strk@…>, 7 years ago

In 7061e93/git:

Port MinimumDiameter::getMinimumRectangle algorithm from JTS

Also add GEOSMinimumRotatedRectangle and GEOSMinimumDiameter
to C API, and re-sync MinimumDiameter with JTS r966.

Includes testcases.

Fixes #729.

Patch by: Nyall Dawson <nyall.dawson@…>
Signed-off-by: Sandro Santilli <strk@…>

git-svn-id: http://svn.osgeo.org/geos/trunk@4123 5242fede-7e19-0410-aef8-94bd7d2200fb

Note: See TracTickets for help on using tickets.