Skip to content

Additional Box2D functions #10

@garrettrayj

Description

@garrettrayj

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions