Seth Hillbrand
5e0abadb23
Reorganize layer numbering
...
F_Cu = 0
B_Cu = 2
Remaining internal copper layers are even and incrementing
Non-copper layers are odd and incrementing.
This means that we can no longer do things like:
for( PCB_LAYER_ID layer = F_Cu; layer <= B_Cu; ++layer)
Instead, we have the class LAYER_RANGE:
for( PCB_LAYER_ID layer : LAYER_RANGE( F_Cu, B_Cu) )
Similarly, gt/lt tests should not refer to the integer value of the
layer. We have functions such as IsCopperLayer to test whether a layer
is copper or not.
When using the connectivity RTree, the third dimension is layer, so we
provide B_Cu with the special INT_MAX value, ensuring that elements
between F_Cu and B_Cu will be identified. There is a new, special
function GetBoardLayer() for interfacing with CN_ITEMS
Similarly, PNS layers remain unchanged and sequential. A set of
interface functions is provided to map PNS layers to Board layers and
back. This allows the PNS_LAYER_RANGE to function as expected
2024-09-06 23:07:58 +00:00
..
2024-07-26 20:49:29 +00:00
2024-06-05 16:08:45 +00:00
2024-04-27 23:49:13 +03:00
2024-08-19 11:51:13 -07:00
2024-08-22 12:23:21 -06:00
2024-08-22 12:23:21 -06:00
2024-09-02 21:15:14 -04:00
2024-06-01 06:48:47 +03:00
2024-04-30 11:57:00 +00:00
2024-08-21 16:24:13 -07:00
2024-09-05 05:59:35 +03:00
2024-08-18 10:02:14 -06:00
2024-07-04 23:08:22 +03:00
2024-04-13 15:05:09 -04:00
2023-09-30 17:38:44 +01:00
2024-09-04 12:58:01 -07:00
2024-08-28 13:49:36 +01:00
2024-08-12 23:52:01 +01:00
2024-03-20 22:02:40 -04:00
2024-09-06 23:07:58 +00:00
2024-08-03 16:13:59 +00:00
2024-09-05 08:35:49 -04:00
2024-07-08 13:38:11 -07:00
2024-09-05 05:59:35 +03:00
2024-09-05 08:35:49 -04:00
2024-04-14 01:19:39 +03:00
2024-07-18 18:01:05 +01:00
2024-05-12 20:43:08 +01:00
2024-07-26 20:49:29 +00:00
2024-08-14 01:15:46 +01:00
2023-10-22 14:02:06 -04:00
2024-07-08 20:59:46 -07:00
2024-05-05 21:30:25 +03:00
2024-09-06 23:07:58 +00:00
2024-08-14 13:06:18 -07:00
2024-07-03 13:32:44 +01:00
2024-05-23 07:59:45 -04:00
2024-09-05 08:35:49 -04:00
2024-09-05 08:35:49 -04:00
2024-09-05 08:35:49 -04:00
2024-09-05 08:35:49 -04:00
2024-09-05 08:35:49 -04:00
2024-09-05 08:35:49 -04:00
2024-09-05 08:35:49 -04:00
2024-09-05 08:35:49 -04:00
2024-08-11 12:45:36 -06:00
2024-05-31 13:35:44 +01:00
2024-09-02 21:15:14 -04:00
2024-09-06 16:00:49 -07:00
2024-07-30 14:41:06 +01:00
2024-07-15 16:06:55 -07:00
2024-08-16 02:06:18 +00:00
2024-07-15 20:22:33 -04:00
2024-08-29 04:57:13 +03:00
2024-09-04 17:24:49 +01:00
2024-09-05 17:37:49 +01:00
2024-08-26 19:37:23 +02:00
2024-08-28 13:49:36 +01:00
2024-05-06 10:00:19 -07:00
2024-09-06 09:57:23 -07:00
2024-07-15 16:06:55 -07:00
2024-02-15 15:31:08 +00:00
2024-03-24 19:22:05 +00:00
2024-07-15 20:22:33 -04:00
2024-04-04 13:18:55 +01:00
2024-07-23 17:49:34 +01:00
2024-02-29 19:01:59 +00:00
2024-04-20 12:10:31 +01:00
2024-03-24 10:09:27 +00:00
2024-07-17 10:32:09 -07:00
2024-03-15 00:40:17 +00:00
2024-03-15 00:40:17 +00:00
2024-04-02 19:51:16 -04:00
2024-04-27 23:49:13 +03:00
2024-08-27 11:49:28 +01:00
2024-06-18 21:50:18 +00:00
2024-04-03 19:54:07 -04:00
2024-09-06 23:07:58 +00:00
2024-02-05 15:49:57 +00:00
2024-08-19 11:51:13 -07:00
2024-06-12 16:59:20 +01:00
2024-09-05 08:35:49 -04:00
2024-09-05 08:35:49 -04:00
2024-09-05 08:35:49 -04:00
2024-07-15 13:38:34 +03:00
2024-09-06 23:07:58 +00:00
2024-01-30 13:19:04 +00:00
2024-07-26 20:49:29 +00:00
2024-08-28 13:49:35 +01:00
2024-07-22 10:35:19 +00:00
2023-10-31 13:47:32 +01:00
2024-09-05 08:35:49 -04:00
2024-08-18 10:02:14 -06:00
2024-08-13 22:50:25 +02:00
2024-06-21 07:19:53 -04:00
2024-09-05 08:35:49 -04:00
2024-06-28 22:10:22 +01:00
2024-08-25 16:30:08 +02:00
2024-09-05 05:59:35 +03:00
2023-12-24 01:22:21 +00:00
2024-08-11 12:45:36 -06:00
2024-04-27 23:49:13 +03:00
2023-12-02 16:15:43 +00:00
2024-08-11 07:09:28 -04:00
2024-08-26 06:54:36 -07:00
2024-04-13 15:42:13 +01:00
2024-03-05 13:43:41 +00:00
2024-09-05 08:35:49 -04:00
2024-03-03 11:02:26 -05:00
2024-02-28 13:27:38 -08:00
2024-04-27 23:49:13 +03:00
2024-09-05 08:35:49 -04:00