1
$\begingroup$

This might sound confusing, but this is what I'm trying to achieve:

Cartesian bounds of isometric object

project to:

Isometric bounds of isometric object

I already have an algorithm in my mind, where we simply detect the corners touching the Cartesian rectangle and calculate the bounds from there, but I just wanted to see if there were more clever ways of solving this problem.

Note

  • It's not a homework

  • I don't want a full answer, just a pointer, wondering if there are more clever ways of solving it.

  • The isometric object can be a rectangle, it's width and height might differ.

$\endgroup$
  • 1
    $\begingroup$ Wouldn't the cartesian bounds of the rectangle with h=1 and w=2 be equal to the bounds of the rectangle with h=2 and w=1? $\endgroup$ – ratchet freak Jun 28 '17 at 13:15
  • $\begingroup$ @ratchetfreak h=2 and w=1 on isometric space? If so, I think not, the image that I posted has the same w and h on isometric space with 2:1 Cartesian bounds, but we could fit different objects with different isometric dimensions on the same Cartesian bounds. $\endgroup$ – Test Jun 28 '17 at 15:13
  • $\begingroup$ Thinking again, my algorithm should take circles into account. $\endgroup$ – Test Jun 28 '17 at 15:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.