9 static const auto id = RuleID::CLEARANCE_COPPER;
10 RuleID get_id()
const override
17 json serialize()
const override;
19 std::string get_brief(
const class Block *block =
nullptr,
class IPool *pool =
nullptr)
const override;
20 bool is_match_all()
const override;
21 bool can_export()
const override;
26 uint64_t routing_offset = 0.05_mm;
28 uint64_t get_clearance(PatchType a, PatchType b)
const;
29 void set_clearance(PatchType a, PatchType b, uint64_t c);
30 uint64_t get_max_clearance()
const;
33 std::array<uint64_t, static_cast<size_t>(PatchType::N_TYPES) *
static_cast<size_t>(PatchType::N_TYPES)> clearances;