KiCad PCB EDA Suite
Loading...
Searching...
No Matches
VIA_CROSS_SECTION_GEOMETRY::PIECE Struct Reference

#include <via_cross_section_geometry.h>

Public Member Functions

double Left () const
 
double Top () const
 
double Right () const
 
double Bottom () const
 

Public Attributes

bool m_Rect = true
 A rectangle holds its top left and bottom right corners, a polygon its outline.
 
std::vector< POINT > m_Points
 
bool m_Mixed = false
 

Detailed Description

Definition at line 118 of file via_cross_section_geometry.h.

Member Function Documentation

◆ Bottom()

double VIA_CROSS_SECTION_GEOMETRY::PIECE::Bottom ( ) const
inline

Definition at line 128 of file via_cross_section_geometry.h.

References m_Points.

◆ Left()

double VIA_CROSS_SECTION_GEOMETRY::PIECE::Left ( ) const
inline

Definition at line 125 of file via_cross_section_geometry.h.

References m_Points.

◆ Right()

double VIA_CROSS_SECTION_GEOMETRY::PIECE::Right ( ) const
inline

Definition at line 127 of file via_cross_section_geometry.h.

References m_Points.

◆ Top()

double VIA_CROSS_SECTION_GEOMETRY::PIECE::Top ( ) const
inline

Definition at line 126 of file via_cross_section_geometry.h.

References m_Points.

Member Data Documentation

◆ m_Mixed

bool VIA_CROSS_SECTION_GEOMETRY::PIECE::m_Mixed = false

Definition at line 123 of file via_cross_section_geometry.h.

Referenced by BODY_PAINTER::Material(), polygon(), and rect().

◆ m_Points

std::vector<POINT> VIA_CROSS_SECTION_GEOMETRY::PIECE::m_Points

◆ m_Rect

bool VIA_CROSS_SECTION_GEOMETRY::PIECE::m_Rect = true

A rectangle holds its top left and bottom right corners, a polygon its outline.

Definition at line 121 of file via_cross_section_geometry.h.

Referenced by BODY_PAINTER::Material(), polygon(), rect(), and BODY_PAINTER::Region().


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