KiCad PCB EDA Suite
Loading...
Searching...
No Matches
teardrop_utils.cpp File Reference
#include <board_design_settings.h>
#include <pcb_track.h>
#include <pad.h>
#include <zone_filler.h>
#include <board_commit.h>
#include <drc/drc_rtree.h>
#include "teardrop.h"
#include <geometry/convex_hull.h>
#include <geometry/shape_line_chain.h>
#include <convert_basic_shapes_to_polygon.h>
#include <bezier_curves.h>
#include <wx/log.h>

Go to the source code of this file.

Functions

static VECTOR2D NormalizeVector (const VECTOR2I &aVector)
 

Function Documentation

◆ NormalizeVector()

static VECTOR2D NormalizeVector ( const VECTOR2I aVector)
static
Returns
a vector unit length from aVector

Definition at line 203 of file teardrop_utils.cpp.

References VECTOR2< T >::EuclideanNorm().

Referenced by TEARDROP_MANAGER::computeTeardropPolygon().