KiCad PCB EDA Suite
|
Handle a subset of a polygon. More...
#include <polygon_2d.h>
Public Attributes | |
std::vector< SEGMENTS > | m_Outers |
std::vector< SEGMENTS > | m_Holes |
Handle a subset of a polygon.
It can contain multiple closed polygons and holes and us used to test if points are inside. A point will be inside the polygon if it is not inside a hole and it is inside an outer polygon.
Definition at line 78 of file polygon_2d.h.
std::vector<SEGMENTS> OUTERS_AND_HOLES::m_Holes |
Definition at line 81 of file polygon_2d.h.
Referenced by ConvertPolygonToBlocks(), POLYGON_2D::IsPointInside(), and POLYGON_2D::POLYGON_2D().
std::vector<SEGMENTS> OUTERS_AND_HOLES::m_Outers |
Definition at line 80 of file polygon_2d.h.
Referenced by ConvertPolygonToBlocks(), POLYGON_2D::IsPointInside(), and POLYGON_2D::POLYGON_2D().