KiCad PCB EDA Suite
OUTERS_AND_HOLES Struct Reference

Handle a subset of a polygon. More...

#include <polygon_2d.h>

Public Attributes

std::vector< SEGMENTSm_Outers
std::vector< SEGMENTSm_Holes

Detailed Description

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.

Member Data Documentation

◆ m_Holes

std::vector<SEGMENTS> OUTERS_AND_HOLES::m_Holes

◆ m_Outers

std::vector<SEGMENTS> OUTERS_AND_HOLES::m_Outers

The documentation for this struct was generated from the following file: