KiCad PCB EDA Suite
Loading...
Searching...
No Matches
CADSTAR_ARCHIVE_PARSER::SHAPE Struct Reference

#include <cadstar_archive_parser.h>

Inheritance diagram for CADSTAR_ARCHIVE_PARSER::SHAPE:
CADSTAR_ARCHIVE_PARSER::PARSER

Public Member Functions

void Parse (XNODE *aNode, PARSER_CONTEXT *aContext) override
 
SHAPE_LINE_CHAIN OutlineAsChain (const std::function< VECTOR2I(const VECTOR2I &)> aCadstarToKicadPointCallback, double aAccuracy) const
 
SHAPE_POLY_SET ConvertToPolySet (const std::function< VECTOR2I(const VECTOR2I &)> aCadstarToKicadPointCallback, double aAccuracy) const
 

Static Public Member Functions

static bool IsShape (XNODE *aNode)
 

Public Attributes

SHAPE_TYPE Type
 
std::vector< VERTEXVertices
 
std::vector< CUTOUTCutouts
 Not Applicable to OPENSHAPE Type.
 
wxString HatchCodeID
 Only Applicable for HATCHED Type.
 

Detailed Description

Definition at line 484 of file cadstar_archive_parser.h.

Member Function Documentation

◆ ConvertToPolySet()

SHAPE_POLY_SET CADSTAR_ARCHIVE_PARSER::SHAPE::ConvertToPolySet ( const std::function< VECTOR2I(const VECTOR2I &)>  aCadstarToKicadPointCallback,
double  aAccuracy 
) const

◆ IsShape()

bool CADSTAR_ARCHIVE_PARSER::SHAPE::IsShape ( XNODE aNode)
static

Definition at line 542 of file cadstar_archive_parser.cpp.

◆ OutlineAsChain()

SHAPE_LINE_CHAIN CADSTAR_ARCHIVE_PARSER::SHAPE::OutlineAsChain ( const std::function< VECTOR2I(const VECTOR2I &)>  aCadstarToKicadPointCallback,
double  aAccuracy 
) const

◆ Parse()

Member Data Documentation

◆ Cutouts

◆ HatchCodeID

wxString CADSTAR_ARCHIVE_PARSER::SHAPE::HatchCodeID

Only Applicable for HATCHED Type.

Definition at line 489 of file cadstar_archive_parser.h.

Referenced by CADSTAR_PCB_ARCHIVE_LOADER::loadCoppers().

◆ Type

◆ Vertices


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