Horizon
|
A hole with diameter and position, that's it. More...
#include <hole.hpp>
Public Types | |
enum | Shape { ROUND, SLOT, ROUND, SLOT } |
enum | Shape { ROUND, SLOT, ROUND, SLOT } |
Public Member Functions | |
Hole (const UUID &uu, const json &j) | |
Hole (const UUID &uu) | |
Polygon | to_polygon () const |
UUID | get_uuid () const |
json | serialize () const |
Hole (const UUID &uu, const json &j) | |
Hole (const UUID &uu) | |
Polygon | to_polygon () const |
UUID | get_uuid () const |
json | serialize () const |
Public Attributes | |
UUID | uuid |
Placement | placement |
uint64_t | diameter = 0.5_mm |
uint64_t | length = 0.5_mm |
std::string | parameter_class |
bool | plated = false |
true if this hole is PTH, false if NPTH. More... | |
Shape | shape = Shape::ROUND |
A hole with diameter and position, that's it.
bool horizon::Hole::plated = false |
true if this hole is PTH, false if NPTH.
Used by the gerber exporter.