9 static const auto id = RuleID::CLEARANCE_COPPER_OTHER;
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;
23 uint64_t get_clearance(PatchType pt_copper, PatchType pt_non_copper)
const;
24 void set_clearance(PatchType pt_copper, PatchType pt_non_copper, uint64_t c);
25 uint64_t get_max_clearance()
const;
29 uint64_t routing_offset = 0.05_mm;
32 std::map<std::pair<PatchType, PatchType>, uint64_t> clearances;