Horizon
Loading...
Searching...
No Matches
padstack_hash.hpp
1#pragma once
2#include <glibmm/checksum.h>
3#include "common/common.hpp"
4
5namespace horizon {
7public:
8 static std::string hash(const class Padstack &padstack);
9
10private:
12 void update(const class Padstack &padstack);
13 std::string get_digest();
14
15 Glib::Checksum checksum;
16
17 void update(const class Hole &hole);
18 void update(const class Shape &shape);
19 void update(int64_t i);
20 void update(const Coordi &c);
21 void update(const class Placement &p);
22 void update(const class Polygon &p);
23};
24}; // namespace horizon
A hole with diameter and position, that's it.
Definition hole.hpp:15
Definition padstack_hash.hpp:6
Definition padstack.hpp:19
Definition placement.hpp:8
Polygon used in Padstack, Package and Board for specifying filled Regions.
Definition polygon.hpp:25
For commonly used Pad shapes.
Definition shape.hpp:15