views:

40

answers:

1

How to get maximum Rectangle that can be placed within Path or Polygon. I need some functionality to get it.

+1  A: 

This site has a possible algorithm: http://cgm.cs.mcgill.ca/~athens/cs507/Projects/2003/DanielSud/

The same site also has a java applet with source code, but the applet uses a brute-force solution, not the algorithm described on the page.

Justin