|
KiCad PCB EDA Suite
|
#include <odb_feature.h>
Classes | |
| struct | SURFACE_LINE |
Public Member Functions | |
| ODB_SURFACE_DATA (const SHAPE_POLY_SET::POLYGON &aPolygon) | |
| void | AddPolygonHoles (const SHAPE_POLY_SET::POLYGON &aPolygon) |
| void | WriteData (std::ostream &ost, const ODB_FORMAT &aFormat) const |
Public Attributes | |
| std::vector< std::vector< SURFACE_LINE > > | m_polygons |
Private Member Functions | |
| void | AddContour (const SHAPE_LINE_CHAIN &aChain, bool aHole) |
Definition at line 357 of file odb_feature.h.
| ODB_SURFACE_DATA::ODB_SURFACE_DATA | ( | const SHAPE_POLY_SET::POLYGON & | aPolygon | ) |
Definition at line 1349 of file odb_feature.cpp.
References AddContour().
|
private |
Definition at line 1362 of file odb_feature.cpp.
References SHAPE_LINE_CHAIN::Area(), SHAPE_LINE_CHAIN::CPoints(), m_polygons, and SHAPE_LINE_CHAIN::PointCount().
Referenced by AddPolygonHoles(), and ODB_SURFACE_DATA().
| void ODB_SURFACE_DATA::AddPolygonHoles | ( | const SHAPE_POLY_SET::POLYGON & | aPolygon | ) |
Definition at line 1355 of file odb_feature.cpp.
References AddContour().
| void ODB_SURFACE_DATA::WriteData | ( | std::ostream & | ost, |
| const ODB_FORMAT & | aFormat ) const |
Definition at line 1394 of file odb_feature.cpp.
References ODB::AddXY(), CW, m_polygons, and ODB_SURFACE_DATA::SURFACE_LINE::SEGMENT.
| std::vector<std::vector<SURFACE_LINE> > ODB_SURFACE_DATA::m_polygons |
Definition at line 393 of file odb_feature.h.
Referenced by AddContour(), and WriteData().