Method for combining tiled squares defined as points into vectors

Posted by mars on Stack Overflow See other posts from Stack Overflow or by mars
Published on 2010-03-20T11:00:59Z Indexed on 2010/03/20 11:11 UTC
Read the original article Hit count: 333

Filed under:
|
|

If I tile squares, and the squares can be defined by their coordinates, how can I simplify shapes made of multiple squares into vectors that define each edge of the entire shape? Pseudo-code or general terms are fine.

Diagram

© Stack Overflow or respective owner

Related posts about vectors

Related posts about tiles