KiCad PCB EDA Suite
|
#include <limits>
#include <vector>
#include <preview_items/polygon_geom_manager.h>
#include <geometry/geometry_utils.h>
#include <geometry/shape_line_chain.h>
Go to the source code of this file.
Functions | |
static SHAPE_LINE_CHAIN | build45DegLeader (const VECTOR2I &aEndPoint, SHAPE_LINE_CHAIN aLastPoints) |
|
static |
Definition at line 162 of file polygon_geom_manager.cpp.
References std::abs(), ANGLE_45, SHAPE_LINE_CHAIN::CPoint(), GetVectorSnapped45(), KiROUND(), EDA_ANGLE::Normalize90(), SHAPE_LINE_CHAIN::PointCount(), SHAPE_LINE_CHAIN::SegmentCount(), VECTOR2< T >::x, and VECTOR2< T >::y.
Referenced by POLYGON_GEOM_MANAGER::updateTemporaryLines().