KiCad PCB EDA Suite
|
#include <algorithm>
#include <limits>
#include <optional>
#include <math/vector2d.h>
#include <geometry/eda_angle.h>
#include <core/kicad_algo.h>
#include <trigo.h>
Go to the source code of this file.
Classes | |
class | BOX2< Vec > |
A 2D bounding box built on top of an origin point and size vector. More... | |
Typedefs | |
typedef BOX2< VECTOR2I > | BOX2I |
typedef BOX2< VECTOR2D > | BOX2D |
typedef std::optional< BOX2I > | OPT_BOX2I |
Functions | |
BOX2I | BOX2ISafe (const BOX2D &aInput) |
BOX2I | BOX2ISafe (const VECTOR2D &aPos, const VECTOR2D &aSize) |
template<typename S , std::enable_if_t< std::is_integral< S >::value, int > = 0> | |
BOX2I | BOX2ISafe (const VECTOR2I &aPos, const VECTOR2< S > &aSize) |
Definition at line 893 of file box2.h.
References BOX2< Vec >::GetBottom(), BOX2< Vec >::GetLeft(), BOX2< Vec >::GetRight(), BOX2< Vec >::GetTop(), left, and right.
Referenced by PCB_SELECTION_TOOL::FilterCollectorForFootprints(), PCB_SELECTION_TOOL::FindItem(), PCB_TRACK::GetBoundingBox(), ROUTER_TOOL::handleCommonEvents(), PCB_SELECTION_TOOL::hitTestDistance(), ROUTER_TOOL::InlineDrag(), KIGFX::VIEW::Redraw(), KIGFX::PCB_PAINTER::renderNetNameForSegment(), DS_PROXY_VIEW_ITEM::ViewDraw(), and PCB_TRACK::ViewGetLOD().
Definition at line 908 of file box2.h.
References left, right, VECTOR2< T >::x, and VECTOR2< T >::y.
|
inline |
Definition at line 924 of file box2.h.
References right, VECTOR2< T >::x, and VECTOR2< T >::y.