compat.h

libPathFinder / Docs / Headers / 

A compatibility header, defining some classes (based on templates) that were used in the old libpathfinder API (from version 0.0.2 and older).

Defined classes are:

  • MapInt defined as

  • pathfinder::map < int > with 0 as default_value
    
  • MapBool defined as

  • pathfinder::map < bool > with false as default_value
    

Also included in the two above map classes are the create method, that has been renamed to resize in the new API.

These classes are defined within the PathFinder namespace, as that was how they were defined in the old API.