|
KiCad PCB EDA Suite
|
#include <magic_enum.hpp>#include <algorithm>#include <unordered_set>#include <wx/log.h>#include <wx/debug.h>#include <wx/tokenzr.h>#include <bitmaps.h>#include <board.h>#include <board_design_settings.h>#include <collectors.h>#include <component_classes/component_class_manager.h>#include <confirm.h>#include <convert_basic_shapes_to_polygon.h>#include <convert_shape_list_to_polygon.h>#include <component_classes/component_class.h>#include <component_classes/component_class_cache_proxy.h>#include <drc/drc_item.h>#include <embedded_files.h>#include <font/font.h>#include <font/outline_font.h>#include <footprint.h>#include <geometry/convex_hull.h>#include <geometry/shape_segment.h>#include <geometry/shape_simple.h>#include <geometry/geometry_utils.h>#include <i18n_utility.h>#include <lset.h>#include <macros.h>#include <pad.h>#include <pcb_dimension.h>#include <pcb_edit_frame.h>#include <pcb_field.h>#include <pcb_group.h>#include <pcb_marker.h>#include <pcb_point.h>#include <pcb_reference_image.h>#include <pcb_textbox.h>#include <pcb_track.h>#include <pcb_barcode.h>#include <refdes_utils.h>#include <string_utils.h>#include <view/view.h>#include <zone.h>#include <google/protobuf/any.pb.h>#include <api/board/board_types.pb.h>#include <api/api_enums.h>#include <api/api_utils.h>#include <api/api_pcb_utils.h>#include <properties/property.h>#include <properties/property_mgr.h>Go to the source code of this file.
Classes | |
| struct | FOOTPRINT_DESC |
Functions | |
| static double | polygonArea (SHAPE_POLY_SET &aPolySet) |
| static constexpr std::optional< bool > | cmp_points_opt (const VECTOR2I &aPtA, const VECTOR2I &aPtB) |
| Compare two points, returning std::nullopt if they are identical. | |
Variables | |
| static struct FOOTPRINT_DESC | _FOOTPRINT_DESC |
|
staticconstexpr |
Compare two points, returning std::nullopt if they are identical.
Definition at line 4233 of file footprint.cpp.
References VECTOR2< T >::x, and VECTOR2< T >::y.
Referenced by FOOTPRINT::cmp_drawings::operator()(), FOOTPRINT::cmp_pads::operator()(), and FOOTPRINT::cmp_zones::operator()().
|
static |
Definition at line 3327 of file footprint.cpp.
References SHAPE_POLY_SET::Area(), SHAPE_POLY_SET::Hole(), SHAPE_POLY_SET::HoleCount(), SHAPE_POLY_SET::Outline(), SHAPE_POLY_SET::OutlineCount(), and SHAPE_LINE_CHAIN::SetClosed().
Referenced by FOOTPRINT::CoverageRatio(), and FOOTPRINT::GetCoverageArea().
|
static |