Maciej Suminski
aadcd93ab5
Removed a redundant field in RN_NODE class.
2015-06-05 17:49:01 +02:00
Maciej Suminski
e86351b1b0
Fixed ratsnest for tracks with 0 length.
2015-06-05 17:49:01 +02:00
Maciej Suminski
fa421f15d8
Clearer dynamic ratsnest (for moved items).
2015-06-05 17:49:00 +02:00
Maciej Suminski
16db8e644b
Logical operators for ratsnest node filters.
2015-06-05 17:49:00 +02:00
Maciej Suminski
6cc535f27f
Less significant changes to the ratsnest code (GAL).
2015-06-05 17:49:00 +02:00
Maciej Suminski
c23adc47b7
Ratsnest algorithm distinguishes layers (GAL).
2015-06-04 14:54:08 +02:00
Maciej Suminski
a12ea29de8
Refactored the way zones are kept in ratsnest model (GAL).
2015-06-04 14:54:07 +02:00
Maciej Suminski
a2b8ab6b41
Ratsnest fix (GAL).
2015-06-04 14:54:07 +02:00
Maciej Suminski
0331d9958a
Minor optimization for ratsnest.
2015-06-04 14:54:06 +02:00
Maciej Suminski
d18ed945c9
Do not run OpenMP loops when there is no data to
2015-04-30 10:46:06 +02:00
Maciej Suminski
97e4a3897c
Minor fix to ratsnest algorithm (GAL).
2015-03-10 15:02:27 +01:00
Maciej Suminski
56b692ae3e
"Select net/connection" (GAL).
2015-03-10 09:36:04 +01:00
Maciej Suminski
190af5d95b
Added functions to resolve connectivity queries in ratsnest (GAL).
2015-03-09 13:41:34 +01:00
Maciej Suminski
778011a893
Ratsnest is recalculated after global deletion of tracks and after importing a netlist.
2014-07-09 15:10:32 +02:00
Maciej Suminski
95a4f61eee
wxWidgets 2.8 compatibility fix.
2014-07-09 14:23:13 +02:00
Maciej Suminski
79631def2c
Improved ratsnest updating in GAL.
2014-06-03 16:08:23 +02:00
Maciej Suminski
fa846932c1
bugfix 1325375: pcbnew crash while append a board
2014-06-02 11:41:54 +02:00
Maciej Suminski
c3b448b633
Upstream merge.
2014-05-01 15:55:50 +02:00
Lorenzo Marcantonio
3f2c0e1a8d
TRACK/SEGVIA cleanup
...
- SEGVIA becomes VIA
- Drill size moved from TRACK to VIA
- Removed shape from TRACK, becomes ViaType in VIA
- GetTrace becomes GetTrack, for uniformity
- Some minor constification and typo fixes
2014-04-25 08:00:04 +02:00
Maciej Suminski
6fa2f060fa
Formatted ttl library to comply with KiCad coding policy.
2014-04-07 13:32:09 +02:00
Maciej Suminski
3a43f0527f
Changed void BASE_SCREEN::GetGrids( GRIDS& aList ) to const GRIDS& BASE_SCREEN::GetGrids().
...
Refactored:
- EDA_DRAW_FRAME::SetNextGrid() & SetPrevGrid()
- PCB_BASE_FRAME::SetFastGrid1() & SetFastGrid2()
Removed a warning from RN_DATA::updateNet(int).
2014-03-21 18:00:11 +01:00
Maciej Suminski
426844896e
Minor fixes (check for net codes size for ratsnest, cursor coordinates are not always shown as if the cursor was snapped).
2014-03-20 11:31:32 +01:00
Maciej Suminski
696a8a89fe
Changed cast from float to double in RN_POLY::HitTest.
2014-03-19 11:16:01 +01:00
Maciej Suminski
52791f2375
Changed cast from float to double in RN_POLY::HitTest.
2014-03-12 22:42:08 +01:00
Maciej Suminski
a377c9c1bc
Fixed erroneous hit testing for polygons in ratsnest for GAL.
2014-03-12 17:11:52 +01:00
Maciej Suminski
c7e3887ba4
Fixed erroneous hit testing for polygons in ratsnest for GAL.
2014-03-12 15:00:14 +01:00
Maciej Suminski
b6e3b3a3f9
Merged selection_tool branch.
2014-03-06 10:43:40 +01:00
Maciej Suminski
5ed0980dd5
Merged upstream.
2014-03-06 09:42:16 +01:00
Maciej Suminski
c557e52dab
Squashed memory leaks.
2014-03-05 14:57:14 +01:00
Maciej Suminski
41397f5b5b
Fixes ratsnest crashing on zones with negative net codes.
2014-02-28 11:12:55 +01:00
Maciej Suminski
f7d00a393b
Renamed BOARD_CONNECTED_ITEM::GetNet() -> GetNetCode()
...
Renamed BOARD_CONNECTED_ITEM::SetNet() -> SetNetCode()
Added BOARD_CONNECTED_ITEM::GetNet() for accessing NETINFO_ITEM* of a given item.
Fixed module editor crash when launched to edit a module from a PCB.
Replaced some BOARD::FindNet( item->GetNet() ) calls with BOARD_CONNECTED_ITEM::GetNet().
2014-02-25 11:47:27 +01:00
Maciej Suminski
75026d8754
Renamed BOARD_CONNECTED_ITEM::GetNet() -> GetNetCode()
...
Renamed BOARD_CONNECTED_ITEM::SetNet() -> SetNetCode()
Added BOARD_CONNECTED_ITEM::GetNet() for accessing NETINFO_ITEM* of a given item.
Fixed module editor crash when launched to edit a module from a PCB.
Replaced some BOARD::FindNet( item->GetNet() ) calls with BOARD_CONNECTED_ITEM::GetNet().
2014-02-25 11:40:34 +01:00
Maciej Suminski
363709e7a9
Added TOOL_INTERACTIVE::Activate().
...
Removed an unnecessary header from class_board_item.h.
2014-02-06 14:45:33 +01:00
Maciej Suminski
468e14f003
Merged ratsnest_threadsafe branch.
2014-02-05 11:55:04 +01:00
Maciej Suminski
f6aa447036
Ratsnest lines for zones are removed when a zone is dragged.
2014-02-03 17:40:39 +01:00
Carl Poirier
1490099ddd
Parallelized the RN_DATA::Recalculate() function.
2014-01-31 18:27:06 +01:00
Maciej Suminski
0c67e26e9c
Added the dynamic ratsnest for the tracks that are currently routed with the PNS router.
2014-01-31 18:05:11 +01:00
Maciej Suminski
630a3fb1b9
Safer RN_NET::GetNodes()
2014-01-31 14:41:15 +01:00
Maciej Suminski
7f3bf1bef7
Added missing operators==/!= for RN_NODE_PTR.
...
Moved ClearSimple() functions back to the header file.
2014-01-31 13:19:59 +01:00
Maciej Suminski
510fee1358
Another way of handling items for the ratsnest (clearer and now finally supports undo/redo of the PNS created tracks).
2014-01-30 15:46:39 +01:00
Maciej Suminski
83f7c7e35e
Added RN_DATA::Add()/Remove() methods.
...
RN_DATA::Update()/AddSimple() take BOARD_ITEM* as the parameter (instead of being split to versions with BOARD_CONNECTED_ITEM* and MODULE*), to make the code look clearer.
2014-01-28 16:30:58 +01:00
Maciej Suminski
a10d918cac
Thread-safe version of Delaunay triangulation.
2014-01-27 11:42:47 +01:00
Maciej Suminski
e537480f1e
Fixes crash when there are no edges for a given net in the ratsnest.
2014-01-26 22:01:42 +01:00
Maciej Suminski
84412ce135
Delaunau triangulation algorithm was bailing out if run on an emprty container.
2014-01-07 15:52:10 +01:00
Maciej Suminski
aaf857e894
Items removed from board are removed from ratsnest as well. Corrected the way of items removal from ratsnest.
2014-01-07 14:15:40 +01:00
Maciej Suminski
c79962635e
Ratsnest is updated, when there are tracks added using the P&S router.
2013-12-20 15:18:41 +01:00
Maciej Suminski
5fe20bbc70
Fixed broken search filters.
2013-12-20 11:54:48 +01:00
Maciej Suminski
c6efc451e6
Added ratsnest for GAL
2013-11-25 16:50:03 +01:00