Package micycle.pgs.commons
Class MaximumInscribedRectangle
java.lang.Object
micycle.pgs.commons.MaximumInscribedRectangle
Finds an approximate largest area rectangle of arbitrary orientation in a
polygon via particle swarm optimisation.
- Author:
- Michael Carleton
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
MaximumInscribedRectangle
public MaximumInscribedRectangle(org.locationtech.jts.geom.Polygon polygon)
-
-
Method Details
-
computeMIR
public org.locationtech.jts.geom.Polygon computeMIR()
-