Coder Social home page Coder Social logo

Comments (2)

paulmach avatar paulmach commented on May 29, 2024

The Tile -> Bound -> 4 Tiles problem is expected. A tile is "closed" on 2 sides and "open" on the others (I think it's the top and left that are closed). Said another way, a point on a boundary or intersection of tiles should only be in 1 tile, or things get more complicated.

For example the point (0, 0) is at the intersection of 4 tiles, but is only in 1.

A bound however is closed on all 4 sides. 2 sides (edges, lines) are in the bound but not in the original tile. Extra tiles are add to cover those lines.

For the second question about intersecting bounds. I think it's the same issue, the new bound represents the boundary, a line, not empty.

Not sure what the solution is, maybe update the bound to support open and closed boundaries?

from orb.

jo-me avatar jo-me commented on May 29, 2024

Oh, I completely forgot about this issue.

Yes, having an option to specify open/closed boundaries sounds like it could help. But I have no idea how much of the code base would be affected by this ;)

from orb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.