Closed zickler closed 4 months ago
I implemented it and tested it compared to what Mathematica computes with NMaximize (with constraints). The file is GeometricTools/GTE/Mathematics/InscribedFixedAspectRectInQuad.h
I will assume that this file works for you. If not, feel free to post again for this issue! (BTW, the same idea applies to fixed-aspect axis-aligned rectangle inscribed in an arbitrary convex polygon.)
Is there an implementation of the Largest Fixed-Aspect, Axis-Aligned Rectangle algorithm described in your document https://www.geometrictools.com/Documentation/MaximumAreaAspectRectangle.pdf?