KiCad PCB EDA Suite
Loading...
Searching...
No Matches
ALLEGRO::BLK_0x01_ARC Struct Reference

Arc segment used in tracks, zone outlines, and shape boundaries. More...

#include <allegro_pcb_structs.h>

Public Attributes

uint8_t m_UnknownByte
 
uint8_t m_SubType
 Bit 6 (0x40) = clockwise direction.
 
uint32_t m_Key
 
uint32_t m_Next
 
uint32_t m_Parent
 
uint32_t m_Unknown1
 
COND_GE< FMT_VER::V_172, uint32_t > m_Unknown6
 
uint32_t m_Width
 
int32_t m_StartX
 
int32_t m_StartY
 
int32_t m_EndX
 
int32_t m_EndY
 
double m_CenterX
 
double m_CenterY
 
double m_Radius
 
std::array< int32_t, 4 > m_BoundingBoxCoords
 

Detailed Description

Arc segment used in tracks, zone outlines, and shape boundaries.

The sweep direction is encoded in m_SubType bit 6 (0x40 = clockwise). Center and radius are stored as word-swapped IEEE 754 doubles (ReadAllegroFloat).

Definition at line 506 of file allegro_pcb_structs.h.

Member Data Documentation

◆ m_BoundingBoxCoords

std::array<int32_t, 4> ALLEGRO::BLK_0x01_ARC::m_BoundingBoxCoords

Definition at line 528 of file allegro_pcb_structs.h.

◆ m_CenterX

double ALLEGRO::BLK_0x01_ARC::m_CenterX

Definition at line 524 of file allegro_pcb_structs.h.

Referenced by ALLEGRO::BOARD_BUILDER::buildTrack().

◆ m_CenterY

double ALLEGRO::BLK_0x01_ARC::m_CenterY

Definition at line 525 of file allegro_pcb_structs.h.

Referenced by ALLEGRO::BOARD_BUILDER::buildTrack().

◆ m_EndX

int32_t ALLEGRO::BLK_0x01_ARC::m_EndX

Definition at line 521 of file allegro_pcb_structs.h.

Referenced by ALLEGRO::BOARD_BUILDER::buildTrack().

◆ m_EndY

int32_t ALLEGRO::BLK_0x01_ARC::m_EndY

Definition at line 522 of file allegro_pcb_structs.h.

Referenced by ALLEGRO::BOARD_BUILDER::buildTrack().

◆ m_Key

uint32_t ALLEGRO::BLK_0x01_ARC::m_Key

Definition at line 510 of file allegro_pcb_structs.h.

◆ m_Next

uint32_t ALLEGRO::BLK_0x01_ARC::m_Next

Definition at line 511 of file allegro_pcb_structs.h.

◆ m_Parent

uint32_t ALLEGRO::BLK_0x01_ARC::m_Parent

Definition at line 512 of file allegro_pcb_structs.h.

Referenced by ALLEGRO::ARC::ARC().

◆ m_Radius

double ALLEGRO::BLK_0x01_ARC::m_Radius

Definition at line 526 of file allegro_pcb_structs.h.

◆ m_StartX

int32_t ALLEGRO::BLK_0x01_ARC::m_StartX

Definition at line 519 of file allegro_pcb_structs.h.

Referenced by ALLEGRO::BOARD_BUILDER::buildTrack().

◆ m_StartY

int32_t ALLEGRO::BLK_0x01_ARC::m_StartY

Definition at line 520 of file allegro_pcb_structs.h.

Referenced by ALLEGRO::BOARD_BUILDER::buildTrack().

◆ m_SubType

uint8_t ALLEGRO::BLK_0x01_ARC::m_SubType

Bit 6 (0x40) = clockwise direction.

Definition at line 509 of file allegro_pcb_structs.h.

Referenced by ALLEGRO::BOARD_BUILDER::buildTrack().

◆ m_Unknown1

uint32_t ALLEGRO::BLK_0x01_ARC::m_Unknown1

Definition at line 513 of file allegro_pcb_structs.h.

◆ m_Unknown6

COND_GE<FMT_VER::V_172, uint32_t> ALLEGRO::BLK_0x01_ARC::m_Unknown6

Definition at line 515 of file allegro_pcb_structs.h.

◆ m_UnknownByte

uint8_t ALLEGRO::BLK_0x01_ARC::m_UnknownByte

Definition at line 508 of file allegro_pcb_structs.h.

◆ m_Width

uint32_t ALLEGRO::BLK_0x01_ARC::m_Width

Definition at line 517 of file allegro_pcb_structs.h.

Referenced by ALLEGRO::BOARD_BUILDER::buildTrack().


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