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-04-27 23:49:13 +03:00
2024-08-21 16:24:13 -07:00
2024-07-04 23:08:22 +03: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-04-14 01:19:39 +03:00
2024-07-18 18:01:05 +01:00
2024-07-26 20:49:29 +00:00
2024-05-05 21:30:25 +03:00
2024-09-06 23:07:58 +00:00
2024-05-23 07:59:45 -04:00
2024-05-31 13:35:44 +01:00
2024-09-06 16:00:49 -07:00
2024-08-29 04:57:13 +03:00
2024-05-06 10:00:19 -07:00
2024-04-20 12:10:31 +01:00
2024-07-17 10:32:09 -07:00
2024-04-27 23:49:13 +03:00
2024-08-27 11:49:28 +01:00
2024-09-06 23:07:58 +00:00
2024-07-15 13:38:34 +03:00
2024-09-06 23:07:58 +00:00
2024-07-26 20:49:29 +00:00
2024-09-05 08:35:49 -04:00
2024-04-27 23:49:13 +03:00
2024-04-27 23:49:13 +03:00