php7-mapnik icon indicating copy to clipboard operation
php7-mapnik copied to clipboard

Additional Box2D functions

Open garrettrayj opened this issue 8 years ago • 1 comments
trafficstars

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.

garrettrayj avatar Apr 08 '17 10:04 garrettrayj

yeah, those are a great idea.

africanrhino avatar May 23 '17 11:05 africanrhino