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

< Token can be either "LEADERLINE", "LINEARLINE" or "ANGULARLINE" More...

#include <cadstar_pcb_archive_parser.h>

Inheritance diagram for CADSTAR_PCB_ARCHIVE_PARSER::DIMENSION::LINE:
CADSTAR_ARCHIVE_PARSER::PARSER

Public Types

enum class  TYPE { LINEARLINE , LEADERLINE , ANGULARLINE }
 
enum class  STYLE { INTERNAL , EXTERNAL }
 

Public Member Functions

void Parse (XNODE *aNode, PARSER_CONTEXT *aContext) override
 

Static Public Member Functions

static bool IsLine (XNODE *aNode)
 

Public Attributes

TYPE Type
 
LINECODE_ID LineCodeID
 param0
 
STYLE Style
 Subnode="DIMLINETYPE".
 
POINT Start
 [point1]
 
POINT End
 [point2]
 
POINT Centre
 Only for TYPE=ANGULARLINE [point3].
 
long LeaderAngle = UNDEFINED_VALUE
 Only for TYPE=LEADERLINE subnode "LEADERANG".
 
long LeaderLineLength = UNDEFINED_VALUE
 Only for TYPE=LEADERLINE Length of the angled part of the leader line [param5].
 
long LeaderLineExtensionLength = UNDEFINED_VALUE
 Only for TYPE=LEADERLINE Length of the horizontal part of the leader line [param6].
 

Detailed Description

< Token can be either "LEADERLINE", "LINEARLINE" or "ANGULARLINE"

Definition at line 664 of file cadstar_pcb_archive_parser.h.

Member Enumeration Documentation

◆ STYLE

Enumerator
INTERNAL 

The lines are placed inside the measurement token=DIMENSION_INTERNAL.

EXTERNAL 

The lines are placed outside the measurement (typically used when limited space) token=DIMENSION_EXTERNAL.

Definition at line 675 of file cadstar_pcb_archive_parser.h.

◆ TYPE

Enumerator
LINEARLINE 

Only for dimensions of type LINEARDIM.

LEADERLINE 

Only for dimensions of type LEADERRDIM.

If STYLE = INTERNAL, the result is the same as a LINEARLINE, i.e. all Leader Line-specific elements are ignored.

ANGULARLINE 

Only for dimensions of type ANGULARDIM.

Definition at line 666 of file cadstar_pcb_archive_parser.h.

Member Function Documentation

◆ IsLine()

bool CADSTAR_PCB_ARCHIVE_PARSER::DIMENSION::LINE::IsLine ( XNODE aNode)
static

Definition at line 1331 of file cadstar_pcb_archive_parser.cpp.

◆ Parse()

Member Data Documentation

◆ Centre

POINT CADSTAR_PCB_ARCHIVE_PARSER::DIMENSION::LINE::Centre

Only for TYPE=ANGULARLINE [point3].

Definition at line 689 of file cadstar_pcb_archive_parser.h.

◆ End

POINT CADSTAR_PCB_ARCHIVE_PARSER::DIMENSION::LINE::End

[point2]

Definition at line 688 of file cadstar_pcb_archive_parser.h.

Referenced by CADSTAR_PCB_ARCHIVE_LOADER::loadDimensions().

◆ LeaderAngle

long CADSTAR_PCB_ARCHIVE_PARSER::DIMENSION::LINE::LeaderAngle = UNDEFINED_VALUE

Only for TYPE=LEADERLINE subnode "LEADERANG".

Definition at line 691 of file cadstar_pcb_archive_parser.h.

Referenced by CADSTAR_PCB_ARCHIVE_LOADER::loadDimensions().

◆ LeaderLineExtensionLength

long CADSTAR_PCB_ARCHIVE_PARSER::DIMENSION::LINE::LeaderLineExtensionLength = UNDEFINED_VALUE

Only for TYPE=LEADERLINE Length of the horizontal part of the leader line [param6].

Definition at line 694 of file cadstar_pcb_archive_parser.h.

Referenced by CADSTAR_PCB_ARCHIVE_LOADER::loadDimensions().

◆ LeaderLineLength

long CADSTAR_PCB_ARCHIVE_PARSER::DIMENSION::LINE::LeaderLineLength = UNDEFINED_VALUE

Only for TYPE=LEADERLINE Length of the angled part of the leader line [param5].

Definition at line 692 of file cadstar_pcb_archive_parser.h.

Referenced by CADSTAR_PCB_ARCHIVE_LOADER::loadDimensions().

◆ LineCodeID

LINECODE_ID CADSTAR_PCB_ARCHIVE_PARSER::DIMENSION::LINE::LineCodeID

◆ Start

POINT CADSTAR_PCB_ARCHIVE_PARSER::DIMENSION::LINE::Start

[point1]

Definition at line 687 of file cadstar_pcb_archive_parser.h.

Referenced by CADSTAR_PCB_ARCHIVE_LOADER::loadDimensions().

◆ Style

STYLE CADSTAR_PCB_ARCHIVE_PARSER::DIMENSION::LINE::Style

Subnode="DIMLINETYPE".

Definition at line 685 of file cadstar_pcb_archive_parser.h.

Referenced by CADSTAR_PCB_ARCHIVE_LOADER::loadDimensions().

◆ Type

TYPE CADSTAR_PCB_ARCHIVE_PARSER::DIMENSION::LINE::Type

Definition at line 683 of file cadstar_pcb_archive_parser.h.


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