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

#include <odb_eda_data.h>

Inheritance diagram for OUTLINE_SQUARE:
PKG_OUTLINE

Public Member Functions

 OUTLINE_SQUARE (const VECTOR2I &aCenter, size_t aHalfSide)
 
void Write (std::ostream &ost, const ODB_FORMAT &aFormat) const override
 

Public Attributes

VECTOR2I m_center
 
size_t m_halfSide
 

Detailed Description

Definition at line 336 of file odb_eda_data.h.

Constructor & Destructor Documentation

◆ OUTLINE_SQUARE()

OUTLINE_SQUARE::OUTLINE_SQUARE ( const VECTOR2I & aCenter,
size_t aHalfSide )
inline

Definition at line 339 of file odb_eda_data.h.

References m_center, and m_halfSide.

Member Function Documentation

◆ Write()

void OUTLINE_SQUARE::Write ( std::ostream & ost,
const ODB_FORMAT & aFormat ) const
overridevirtual

Implements PKG_OUTLINE.

Definition at line 198 of file odb_eda_data.cpp.

References ODB::Data2String(), m_center, and m_halfSide.

Member Data Documentation

◆ m_center

VECTOR2I OUTLINE_SQUARE::m_center

Definition at line 343 of file odb_eda_data.h.

Referenced by OUTLINE_SQUARE(), and Write().

◆ m_halfSide

size_t OUTLINE_SQUARE::m_halfSide

Definition at line 344 of file odb_eda_data.h.

Referenced by OUTLINE_SQUARE(), and Write().


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