Horizon
Loading...
Searching...
No Matches
src
util
polygon_arc_removal_proxy.hpp
1
#pragma once
2
#include "common/polygon.hpp"
3
#include <optional>
4
5
namespace
horizon {
6
class
PolygonArcRemovalProxy
{
7
public
:
8
PolygonArcRemovalProxy
(
const
Polygon
&poly,
unsigned
int
precision = 16);
9
const
Polygon
&get()
const
;
10
bool
had_arcs()
const
;
11
12
private
:
13
const
Polygon
&parent;
14
std::optional<Polygon> poly_arcs_removed;
15
const
Polygon
*ppoly =
nullptr
;
16
};
17
}
// namespace horizon
horizon::PolygonArcRemovalProxy
Definition
polygon_arc_removal_proxy.hpp:6
horizon::Polygon
Polygon used in Padstack, Package and Board for specifying filled Regions.
Definition
polygon.hpp:25
Generated by
1.9.8