Skip to main content
Code Review

Return to Answer

Bounty Awarded with 50 reputation awarded by Community Bot
Source Link
greybeard
  • 7.4k
  • 3
  • 21
  • 55

Not much of a code review, too long for a comment - suggestion:

Do a line sweep over your (iso-oriented ("axis-parallel")?) rectangles computing "vertical" and "horizontal" scales sufficient to declutter them as needed. (With identical y-coordinates or enclosure, adjust x-scaling and vice-versa. With overlap or enclosure in both directions, main concerns are current scales and relative amount of overlap. With identical mid-point, you're screwed.)
Scale everything as computed, eyeball the result and refine your requirement description.

Post Made Community Wiki by greybeard
lang-java

AltStyle によって変換されたページ (->オリジナル) /