KiCad PCB EDA Suite
Loading...
Searching...
No Matches
ODB_SURFACE_DATA Class Reference

#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)
 

Detailed Description

Definition at line 357 of file odb_feature.h.

Constructor & Destructor Documentation

◆ ODB_SURFACE_DATA()

ODB_SURFACE_DATA::ODB_SURFACE_DATA ( const SHAPE_POLY_SET::POLYGON & aPolygon)

Definition at line 1349 of file odb_feature.cpp.

References AddContour().

Member Function Documentation

◆ AddContour()

void ODB_SURFACE_DATA::AddContour ( const SHAPE_LINE_CHAIN & aChain,
bool aHole )
private

◆ AddPolygonHoles()

void ODB_SURFACE_DATA::AddPolygonHoles ( const SHAPE_POLY_SET::POLYGON & aPolygon)

Definition at line 1355 of file odb_feature.cpp.

References AddContour().

◆ WriteData()

void ODB_SURFACE_DATA::WriteData ( std::ostream & ost,
const ODB_FORMAT & aFormat ) const

Member Data Documentation

◆ m_polygons

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().


The documentation for this class was generated from the following files: