kicad/polygon
Dick Hollenbeck e24990146d Pcbnew: major swig fix.
* Switched hashtables.h over to std::undordered_map from boost version.

* Added new macros DECL_VEC_FOR_SWIG() and DECL_MAP_FOR_SWIG() in macros.h.
  These along with future DECL_HASH_FOR_SWIG() unify the declaration to swig
  and C++ so that the resultant type name is common in both languages, and
  the types AGREE.

* Fixed swigging of NETINFO_ITEM and NETINFO_LIST via magic.

* Newly exposed (python wrapped) are: D_PADS, TRACKS (was TRACK_PTRS),
  NETNAME_MAP, NETCODE_MAP, wxString (without constructor purposely, read
  comment in wx.i), MARKERS, ZONE_CONTAINERS, NETCLASSPTR, KICAD_T types.

* std::vector<SOMETHING*> tends to end up named SOMETHINGS in C++ and python.
  Having the name consistent between like types is helpful, and between
  languages.  std::map<> ends up as SOMETHING_MAP.

* NETINFO_LIST::m_netNames and NETINFO_LIST::m_netCodes are now std::map
  instead of hashtables, because swig does not yet support std::unordered_map.

* You can now get to any netclass or net info.   NETNAMES_MAP and NETCODES_MAP
  are traversable basically the same as a python dictionary using a python
  string (not wsString) as the key!  The wxString typemap converts python
  string to wxString before the lookup happens.  Iteration also works.
2016-07-18 13:23:09 -04:00
..
poly2tri Coding policy fixes: remove trailing white space. 2015-12-14 16:20:54 -05:00
CMakeLists.txt Removed all dependencies on boost::polygon except for bitmap2component. Replaced almost all instances of CPOLYGONS_LIST with SHAPE_POLY_SET. 2015-07-27 21:45:57 +02:00
PolyLine.cpp Fix a bunch of misspellings of length. 2016-07-10 23:09:18 -04:00
PolyLine.h Pcbnew: major swig fix. 2016-07-18 13:23:09 -04:00
SutherlandHodgmanClipPoly.h Fix a not shown dialog under XFCE and Unity. Make display hotkeys window not modal. 2015-03-15 12:41:06 +01:00
clipper.cpp Fixed a few warnings (mostly gcc6 -Wmisleading-indent). 2016-06-07 14:42:42 +02:00
clipper.hpp Update clipper library version (from 6.21) to the latest (currently 6.4.0 , 2 July 2015) which fixes some bugs. 2015-11-02 13:45:33 +01:00
determine_if_point_inside_polygon.odt Switch to polygons in zones (old way no more supported) 2008-12-03 10:32:53 +00:00
math_for_graphics.cpp Add missing C++ stdlib headers 2016-05-28 12:46:29 -04:00
math_for_graphics.h Coding policy fixes: remove trailing white space. 2015-12-14 16:20:54 -05:00
polygon_test_point_inside.cpp Source license, coding policy, and documentation fixes. 2014-10-28 15:43:12 -04:00
polygon_test_point_inside.h Source license, coding policy, and documentation fixes. 2014-10-28 15:43:12 -04:00
polygons_defs.h Reverted commits that remove boost::polygon dependency (need more testing). 2015-07-14 22:23:13 +02:00