Horizon
board_rules_check_util.hpp
1#pragma once
2#include <string>
3#include "clipper/clipper.hpp"
4#include <cstdint>
5
6namespace horizon {
7std::string get_net_name(const class Net *net);
8
9ClipperLib::IntRect get_patch_bb(const ClipperLib::Paths &patch);
10bool bbox_test_overlap(const ClipperLib::IntRect &bb1, const ClipperLib::IntRect &bb2, uint64_t clearance);
11void format_progress(std::ostringstream &oss, size_t i, size_t n);
12} // namespace horizon
Definition: clipper.hpp:197