KiCad PCB EDA Suite
Loading...
Searching...
No Matches
PADS_IO::DIMENSION Struct Reference

A dimension annotation for measurement display. More...

#include <pads_parser.h>

Public Attributes

std::string name
 Dimension identifier.
 
double x = 0.0
 Origin X coordinate.
 
double y = 0.0
 Origin Y coordinate.
 
double crossbar_pos = 0.0
 Crossbar position (Y for horizontal, X for vertical)
 
bool is_horizontal = true
 True for horizontal dimension.
 
int layer = 0
 Layer for dimension graphics.
 
std::vector< POINTpoints
 Dimension geometry points (measurement endpoints)
 
std::string text
 Dimension text/value.
 
double text_height = 0.0
 Text height.
 
double text_width = 0.0
 Text width.
 
double rotation = 0.0
 Text rotation angle.
 

Detailed Description

A dimension annotation for measurement display.

Definition at line 669 of file pads_parser.h.

Member Data Documentation

◆ crossbar_pos

double PADS_IO::DIMENSION::crossbar_pos = 0.0

Crossbar position (Y for horizontal, X for vertical)

Definition at line 674 of file pads_parser.h.

Referenced by PADS_IO::PARSER::parseSectionLINES().

◆ is_horizontal

bool PADS_IO::DIMENSION::is_horizontal = true

True for horizontal dimension.

Definition at line 675 of file pads_parser.h.

Referenced by PADS_IO::PARSER::parseSectionLINES().

◆ layer

int PADS_IO::DIMENSION::layer = 0

Layer for dimension graphics.

Definition at line 676 of file pads_parser.h.

Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), and PADS_IO::PARSER::parseSectionLINES().

◆ name

std::string PADS_IO::DIMENSION::name

Dimension identifier.

Definition at line 671 of file pads_parser.h.

Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), and PADS_IO::PARSER::parseSectionLINES().

◆ points

std::vector<POINT> PADS_IO::DIMENSION::points

Dimension geometry points (measurement endpoints)

Definition at line 677 of file pads_parser.h.

Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), and PADS_IO::PARSER::parseSectionLINES().

◆ rotation

double PADS_IO::DIMENSION::rotation = 0.0

Text rotation angle.

Definition at line 681 of file pads_parser.h.

Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), and PADS_IO::PARSER::parseSectionLINES().

◆ text

std::string PADS_IO::DIMENSION::text

Dimension text/value.

Definition at line 678 of file pads_parser.h.

Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), and PADS_IO::PARSER::parseSectionLINES().

◆ text_height

double PADS_IO::DIMENSION::text_height = 0.0

Text height.

Definition at line 679 of file pads_parser.h.

Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), and PADS_IO::PARSER::parseSectionLINES().

◆ text_width

double PADS_IO::DIMENSION::text_width = 0.0

Text width.

Definition at line 680 of file pads_parser.h.

Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), and PADS_IO::PARSER::parseSectionLINES().

◆ x

double PADS_IO::DIMENSION::x = 0.0

Origin X coordinate.

Definition at line 672 of file pads_parser.h.

Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), and PADS_IO::PARSER::parseSectionLINES().

◆ y

double PADS_IO::DIMENSION::y = 0.0

Origin Y coordinate.

Definition at line 673 of file pads_parser.h.

Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), and PADS_IO::PARSER::parseSectionLINES().


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