Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Additional Box2D functions #10

Open
garrettrayj opened this issue Apr 8, 2017 · 1 comment
Open

Additional Box2D functions #10

garrettrayj opened this issue Apr 8, 2017 · 1 comment

Comments

@garrettrayj
Copy link
Owner

Currently PHP7 Mapnik only implements the bare minimum requirements for constructing Box2D objects. There's plenty of low hanging fruit in the C++ API that would make working with envelopes easier...

  • width() and height()
  • expand_to_include()
  • contains()
  • intersects()
  • re_center()
  • clip()
  • pad()
  • etc.

Should probably do a PHP implementation of the coord class before tackling this.

@africanrhino
Copy link
Contributor

yeah, those are a great idea.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants