Simon Richter
ad088db6d2
Add more "override" markers.
9 years ago
Simon Richter
59c81976dc
Explicitly mark overriding functions.
9 years ago
Chris Pavlina
4b6d28333e
Revert "Memoize SHAPE_LINE_CHAIN bounding box computation"
This reverts commit 30566de69a , which
caused some issues in PNS.
9 years ago
Chris Pavlina
30566de69a
Memoize SHAPE_LINE_CHAIN bounding box computation
For a specific project+system combination, this gives a 38% speedup on
the pcbnew side of netlist sync.
9 years ago
jean-pierre charras
63decd70e6
Minor fixes: Fix a few shadowed local variables, and deprecated warnings is a few dialogs generated by wxFormbuilder (using a very recent wxFormbuilder version, after apr 25, 2016)
10 years ago
jean-pierre charras
4a838fb8c3
Pcbnew: Add rounded rect pad shape.
10 years ago
Tomasz Wlostowski
0fa71d8d8f
more accurate pushout force calculation for circle-segment collisions
10 years ago
jean-pierre charras
178cf0dc25
Polygon calculation (zones filling): use fast mode when possible (in fact most of time) and strictly simple polygon option only in critical cases (in fact in plot Gerber functions mainly).
In polygon calculations (combining polygons, fracture) the mode of calculation (fast or strictly simple polygon option) as no more a default value, because choosing the best mode is better to optimize the calculation time.
10 years ago
Mario Luzeiro
61f4f1ca9d
Add hole count function and other minor improvements to SHAPE_POLY_SET.
10 years ago
Tomasz Wlostowski
a96299d456
router: improvements to shove algorithm
10 years ago
jean-pierre charras
c63f6aa3c5
Polygon boolean operations on SHAPE_POLY_SET: Add a parameter (aFastMode) to speed up calculations. By default, the transforms use an option to create stricly simple polygons.
In 3D viewer, this option can take a *very long* calculation time (minutes instead of seconds, or hangs) and they are now using aFastMode = true to do polygon calculations, especially for zones inside zones belong to the same net but having different priority (which creates weak polygons).
aFastMode = false is the default for other calculations (zone filling) as before.
10 years ago
Maciej Suminski
65ebfe12c1
Fixed oval pads highlighting in mark collisions mode (PNS).
10 years ago
Tomasz Wlostowski
07f5516e59
geometry: Parse() method for SHAPE_LINE_CHAIN, working on Read() in SHAPE_FILE_IO
10 years ago
jean-pierre charras
4b4d9d9770
Plot solder mask layer: fix incorrect margin of zones drawn on this layer (zone areas were slighly larger than the actual areas)
Fix a few minor and very minor other issues: coverity warnings and compil warning.
10 years ago
Tomasz Wlostowski
1d7e49a45c
SHAPE_POLY_SET::Inflate(): correct arc approximation for negative offsets (deflation). Control circle->segments count explicitly in all Inflate() calls
10 years ago
Tomasz Wlostowski
63b35f40a7
Removed all dependencies on boost::polygon except for bitmap2component. Replaced almost all instances of CPOLYGONS_LIST with SHAPE_POLY_SET.
10 years ago
Maciej Suminski
d2ebf688f9
Reverted commits that remove boost::polygon dependency (need more testing).
10 years ago
Tomasz Wlostowski
9f18e5a98f
SHAPE_POLY_SET::Inflate(): correct arc approximation for negative offsets (deflation). Control circle->segments count explicitly in all Inflate() calls
10 years ago
Tomasz Wlostowski
41c753b05d
Removed all dependencies on boost::polygon except for bitmap2component. Replaced almost all instances of CPOLYGONS_LIST with SHAPE_POLY_SET.
10 years ago
Tomasz Włostowski
24170f5588
Fixes to SHAPE_POLY_SET slitting/fracturing algo, some speed optimization.
10 years ago
Tomasz Wlostowski
506e8c4d89
added missing file
10 years ago
Mathias Grimmberger
7724c581fd
router: support for non-90 degree pad orientations
10 years ago
Tomasz Wlostowski
feaa403266
common/geometry: introducing set-of-polygons class (SHAPE_POLY_SET) and File I/O for shapes class (SHAPE_FILE_IO)
11 years ago
Tomasz Wlostowski
7e4bc6262c
common/geometry: added AllowDuplication option for adding vertices to a SHAPE_LINE_CHAIN
11 years ago
Tomasz Wlostowski
9cf885c383
common/geometry: rouding error fixes
11 years ago
Maciej Suminski
e6a10faab7
FIxed a few clang warnings.
11 years ago
Alexander Golubev
f2ce42ddb5
fix several -Woverloaded-virtual warnings in common/* dir
- CACHED_CONTAINER::GetVertices: removed useless and unused function
which does nothing but tainted the API
- SHAPE_LINE_CHAIN::Collide( const BOX2I& aBox, int aClearance ):
removed an outdated function with assert(false)
- SHAPE::BBox(): fix a small typo in the doc string
11 years ago
Maciej Suminski
4fb9bce354
Code formatting.
11 years ago
Tomasz Włostowski
c87b136522
geometry: new methods and fixes in SEG class
11 years ago
Maciej Suminski
9245b90392
Code formatting.
11 years ago
Tomasz Wlostowski
33f3aca611
geometry: IsSolid() and Move() methods, segment overlap detection, some improvements in SHAPE_LINE_CHAIN class.
11 years ago
jean-pierre charras
24f516f6ae
Fix many doxygen warnings (due to missing info, old comments, typo ...) when building the doxygen doc.
11 years ago
Tomasz Włostowski
dd5558f653
geometry: GetShape()->Shape() in indexed shape containers
12 years ago
Tomasz Włostowski
5a51d11b78
geometry: get rid of useless vertex references in SEG class
12 years ago
Maciej Suminski
0ae6b4412e
Added a missing file.
12 years ago
Maciej Suminski
cce6e27096
Various fixes to geometry & math library.
12 years ago
Maciej Suminski
402c7d21cb
Fixed ifdefs in rtree.h.
12 years ago
Marco Serantoni
d2083b0671
[MacOSX] Fix for name collision with OSX headers, Maciej, Tomasz or others feel free to rework if you want/like
12 years ago
Maciej Suminski
342fd6e19e
EC_CONVERGING handles colinear lines properly.
12 years ago
Maciej Suminski
66fcb84f92
Minor fix to SEG class.
12 years ago
Maciej Suminski
f82e07849b
Improved way of drawing 45-degree lines.
12 years ago
Maciej Suminski
d7fc8db02c
Removed warning.
12 years ago
Maciej Suminski
89b80b2bcd
Merged rtree.h, to avoid code duplication.
Fixes the case, when waste is never greater then the worst case and seeds assignment does not occur.
12 years ago
Orson
28b9317640
Fix redraw issue in modedit a modview, with GAL
12 years ago
Maciej Suminski
bc305859b2
Mainly case changes.
12 years ago
Maciej Suminski
0ac3e1fbf2
Namespace KiGfx->KIGFX.
template<> -> template <>
Some more reformatting according to uncrustify results.
12 years ago
Maciej Suminski
22045b61ea
Converted tabs to spaces. Removed trailing whitespaces.
12 years ago
Maciej Suminski
6b74b5771a
Even more code comments and reformatting.
12 years ago
Maciej Suminski
3f320e4d68
Some more comments and code formatting.
12 years ago
Maciej Suminski
7837dfa3ac
Fixed build for Mac OS
12 years ago