KiCad PCB EDA Suite
Loading...
Searching...
No Matches
altium_pcb.cpp File Reference
#include "altium_pcb.h"
#include "altium_parser_pcb.h"
#include <altium_pcb_compound_file.h>
#include <io/altium/altium_binary_parser.h>
#include <io/altium/altium_parser_utils.h>
#include <board.h>
#include <board_design_settings.h>
#include <layer_range.h>
#include <pcb_dimension.h>
#include <pad.h>
#include <pcb_shape.h>
#include <pcb_text.h>
#include <pcb_textbox.h>
#include <pcb_track.h>
#include <core/profile.h>
#include <string_utils.h>
#include <tools/pad_tool.h>
#include <zone.h>
#include <board_stackup_manager/stackup_predefined_prms.h>
#include <compoundfilereader.h>
#include <convert_basic_shapes_to_polygon.h>
#include <font/outline_font.h>
#include <project.h>
#include <reporter.h>
#include <trigo.h>
#include <utf.h>
#include <wx/docview.h>
#include <wx/log.h>
#include <wx/mstream.h>
#include <wx/wfstream.h>
#include <wx/zstream.h>
#include <progress_reporter.h>
#include <magic_enum.hpp>

Go to the source code of this file.

Functions

bool IsAltiumLayerCopper (ALTIUM_LAYER aLayer)
 
bool IsAltiumLayerAPlane (ALTIUM_LAYER aLayer)
 
void HelperShapeLineChainFromAltiumVertices (SHAPE_LINE_CHAIN &aLine, const std::vector< ALTIUM_VERTICE > &aVertices)
 
double normalizeAngleDegrees (double Angle, double aMin, double aMax)
 Normalize angle to be aMin < angle <= aMax angle is in degrees.
 

Variables

constexpr double BOLD_FACTOR = 1.75
 

Function Documentation

◆ HelperShapeLineChainFromAltiumVertices()

◆ IsAltiumLayerAPlane()

◆ IsAltiumLayerCopper()

◆ normalizeAngleDegrees()

double normalizeAngleDegrees ( double  Angle,
double  aMin,
double  aMax 
)

Normalize angle to be aMin < angle <= aMax angle is in degrees.

Definition at line 1333 of file altium_pcb.cpp.

Referenced by ALTIUM_PCB::ConvertComponentBody6ToFootprintItem(), and ALTIUM_PCB::ParseComponentsBodies6Data().

Variable Documentation

◆ BOLD_FACTOR

constexpr double BOLD_FACTOR = 1.75
constexpr