KiCad PCB EDA Suite
VECTOR2< T > Class Template Reference

VECTOR2 defines a general 2D-vector/point. More...

#include <vector2d.h>

Public Types

typedef VECTOR2_TRAITS< T >::extended_type extended_type
 
typedef T coord_type
 

Public Member Functions

 VECTOR2 ()
 Construct a 2D-vector with x, y = 0. More...
 
 VECTOR2 (T x, T y)
 Construct a vector with given components x, y. More...
 
template<typename CastingType >
 VECTOR2 (const VECTOR2< CastingType > &aVec)
 Initializes a vector from another specialization. More...
 
 VECTOR2 (const VECTOR2< T > &aVec)
 Copy a vector. More...
 
template<typename CastedType >
VECTOR2< CastedType > operator() () const
 Casts a vector to another specialized subclass. More...
 
 operator wxPoint () const
 (wxPoint) implements the cast to wxPoint. More...
 
EuclideanNorm () const
 Destructor. More...
 
extended_type SquaredEuclideanNorm () const
 Function Squared Euclidean Norm computes the squared euclidean norm of the vector, which is defined as (x ** 2 + y ** 2). More...
 
VECTOR2< T > Perpendicular () const
 Function Perpendicular computes the perpendicular vector. More...
 
VECTOR2< T > Resize (T aNewLength) const
 Function Resize returns a vector of the same direction, but length specified in aNewLength. More...
 
double Angle () const
 Function Angle computes the angle of the vector. More...
 
VECTOR2< T > Rotate (double aAngle) const
 Function Rotate rotates the vector by a given angle. More...
 
const std::string Format () const
 Function Format returns the vector formatted as a string. More...
 
extended_type Cross (const VECTOR2< T > &aVector) const
 Function Cross() computes cross product of self with aVector. More...
 
extended_type Dot (const VECTOR2< T > &aVector) const
 Function Dot() computes dot product of self with aVector. More...
 
VECTOR2< T > & operator= (const VECTOR2< T > &aVector)
 Assignment operator. More...
 
VECTOR2< T > operator+ (const VECTOR2< T > &aVector) const
 Vector addition operator. More...
 
VECTOR2< T > operator+ (const T &aScalar) const
 Scalar addition operator. More...
 
VECTOR2< T > & operator+= (const VECTOR2< T > &aVector)
 Compound assignment operator. More...
 
VECTOR2< T > & operator+= (const T &aScalar)
 Compound assignment operator. More...
 
VECTOR2< T > operator- (const VECTOR2< T > &aVector) const
 Vector subtraction operator. More...
 
VECTOR2< T > operator- (const T &aScalar) const
 Scalar subtraction operator. More...
 
VECTOR2< T > & operator-= (const VECTOR2< T > &aVector)
 Compound assignment operator. More...
 
VECTOR2< T > & operator-= (const T &aScalar)
 Compound assignment operator. More...
 
VECTOR2< T > operator- ()
 Negate Vector operator. More...
 
extended_type operator * (const VECTOR2< T > &aVector) const
 Scalar product operator. More...
 
VECTOR2< T > operator * (const T &aFactor) const
 Multiplication with a factor. More...
 
VECTOR2< T > operator/ (const T &aFactor) const
 Division with a factor. More...
 
bool operator== (const VECTOR2< T > &aVector) const
 Equality operator. More...
 
bool operator!= (const VECTOR2< T > &aVector) const
 Not equality operator. More...
 
bool operator< (const VECTOR2< T > &aVector) const
 Smaller than operator. More...
 
bool operator<= (const VECTOR2< T > &aVector) const
 
bool operator> (const VECTOR2< T > &aVector) const
 Greater than operator. More...
 
bool operator>= (const VECTOR2< T > &aVector) const
 

Public Attributes

x
 
y
 

Static Public Attributes

static constexpr extended_type ECOORD_MAX = std::numeric_limits<extended_type>::max()
 
static constexpr extended_type ECOORD_MIN = std::numeric_limits<extended_type>::min()
 

Detailed Description

template<class T = int>
class VECTOR2< T >

VECTOR2 defines a general 2D-vector/point.

This class uses templates to be universal. Several operators are provided to help easy implementing of linear algebra equations.

Definition at line 61 of file vector2d.h.

Member Typedef Documentation

◆ coord_type

template<class T = int>
typedef T VECTOR2< T >::coord_type

Definition at line 78 of file vector2d.h.

◆ extended_type

template<class T = int>
typedef VECTOR2_TRAITS<T>::extended_type VECTOR2< T >::extended_type

Definition at line 77 of file vector2d.h.

Constructor & Destructor Documentation

◆ VECTOR2() [1/4]

template<class T >
VECTOR2< T >::VECTOR2 ( )

Construct a 2D-vector with x, y = 0.

Definition at line 267 of file vector2d.h.

268 {
269  x = y = 0.0;
270 }

◆ VECTOR2() [2/4]

template<class T>
VECTOR2< T >::VECTOR2 ( x,
y 
)

Construct a vector with given components x, y.

Definition at line 291 of file vector2d.h.

292 {
293  x = aX;
294  y = aY;
295 }

◆ VECTOR2() [3/4]

template<class T = int>
template<typename CastingType >
VECTOR2< T >::VECTOR2 ( const VECTOR2< CastingType > &  aVec)
inline

Initializes a vector from another specialization.

Beware of rouding issues.

Definition at line 104 of file vector2d.h.

105  {
106  x = (T) aVec.x;
107  y = (T) aVec.y;
108  }

◆ VECTOR2() [4/4]

template<class T = int>
VECTOR2< T >::VECTOR2 ( const VECTOR2< T > &  aVec)
inline

Copy a vector.

Definition at line 111 of file vector2d.h.

112  {
113  x = aVec.x;
114  y = aVec.y;
115  }

Member Function Documentation

◆ Angle()

◆ Cross()

template<class T>
VECTOR2< T >::extended_type VECTOR2< T >::Cross ( const VECTOR2< T > &  aVector) const

Function Cross() computes cross product of self with aVector.

Definition at line 484 of file vector2d.h.

485 {
486  return (extended_type) x * (extended_type) aVector.y -
487  (extended_type) y * (extended_type) aVector.x;
488 }
VECTOR2_TRAITS< T >::extended_type extended_type
Definition: vector2d.h:77

Referenced by RN_NET::TRIANGULATOR_STATE::areNodesColinear(), PNS::TOPOLOGY::AssembleDiffPair(), SEG::Intersect(), and ALIGNED_DIMENSION::UpdateHeight().

◆ Dot()

template<class T>
VECTOR2< T >::extended_type VECTOR2< T >::Dot ( const VECTOR2< T > &  aVector) const

Function Dot() computes dot product of self with aVector.

Definition at line 492 of file vector2d.h.

493 {
494  return (extended_type) x * (extended_type) aVector.x +
495  (extended_type) y * (extended_type) aVector.y;
496 }
VECTOR2_TRAITS< T >::extended_type extended_type
Definition: vector2d.h:77

Referenced by SHAPE_ARC::Collide(), PNS::DP_PRIMITIVE_PAIR::CursorOrientation(), SEG::LineProject(), SEG::NearestPoint(), PNS::MEANDER_SHAPE::reflect(), and SEG::TCoef().

◆ EuclideanNorm()

template<class T >
T VECTOR2< T >::EuclideanNorm ( ) const

Destructor.

Function Euclidean Norm computes the Euclidean norm of the vector, which is defined as sqrt(x ** 2 + y ** 2). It is used to calculate the length of the vector.

Returns
Scalar, the euclidean norm

Definition at line 299 of file vector2d.h.

300 {
301  return sqrt( (extended_type) x * x + (extended_type) y * y );
302 }
VECTOR2_TRAITS< T >::extended_type extended_type
Definition: vector2d.h:77

Referenced by EC_CIRCLE::Apply(), PNS::TOPOLOGY::AssembleDiffPair(), SHAPE_POLY_SET::CollideVertex(), computeCenter(), SHAPE_RECT::Diagonal(), KIGFX::PCB_PAINTER::draw(), drawBacksideTicks(), drawCursorStrings(), KIGFX::OPENGL_GAL::DrawSegment(), drawTicksAlongLine(), POINT_EDITOR::editArcEndpointKeepTangent(), BEZIER_POLY::GetPoly(), TOOL_DISPATCHER::handleMouseButton(), GERBER_DRAW_ITEM::HitTest(), PNS::makeGapVector(), PNS::MEANDER_SHAPE::makeMiterShape(), ALIGNED_DIMENSION::updateGeometry(), ORTHOGONAL_DIMENSION::updateGeometry(), and ALIGNED_DIMENSION::UpdateHeight().

◆ Format()

template<class T >
const std::string VECTOR2< T >::Format ( ) const

Function Format returns the vector formatted as a string.

Returns
the formatted string

Definition at line 407 of file vector2d.h.

408 {
409  std::stringstream ss;
410 
411  ss << "( xy " << x << " " << y << " )";
412 
413  return ss.str();
414 }

Referenced by PNS::JOINT::Dump().

◆ operator *() [1/2]

template<class T>
VECTOR2< T >::extended_type VECTOR2< T >::operator * ( const VECTOR2< T > &  aVector) const

Scalar product operator.

Definition at line 453 of file vector2d.h.

454 {
455  return (extended_type)aVector.x * x + (extended_type)aVector.y * y;
456 }
VECTOR2_TRAITS< T >::extended_type extended_type
Definition: vector2d.h:77

◆ operator *() [2/2]

template<class T>
VECTOR2< T > VECTOR2< T >::operator * ( const T &  aFactor) const

Multiplication with a factor.

Definition at line 460 of file vector2d.h.

461 {
462  VECTOR2<T> vector( x * aFactor, y * aFactor );
463  return vector;
464 }
VECTOR2 defines a general 2D-vector/point.
Definition: vector2d.h:61

◆ operator wxPoint()

template<class T = int>
VECTOR2< T >::operator wxPoint ( ) const
inlineexplicit

(wxPoint) implements the cast to wxPoint.

Returns
wxPoint - the vector cast to wxPoint.

Definition at line 130 of file vector2d.h.

131  {
132  return wxPoint( x, y );
133  }

◆ operator!=()

template<class T>
bool VECTOR2< T >::operator!= ( const VECTOR2< T > &  aVector) const

Not equality operator.

Definition at line 535 of file vector2d.h.

536 {
537  return ( aVector.x != x ) || ( aVector.y != y );
538 }

◆ operator()()

template<class T = int>
template<typename CastedType >
VECTOR2<CastedType> VECTOR2< T >::operator() ( ) const
inline

Casts a vector to another specialized subclass.

Beware of rouding issues.

Definition at line 120 of file vector2d.h.

121  {
122  return VECTOR2<CastedType>( (CastedType) x, (CastedType) y );
123  }
VECTOR2 defines a general 2D-vector/point.
Definition: vector2d.h:61

◆ operator+() [1/2]

template<class T>
VECTOR2< T > VECTOR2< T >::operator+ ( const VECTOR2< T > &  aVector) const

Vector addition operator.

Definition at line 418 of file vector2d.h.

419 {
420  return VECTOR2<T> ( x + aVector.x, y + aVector.y );
421 }
VECTOR2 defines a general 2D-vector/point.
Definition: vector2d.h:61

◆ operator+() [2/2]

template<class T>
VECTOR2< T > VECTOR2< T >::operator+ ( const T &  aScalar) const

Scalar addition operator.

Definition at line 425 of file vector2d.h.

426 {
427  return VECTOR2<T> ( x + aScalar, y + aScalar );
428 }
VECTOR2 defines a general 2D-vector/point.
Definition: vector2d.h:61

◆ operator+=() [1/2]

template<class T>
VECTOR2< T > & VECTOR2< T >::operator+= ( const VECTOR2< T > &  aVector)

Compound assignment operator.

Definition at line 337 of file vector2d.h.

338 {
339  x += aVector.x;
340  y += aVector.y;
341  return *this;
342 }

◆ operator+=() [2/2]

template<class T>
VECTOR2< T > & VECTOR2< T >::operator+= ( const T &  aScalar)

Compound assignment operator.

Definition at line 346 of file vector2d.h.

347 {
348  x += aScalar;
349  y += aScalar;
350  return *this;
351 }

◆ operator-() [1/3]

template<class T>
VECTOR2< T > VECTOR2< T >::operator- ( const VECTOR2< T > &  aVector) const

Vector subtraction operator.

Definition at line 432 of file vector2d.h.

433 {
434  return VECTOR2<T> ( x - aVector.x, y - aVector.y );
435 }
VECTOR2 defines a general 2D-vector/point.
Definition: vector2d.h:61

◆ operator-() [2/3]

template<class T>
VECTOR2< T > VECTOR2< T >::operator- ( const T &  aScalar) const

Scalar subtraction operator.

Definition at line 439 of file vector2d.h.

440 {
441  return VECTOR2<T> ( x - aScalar, y - aScalar );
442 }
VECTOR2 defines a general 2D-vector/point.
Definition: vector2d.h:61

◆ operator-() [3/3]

template<class T>
VECTOR2< T > VECTOR2< T >::operator- ( )

Negate Vector operator.

Definition at line 446 of file vector2d.h.

447 {
448  return VECTOR2<T> ( -x, -y );
449 }
VECTOR2 defines a general 2D-vector/point.
Definition: vector2d.h:61

◆ operator-=() [1/2]

template<class T>
VECTOR2< T > & VECTOR2< T >::operator-= ( const VECTOR2< T > &  aVector)

Compound assignment operator.

Definition at line 355 of file vector2d.h.

356 {
357  x -= aVector.x;
358  y -= aVector.y;
359  return *this;
360 }

◆ operator-=() [2/2]

template<class T>
VECTOR2< T > & VECTOR2< T >::operator-= ( const T &  aScalar)

Compound assignment operator.

Definition at line 364 of file vector2d.h.

365 {
366  x -= aScalar;
367  y -= aScalar;
368  return *this;
369 }

◆ operator/()

template<class T>
VECTOR2< T > VECTOR2< T >::operator/ ( const T &  aFactor) const

Division with a factor.

Definition at line 468 of file vector2d.h.

469 {
470  VECTOR2<T> vector( x / aFactor, y / aFactor );
471  return vector;
472 }
VECTOR2 defines a general 2D-vector/point.
Definition: vector2d.h:61

◆ operator<()

template<class T>
bool VECTOR2< T >::operator< ( const VECTOR2< T > &  aVector) const

Smaller than operator.

Definition at line 500 of file vector2d.h.

501 {
502  return ( *this * *this ) < ( aVector * aVector );
503 }

◆ operator<=()

template<class T>
bool VECTOR2< T >::operator<= ( const VECTOR2< T > &  aVector) const

Definition at line 507 of file vector2d.h.

508 {
509  return ( *this * *this ) <= ( aVector * aVector );
510 }

◆ operator=()

template<class T>
VECTOR2< T > & VECTOR2< T >::operator= ( const VECTOR2< T > &  aVector)

Assignment operator.

Definition at line 328 of file vector2d.h.

329 {
330  x = aVector.x;
331  y = aVector.y;
332  return *this;
333 }

◆ operator==()

template<class T>
bool VECTOR2< T >::operator== ( const VECTOR2< T > &  aVector) const

Equality operator.

Definition at line 528 of file vector2d.h.

529 {
530  return ( aVector.x == x ) && ( aVector.y == y );
531 }

◆ operator>()

template<class T>
bool VECTOR2< T >::operator> ( const VECTOR2< T > &  aVector) const

Greater than operator.

Definition at line 514 of file vector2d.h.

515 {
516  return ( *this * *this ) > ( aVector * aVector );
517 }

◆ operator>=()

template<class T>
bool VECTOR2< T >::operator>= ( const VECTOR2< T > &  aVector) const

Definition at line 521 of file vector2d.h.

522 {
523  return ( *this * *this ) >= ( aVector * aVector );
524 }

◆ Perpendicular()

template<class T >
VECTOR2< T > VECTOR2< T >::Perpendicular ( ) const

Function Perpendicular computes the perpendicular vector.

Returns
Perpendicular vector

Definition at line 320 of file vector2d.h.

321 {
322  VECTOR2<T> perpendicular( -y, x );
323  return perpendicular;
324 }
VECTOR2 defines a general 2D-vector/point.
Definition: vector2d.h:61

Referenced by EC_LINE::Apply(), EC_PERPLINE::Apply(), PNS::ArcHull(), PNS::DP_GATEWAYS::BuildGeneric(), distanceFromPointToLine(), PNS::MEANDER_SHAPE::makeMiterShape(), and PNS::SegmentHull().

◆ Resize()

template<class T>
VECTOR2< T > VECTOR2< T >::Resize ( aNewLength) const

Function Resize returns a vector of the same direction, but length specified in aNewLength.

Parameters
aNewLengthlength of the rescaled vector
Returns
rescaled vector

Definition at line 392 of file vector2d.h.

393 {
394  if( x == 0 && y == 0 )
395  return VECTOR2<T> ( 0, 0 );
396 
397  extended_type l_sq_current = (extended_type) x * x + (extended_type) y * y;
398  extended_type l_sq_new = (extended_type) aNewLength * aNewLength;
399 
400  return VECTOR2<T> (
401  ( x < 0 ? -1 : 1 ) * sqrt( rescale( l_sq_new, (extended_type) x * x, l_sq_current ) ),
402  ( y < 0 ? -1 : 1 ) * sqrt( rescale( l_sq_new, (extended_type) y * y, l_sq_current ) ) ) * sign( aNewLength );
403 }
VECTOR2_TRAITS< T >::extended_type extended_type
Definition: vector2d.h:77
int sign(T val)
Definition: util.h:101
VECTOR2 defines a general 2D-vector/point.
Definition: vector2d.h:61
T rescale(T aNumerator, T aValue, T aDenominator)
Function rescale()
Definition: util.h:95

Referenced by SCH_EAGLE_PLUGIN::adjustNetLabels(), PNS::ArcHull(), Collide(), PNS_PCBNEW_RULE_RESOLVER::CollideHoles(), PNS::DP_PRIMITIVE_PAIR::CursorOrientation(), drawBacksideTicks(), drawTicksAlongLine(), PNS::MEANDER_SHAPE::forward(), PNS::MEANDER_SHAPE::genMeanderShape(), PNS::makeGapVector(), PNS::MEANDER_SHAPE::makeMiterShape(), PNS::MEANDERED_LINE::MeanderSegment(), PNS::MEANDER_SHAPE::miter(), PNS::MoveDiagonal(), SHAPE_LINE_CHAIN::PointAlong(), PNS::SHOVE::pushOrShoveVia(), PNS::VIA::PushoutForce(), PNS::SegmentHull(), CONVERT_TOOL::SegmentToArc(), PNS::tightenSegment(), ALIGNED_DIMENSION::updateGeometry(), ORTHOGONAL_DIMENSION::updateGeometry(), LEADER::updateGeometry(), POINT_EDITOR::updatePoints(), ALIGNED_DIMENSION::updateText(), ORTHOGONAL_DIMENSION::updateText(), and KIGFX::PREVIEW::RULER_ITEM::ViewDraw().

◆ Rotate()

template<class T >
VECTOR2< T > VECTOR2< T >::Rotate ( double  aAngle) const

Function Rotate rotates the vector by a given angle.

Rotate a VECTOR2 by aAngle.

Parameters
aAnglerotation angle in radians
Returns
rotated vector
Parameters
aAngle= rotation angle in radians

Definition at line 377 of file vector2d.h.

378 {
379  // Avoid 0 radian rotation, case very frequently found
380  if( aAngle == 0.0 )
381  return VECTOR2<T> ( T( x ), T( y ) );
382 
383  double sa = sin( aAngle );
384  double ca = cos( aAngle );
385 
386  return VECTOR2<T> ( T( (double) x * ca - (double) y * sa ),
387  T( (double) x * sa + (double) y * ca ) );
388 }
VECTOR2 defines a general 2D-vector/point.
Definition: vector2d.h:61

Referenced by DXF_IMPORT_PLUGIN::addArc(), EC_45DEGREE::Apply(), EC_CIRCLE::Apply(), PNS::OPTIMIZER::circleBreakouts(), GRID_HELPER::computeAnchors(), computeCenter(), KIGFX::WS_PAINTER::draw(), KIGFX::CAIRO_GAL_BASE::DrawArcSegment(), drawBacksideTicks(), drawTicksAlongLine(), KIGFX::PREVIEW::ARC_GEOM_MANAGER::GetEndRadiusEnd(), getRectangleAlongCentreLine(), KIGFX::PREVIEW::ARC_GEOM_MANAGER::GetStartRadiusEnd(), PNS::MEANDER_SHAPE::miter(), SHAPE_ARC::Rotate(), SHAPE_LINE_CHAIN::Rotate(), BASIC_GAL::transform(), PNS::MEANDER_SHAPE::turn(), ALIGNED_DIMENSION::updateGeometry(), ORTHOGONAL_DIMENSION::updateGeometry(), LEADER::updateGeometry(), CENTER_DIMENSION::updateGeometry(), ALIGNED_DIMENSION::updateText(), and ORTHOGONAL_DIMENSION::updateText().

◆ SquaredEuclideanNorm()

template<class T >
VECTOR2< T >::extended_type VECTOR2< T >::SquaredEuclideanNorm ( ) const

Function Squared Euclidean Norm computes the squared euclidean norm of the vector, which is defined as (x ** 2 + y ** 2).

It is used to calculate the length of the vector.

Returns
Scalar, the euclidean norm

Definition at line 306 of file vector2d.h.

307 {
308  return (extended_type) x * x + (extended_type) y * y;
309 }
VECTOR2_TRAITS< T >::extended_type extended_type
Definition: vector2d.h:77

Referenced by Collide(), SHAPE_ARC::Collide(), PNS_PCBNEW_RULE_RESOLVER::CollideHoles(), collideShapes(), D_PAD::HitTest(), and PNS::SHOVE::onCollidingVia().

Member Data Documentation

◆ ECOORD_MAX

◆ ECOORD_MIN

template<class T = int>
constexpr extended_type VECTOR2< T >::ECOORD_MIN = std::numeric_limits<extended_type>::min()
static

Definition at line 81 of file vector2d.h.

◆ x

template<class T = int>
T VECTOR2< T >::x

Definition at line 83 of file vector2d.h.

Referenced by PNS::INDEX::Add(), DXF_IMPORT_PLUGIN::addArc(), PNS_PCBNEW_DEBUG_DECORATOR::AddBox(), GRAPHICS_IMPORTER_PCBNEW::AddCircle(), ZONE_FILLER::addHatchFillTypeOnZone(), PNS_KICAD_IFACE::AddItem(), DXF_IMPORT_PLUGIN::addMText(), BOARD_ADAPTER::AddShapeWithClearanceToContainer(), BOARD_ADAPTER::AddSolidAreasShapesToContainer(), DXF_IMPORT_PLUGIN::addText(), CLAYER_TRIANGLES::AddToMiddleContourns(), DXF_IMPORT_PLUGIN::addVertex(), GRID_HELPER::Align(), EE_GRID_HELPER::Align(), EE_GRID_HELPER::AlignGrid(), GRID_HELPER::AlignToArc(), GRID_HELPER::AlignToSegment(), EE_GRID_HELPER::AlignToWire(), KIGFX::CAIRO_GAL::allocateBitmaps(), SHAPE_POLY_SET::Append(), EC_VERTICAL::Apply(), SEG::ApproxCollinear(), SEG::ApproxParallel(), HPGL_PLOTTER::Arc(), PS_PLOTTER::Arc(), PDF_PLOTTER::Arc(), SVG_PLOTTER::Arc(), DXF_PLOTTER::Arc(), SHAPE_RECT::BBox(), KIGFX::OPENGL_GAL::beginDrawing(), GRID_HELPER::BestSnapAnchor(), EE_GRID_HELPER::BestSnapAnchor(), SVG_PLOTTER::BezierCurve(), KIGFX::OPENGL_GAL::BitmapText(), KIGFX::OPENGL_GAL::blitCursor(), BOOST_AUTO_TEST_CASE(), BuildConvexHull(), PNS::DP_GATEWAYS::BuildForCursor(), KI_TEST::BuildHSeg(), DIRECTION_45::BuildInitialTrace(), BOARD_ADAPTER::buildPadShapeThickOutlineAsSegments(), KI_TEST::BuildRectChain(), KI_TEST::BuildVSeg(), LIB_ARC::CalcMidPoint(), calculateBezierSegmentationThreshold(), SHAPE_ARC::ccw(), SEG::ccw(), SHAPE_SIMPLE::CDPoint(), KIGFX::WX_VIEW_CONTROLS::CenterOnCursor(), SHAPE_POLY_SET::chamferFilletPolygon(), POLY_GRID_PARTITION::checkClearance(), PNS::DP_GATEWAYS::checkDiagonalAlignment(), PS_PLOTTER::Circle(), PDF_PLOTTER::Circle(), SVG_PLOTTER::Circle(), DXF_PLOTTER::Circle(), KIGFX::CAIRO_GAL_BASE::ClearScreen(), Collide(), SHAPE_ARC::Collide(), SHAPE_RECT::Collide(), PNS::ITEM::collideSimple(), SEG::Collinear(), PNS_KICAD_IFACE::Commit(), PNS::commonParallelProjection(), GRID_HELPER::computeAnchors(), KIGFX::OPENGL_GAL::computeBitmapTextSize(), computeCenter(), AR_AUTOPLACER::computePlacementRatsnestCost(), KIGFX::STROKE_FONT::ComputeStringBoundaryLimits(), PSLIKE_PLOTTER::computeTextParameters(), KIGFX::CAIRO_PRINT_GAL::ComputeWorldScreenMatrix(), KIGFX::OPENGL_GAL::ComputeWorldScreenMatrix(), CN_ANCHOR::ConnectedItemsCount(), DIRECTION_45::construct_(), POLY_GRID_PARTITION::containsPoint(), Convert_path_polygon_to_polygon_blocks_and_dummy_blocks(), Convert_shape_line_polygon_to_triangles(), ConvertOutlineToPolygon(), SHAPE_LINE_CHAIN::convertToClipper(), PROPERTIES_FRAME::CopyPrmsFromGeneralToPanel(), PROPERTIES_FRAME::CopyPrmsFromItemToPanel(), PROPERTIES_FRAME::CopyPrmsFromPanelToGeneral(), PROPERTIES_FRAME::CopyPrmsFromPanelToItem(), KIGFX::OPENGL_COMPOSITOR::CreateBuffer(), MICROWAVE_TOOL::createInductorBetween(), PolygonTriangulation::createList(), BOARD_ADAPTER::createNewPadDrill(), BOARD_ADAPTER::createNewPadWithClearance(), CreatePadsShapesSection(), VECTOR2< unsigned int >::Cross(), COMMON_TOOLS::CursorControl(), DIALOG_BOARD_REANNOTATE::DIALOG_BOARD_REANNOTATE(), DIALOG_IMPORT_GFX::DIALOG_IMPORT_GFX(), EDIT_TOOL::doMoveSelection(), VECTOR2< unsigned int >::Dot(), COMMON_TOOLS::doZoomFit(), KIGFX::WS_PAINTER::draw(), KIGFX::SCH_PAINTER::draw(), KIGFX::PCB_PAINTER::draw(), KIGFX::OPENGL_GAL::DrawArc(), KIGFX::OPENGL_GAL::DrawArcSegment(), KIGFX::OPENGL_GAL::DrawCircle(), drawCursorStrings(), KIGFX::OPENGL_GAL::drawFilledSemiCircle(), D_CODE::DrawFlashedPolygon(), KIGFX::OPENGL_GAL::DrawGrid(), KIGFX::CAIRO_GAL_BASE::DrawGrid(), BASIC_GAL::DrawLine(), KIGFX::OPENGL_GAL::drawLineQuad(), BOARD_PRINTOUT::DrawPage(), KIGFX::CAIRO_GAL_BASE::drawPoly(), KIGFX::OPENGL_GAL::DrawPolygon(), BASIC_GAL::DrawPolyline(), KI_TEST::DrawRect(), KIGFX::CAIRO_GAL_BASE::DrawRectangle(), KIGFX::OPENGL_GAL::DrawRectangle(), KIGFX::CAIRO_GAL_BASE::DrawSegment(), LIB_DRAWING_TOOLS::DrawShape(), KIGFX::STROKE_FONT::drawSingleLineText(), KIGFX::OPENGL_GAL::drawStrokedSemiCircle(), KIGFX::PREVIEW::DrawTextNextToCursor(), KIGFX::OPENGL_GAL::drawTriangulatedPolyset(), PNS::DP_PRIMITIVE_PAIR::dump(), SHAPE_LINE_CHAIN_BASE::EdgeContainingPoint(), POINT_EDITOR::editArcEndpointKeepCenter(), POINT_EDITOR::editArcEndpointKeepTangent(), POINT_EDITOR::editArcMidKeepCenter(), POINT_EDITOR::editArcMidKeepEnpoints(), GERBER_PLOTTER::emitDcode(), KIGFX::CAIRO_GAL::endDrawing(), PAD_TOOL::EnumeratePads(), PCB_EDIT_FRAME::ExecuteRemoteCommand(), export_vrml_board(), export_vrml_padshape(), export_vrml_polygon(), export_vrml_zones(), DSN::SPECCTRA_DB::fillBOUNDARY(), AR_AUTOPLACER::fillMatrix(), SCH_EDITOR_CONTROL::FindComponentAndItem(), SYMBOL_PREVIEW_WIDGET::fitOnDrawArea(), HPGL_PLOTTER::FlashPadCircle(), HPGL_PLOTTER::FlashPadCustom(), PSLIKE_PLOTTER::FlashPadCustom(), GERBER_PLOTTER::FlashPadCustom(), DXF_PLOTTER::FlashPadCustom(), HPGL_PLOTTER::FlashPadRoundRect(), PSLIKE_PLOTTER::FlashPadRoundRect(), GERBER_PLOTTER::FlashPadRoundRect(), DXF_PLOTTER::FlashPadRoundRect(), BOARD_ITEM::Flip(), WS_DATA_MODEL_IO::Format(), WS_DATA_MODEL_IO::format(), WS_DATA_MODEL_IO::formatCoordinate(), FormatInternalUnits(), WS_DATA_MODEL_IO::formatRepeatParameters(), FractureEdge::FractureEdge(), SHAPE_POLY_SET::fractureSingle(), GENERAL_COLLECTORS_GUIDE::GENERAL_COLLECTORS_GUIDE(), GERBER_DRAW_ITEM::GetABPosition(), CN_ITEM::GetAnchor(), GetArcCenter(), D_PAD::GetBestAnchorPosition(), DIMENSION::GetBoundingBox(), CENTER_DIMENSION::GetBoundingBox(), MODULE::GetBoundingPoly(), SHAPE_ARC::GetCentralAngle(), WS_DATA_ITEM_POLYGONS::GetCornerPosition(), WS_DATA_ITEM_POLYGONS::GetCornerPositionUi(), SHAPE_ARC::GetEndAngle(), WS_DATA_ITEM::GetEndPos(), KIGFX::ORIGIN_VIEWITEM::GetEndPosition(), WS_DATA_ITEM::GetEndPosUi(), GRID_HELPER::GetGrid(), EE_GRID_HELPER::GetGrid(), KIGFX::GAL::GetGridPoint(), ARRAY_GRID_OPTIONS::GetItemNumber(), KIGFX::GAL::GetMinDepth(), WS_DRAW_ITEM_BASE::GetMsgPanelInfo(), DRAWSEGMENT::GetMsgPanelInfo(), EDA_DRAW_FRAME::GetNearestGridPosition(), KIGFX::ORIGIN_VIEWITEM::GetPosition(), KIGFX::OPENGL_GAL::getScreenPixelSize(), KIGFX::SCH_PAINTER::getShadowWidth(), SHAPE_ARC::GetStartAngle(), WS_DATA_ITEM::GetStartPos(), WS_DATA_ITEM::GetStartPosUi(), ARRAY_GRID_OPTIONS::GetTransform(), MATRIX3x3< double >::GetTranslation(), GetVectorSnapped45(), EDIT_POINT::GetX(), GraphicTextWidth(), POLY_GRID_PARTITION::grid2poly(), POLY_GRID_PARTITION::grid2polyX(), SELECTION_TOOL::GuessSelectionCandidates(), KIGFX::WX_VIEW_CONTROLS::handleAutoPanning(), ZONE_CONTAINER::HatchBorder(), WS_DRAW_ITEM_POLYPOLYGONS::HitTest(), DIALOG_NEW_DATAITEM::initDlg(), KIGFX::OPENGL_COMPOSITOR::Initialize(), DXF_IMPORT_PLUGIN::insertArc(), DXF_IMPORT_PLUGIN::insertLine(), PolygonTriangulation::insertVertex(), SEG::Intersect(), PNS::LINE::Is45Degree(), GEOM_TEST::IsInQuadrant(), WS_DATA_ITEM::IsInsidePage(), WS_DATA_ITEM_POLYGONS::IsInsidePage(), KIGFX::CAIRO_PRINT_GAL::isLandscape(), EDA_TEXT::LenSize(), LexicographicalCompare(), LexicographicalMax(), LexicographicalMin(), SEG::LineDistance(), SEG::LineProject(), KIGFX::STROKE_FONT::LoadNewStrokeFont(), EDIT_POINTS_FACTORY::Make(), GEOM_TEST::MakeSquarePolyLine(), GRAPHICS_IMPORTER_PCBNEW::MapCoordinate(), mapCoords(), MARKER_BASE::MARKER_BASE(), SHAPE_ARC::Mirror(), ZONE_CONTAINER::Mirror(), SHAPE_LINE_CHAIN::Mirror(), STATUS_POPUP::Move(), BOARD_ITEM::Move(), WS_DATA_ITEM::MoveEndPointTo(), WS_DATA_ITEM::MoveEndPointToUi(), EDIT_TOOL::MoveExact(), WS_DATA_ITEM::MoveStartPointTo(), WS_DATA_ITEM::MoveToUi(), SEG::NearestPoint(), ROUTER_TOOL::NeighboringSegmentFilter(), PNS::OctagonalHull(), ACTION_MENU::OnIdle(), DIALOG_NEW_DATAITEM::OnOKClick(), KIGFX::WX_VIEW_CONTROLS::onScroll(), KIGFX::WX_VIEW_CONTROLS::onTimer(), KIGFX::WX_VIEW_CONTROLS::onWheel(), operator *(), VECTOR2< unsigned int >::operator *(), VECTOR2< unsigned int >::operator wxPoint(), VECTOR2< unsigned int >::operator!=(), PNS::JOINT::JOINT_TAG_HASH::operator()(), POLY_GRID_PARTITION::segHash::operator()(), VECTOR2< unsigned int >::operator()(), VECTOR2< unsigned int >::operator+(), VECTOR2< unsigned int >::operator+=(), VECTOR2< unsigned int >::operator-(), VECTOR2< unsigned int >::operator-=(), operator<<(), VECTOR2< unsigned int >::operator=(), VECTOR2< unsigned int >::operator==(), SHAPE_RECT::Outline(), BITMAPCONV_INFO::outputOnePolygon(), COMMON_TOOLS::PanControl(), SHAPE_LINE_CHAIN::Parse(), SHAPE_POLY_SET::Parse(), SCH_SEXPR_PARSER::parseArc(), PAGE_LAYOUT_READER_PARSER::parseBitmap(), PAGE_LAYOUT_READER_PARSER::parseCoordinate(), PAGE_LAYOUT_READER_PARSER::parseGraphic(), PAGE_LAYOUT_READER_PARSER::parsePolygon(), PAGE_LAYOUT_READER_PARSER::parsePolyOutline(), PAGE_LAYOUT_READER_PARSER::parseSetup(), PAGE_LAYOUT_READER_PARSER::parseText(), partitionPolyIntoRegularCellGrid(), HPGL_PLOTTER::PenTo(), PS_PLOTTER::PenTo(), PDF_PLOTTER::PenTo(), SVG_PLOTTER::PenTo(), DXF_PLOTTER::PenTo(), pinEditedCorner(), LIB_DRAWING_TOOLS::PlaceAnchor(), PCB_EDITOR_CONTROL::PlaceModule(), PCB_EDITOR_CONTROL::PlaceTarget(), GERBER_PLOTTER::plotArc(), PS_PLOTTER::PlotImage(), PDF_PLOTTER::PlotImage(), PS_PLOTTER::PlotPoly(), PDF_PLOTTER::PlotPoly(), SVG_PLOTTER::PlotPoly(), DXF_PLOTTER::PlotPoly(), PlotWorkSheet(), SHAPE_LINE_CHAIN_BASE::PointInside(), PNS::pointInside2(), POLY_GRID_PARTITION::poly2grid(), POLY_GRID_PARTITION::poly2gridX(), polygon_Convert(), GERBER_DRAW_ITEM::PrintGerberPoly(), WS_DRAW_ITEM_POLYPOLYGONS::PrintWsItem(), processEdge(), SHAPE_LINE_CHAIN::POINT_INSIDE_TRACKER::processVertex(), PNS::SHOVE::pushOrShoveVia(), HPGL_PLOTTER::Rect(), PS_PLOTTER::Rect(), PDF_PLOTTER::Rect(), SVG_PLOTTER::Rect(), PNS::OPTIMIZER::rectBreakouts(), DIALOG_PAD_PROPERTIES::redraw(), PNS::MEANDER_SHAPE::reflect(), FOOTPRINT_PREVIEW_PANEL::renderFootprint(), BOARD_ITEM::Rotate(), RotatePoint(), KIGFX::CAIRO_GAL_BASE::roundp(), CLIPBOARD_IO::SaveSelection(), KIGFX::CAIRO_GAL_BASE::Scale(), KIGFX::OPENGL_GAL::Scale(), POLY_GRID_PARTITION::scanCell(), PL_SELECTION_TOOL::selectionContains(), EE_SELECTION_TOOL::selectionContains(), SELECTION_TOOL::selectionContains(), PL_SELECTION_TOOL::selectMultiple(), EE_SELECTION_TOOL::selectMultiple(), SELECTION_TOOL::selectMultiple(), GERBVIEW_SELECTION_TOOL::selectPoint(), SELECTION_TOOL::selectPoint(), ZOOM_TOOL::selectRegion(), WS_DATA_ITEM_POLYGONS::SetBoundingBox(), KIGFX::VIEW::SetCenter(), KIGFX::CAIRO_GAL::setCompositor(), WS_DATA_ITEM_TEXT::SetConstrainedTextSize(), ZONE_CONTAINER::SetCornerPosition(), WS_DATA_ITEM::SetEnd(), KIGFX::GAL::SetGridOrigin(), KIGFX::GAL::SetGridSize(), KIGFX::GAL::SetLayerDepth(), KIGFX::SHADER::SetParameter(), EDIT_POINT::SetPosition(), MATRIX3x3< double >::SetScale(), KIGFX::CAIRO_PRINT_GAL::SetSheetSize(), WS_DATA_ITEM::SetStart(), MATRIX3x3< double >::SetTranslation(), WS_DATA_MODEL::SetupDrawEnvironment(), KIGFX::VIEW::SetViewport(), PNS::shovedArea(), DIALOG_IMPORT_GFX::showPcbImportOffsets(), sortEndsByDescendingX(), EDA_DRAW_PANEL_GAL::SwitchBackend(), WS_DATA_ITEM_TEXT::SyncDrawItems(), PNS_KICAD_IFACE_BASE::syncPad(), DRC_TEST_PROVIDER_HOLE_CLEARANCE::testHoles2Holes(), DRC_TEST_PROVIDER_COPPER_CLEARANCE::testZones(), PS_PLOTTER::Text(), SVG_PLOTTER::Text(), DXF_PLOTTER::Text(), DXF_PLOTTER::ThickSegment(), KIGFX::VIEW::ToScreen(), KIGFX::VIEW::ToWorld(), KIGFX::CAIRO_GAL_BASE::Translate(), KIGFX::OPENGL_GAL::Translate(), ALIGNED_DIMENSION::updateGeometry(), DXF_IMPORT_PLUGIN::updateImageLimits(), EE_POINT_EDITOR::updateItem(), POINT_EDITOR::updateItem(), POLYGON_GEOM_MANAGER::updateLeaderPoints(), DIALOG_IMPORT_GFX::updatePcbImportOffsets_mm(), EE_POINT_EDITOR::updatePoints(), PL_POINT_EDITOR::updatePoints(), KIGFX::WX_VIEW_CONTROLS::UpdateScrollbars(), PL_EDITOR_FRAME::UpdateStatusBar(), SCH_BASE_FRAME::UpdateStatusBar(), PCB_BASE_FRAME::UpdateStatusBar(), GERBVIEW_FRAME::UpdateStatusBar(), VECTOR2< unsigned int >::VECTOR2(), KIGFX::VERTEX_MANAGER::Vertex(), D_PAD::ViewBBox(), KIGFX::ORIGIN_VIEWITEM::ViewDraw(), KIGFX::PREVIEW::SELECTION_AREA::ViewDraw(), KIGFX::WX_VIEW_CONTROLS::WarpCursor(), EDIT_POINT::WithinPoint(), HYPERLYNX_EXPORTER::writeNetObjects(), GBR_TO_PCB_EXPORTER::writePcbPolygon(), GBR_TO_PCB_EXPORTER::writePcbZoneItem(), KIGFX::CAIRO_GAL_BASE::xform(), PANEL_PCBNEW_COLOR_SETTINGS::zoomFitPreview(), PANEL_EESCHEMA_COLOR_SETTINGS::zoomFitPreview(), SELECTION_TOOL::zoomFitSelection(), and DIALOG_IMPORT_GFX::~DIALOG_IMPORT_GFX().

◆ y

template<class T = int>
T VECTOR2< T >::y

Definition at line 83 of file vector2d.h.

Referenced by PNS::INDEX::Add(), DXF_IMPORT_PLUGIN::addArc(), PNS_PCBNEW_DEBUG_DECORATOR::AddBox(), GRAPHICS_IMPORTER_PCBNEW::AddCircle(), ZONE_FILLER::addHatchFillTypeOnZone(), PNS_KICAD_IFACE::AddItem(), DXF_IMPORT_PLUGIN::addMText(), BOARD_ADAPTER::AddShapeWithClearanceToContainer(), BOARD_ADAPTER::AddSolidAreasShapesToContainer(), DXF_IMPORT_PLUGIN::addText(), CLAYER_TRIANGLES::AddToMiddleContourns(), DXF_IMPORT_PLUGIN::addVertex(), GRID_HELPER::Align(), EE_GRID_HELPER::Align(), EE_GRID_HELPER::AlignGrid(), GRID_HELPER::AlignToArc(), GRID_HELPER::AlignToSegment(), EE_GRID_HELPER::AlignToWire(), KIGFX::CAIRO_GAL::allocateBitmaps(), SHAPE_POLY_SET::Append(), EC_HORIZONTAL::Apply(), SEG::ApproxCollinear(), SEG::ApproxParallel(), HPGL_PLOTTER::Arc(), PS_PLOTTER::Arc(), PDF_PLOTTER::Arc(), SVG_PLOTTER::Arc(), DXF_PLOTTER::Arc(), SHAPE_RECT::BBox(), KIGFX::OPENGL_GAL::beginDrawing(), GRID_HELPER::BestSnapAnchor(), EE_GRID_HELPER::BestSnapAnchor(), SVG_PLOTTER::BezierCurve(), KIGFX::OPENGL_GAL::BitmapText(), KIGFX::OPENGL_GAL::blitCursor(), BOOST_AUTO_TEST_CASE(), BuildConvexHull(), PNS::DP_GATEWAYS::BuildForCursor(), KI_TEST::BuildHSeg(), DIRECTION_45::BuildInitialTrace(), BOARD_ADAPTER::buildPadShapeThickOutlineAsSegments(), KI_TEST::BuildRectChain(), KI_TEST::BuildVSeg(), LIB_ARC::CalcMidPoint(), calculateBezierSegmentationThreshold(), SHAPE_ARC::ccw(), SEG::ccw(), SHAPE_SIMPLE::CDPoint(), KIGFX::WX_VIEW_CONTROLS::CenterOnCursor(), POLY_GRID_PARTITION::checkClearance(), PNS::DP_GATEWAYS::checkDiagonalAlignment(), PS_PLOTTER::Circle(), PDF_PLOTTER::Circle(), SVG_PLOTTER::Circle(), DXF_PLOTTER::Circle(), KIGFX::CAIRO_GAL_BASE::ClearScreen(), Collide(), SHAPE_ARC::Collide(), SHAPE_RECT::Collide(), PNS::ITEM::collideSimple(), SEG::Collinear(), PNS_KICAD_IFACE::Commit(), PNS::commonParallelProjection(), GRID_HELPER::computeAnchors(), KIGFX::OPENGL_GAL::computeBitmapTextSize(), KIGFX::STROKE_FONT::computeBoundingBox(), computeCenter(), KIGFX::STROKE_FONT::computeOverbarVerticalPosition(), AR_AUTOPLACER::computePlacementRatsnestCost(), KIGFX::STROKE_FONT::ComputeStringBoundaryLimits(), PSLIKE_PLOTTER::computeTextParameters(), KIGFX::CAIRO_PRINT_GAL::ComputeWorldScreenMatrix(), KIGFX::OPENGL_GAL::ComputeWorldScreenMatrix(), CN_ANCHOR::ConnectedItemsCount(), DIRECTION_45::construct_(), POLY_GRID_PARTITION::containsPoint(), Convert_path_polygon_to_polygon_blocks_and_dummy_blocks(), Convert_shape_line_polygon_to_triangles(), ConvertOutlineToPolygon(), SHAPE_LINE_CHAIN::convertToClipper(), PROPERTIES_FRAME::CopyPrmsFromGeneralToPanel(), PROPERTIES_FRAME::CopyPrmsFromItemToPanel(), PROPERTIES_FRAME::CopyPrmsFromPanelToGeneral(), PROPERTIES_FRAME::CopyPrmsFromPanelToItem(), KIGFX::OPENGL_COMPOSITOR::CreateBuffer(), MICROWAVE_TOOL::createInductorBetween(), PolygonTriangulation::createList(), BOARD_ADAPTER::createNewPadDrill(), BOARD_ADAPTER::createNewPadWithClearance(), CreatePadsShapesSection(), VECTOR2< unsigned int >::Cross(), COMMON_TOOLS::CursorControl(), DIALOG_BOARD_REANNOTATE::DIALOG_BOARD_REANNOTATE(), DIALOG_IMPORT_GFX::DIALOG_IMPORT_GFX(), EDIT_TOOL::doMoveSelection(), VECTOR2< unsigned int >::Dot(), COMMON_TOOLS::doZoomFit(), KIGFX::STROKE_FONT::Draw(), KIGFX::WS_PAINTER::draw(), KIGFX::SCH_PAINTER::draw(), KIGFX::PCB_PAINTER::draw(), KIGFX::OPENGL_GAL::DrawArc(), KIGFX::OPENGL_GAL::DrawArcSegment(), KIGFX::OPENGL_GAL::DrawCircle(), drawCursorStrings(), KIGFX::OPENGL_GAL::drawFilledSemiCircle(), D_CODE::DrawFlashedPolygon(), KIGFX::OPENGL_GAL::DrawGrid(), KIGFX::CAIRO_GAL_BASE::DrawGrid(), BASIC_GAL::DrawLine(), KIGFX::OPENGL_GAL::drawLineQuad(), BOARD_PRINTOUT::DrawPage(), KIGFX::CAIRO_GAL_BASE::drawPoly(), KIGFX::OPENGL_GAL::DrawPolygon(), BASIC_GAL::DrawPolyline(), KI_TEST::DrawRect(), KIGFX::CAIRO_GAL_BASE::DrawRectangle(), KIGFX::OPENGL_GAL::DrawRectangle(), KIGFX::CAIRO_GAL_BASE::DrawSegment(), LIB_DRAWING_TOOLS::DrawShape(), KIGFX::STROKE_FONT::drawSingleLineText(), KIGFX::OPENGL_GAL::drawStrokedSemiCircle(), KIGFX::PREVIEW::DrawTextNextToCursor(), KIGFX::OPENGL_GAL::drawTriangulatedPolyset(), PNS::DP_PRIMITIVE_PAIR::dump(), SHAPE_LINE_CHAIN_BASE::EdgeContainingPoint(), POINT_EDITOR::editArcEndpointKeepCenter(), POINT_EDITOR::editArcEndpointKeepTangent(), POINT_EDITOR::editArcMidKeepCenter(), POINT_EDITOR::editArcMidKeepEnpoints(), GERBER_PLOTTER::emitDcode(), KIGFX::CAIRO_GAL::endDrawing(), PAD_TOOL::EnumeratePads(), export_vrml_board(), export_vrml_padshape(), export_vrml_polygon(), export_vrml_zones(), DSN::SPECCTRA_DB::fillBOUNDARY(), AR_AUTOPLACER::fillMatrix(), SCH_EDITOR_CONTROL::FindComponentAndItem(), SYMBOL_PREVIEW_WIDGET::fitOnDrawArea(), HPGL_PLOTTER::FlashPadCircle(), HPGL_PLOTTER::FlashPadCustom(), PSLIKE_PLOTTER::FlashPadCustom(), GERBER_PLOTTER::FlashPadCustom(), DXF_PLOTTER::FlashPadCustom(), HPGL_PLOTTER::FlashPadRoundRect(), PSLIKE_PLOTTER::FlashPadRoundRect(), GERBER_PLOTTER::FlashPadRoundRect(), DXF_PLOTTER::FlashPadRoundRect(), BOARD_ITEM::Flip(), WS_DATA_MODEL_IO::Format(), WS_DATA_MODEL_IO::format(), WS_DATA_MODEL_IO::formatCoordinate(), FormatInternalUnits(), WS_DATA_MODEL_IO::formatRepeatParameters(), FractureEdge::FractureEdge(), GERBER_DRAW_ITEM::GetABPosition(), CN_ITEM::GetAnchor(), GetArcCenter(), D_PAD::GetBestAnchorPosition(), DIMENSION::GetBoundingBox(), MODULE::GetBoundingPoly(), SHAPE_ARC::GetCentralAngle(), WS_DATA_ITEM_POLYGONS::GetCornerPosition(), WS_DATA_ITEM_POLYGONS::GetCornerPositionUi(), SHAPE_ARC::GetEndAngle(), WS_DATA_ITEM::GetEndPos(), KIGFX::ORIGIN_VIEWITEM::GetEndPosition(), WS_DATA_ITEM::GetEndPosUi(), GRID_HELPER::GetGrid(), EE_GRID_HELPER::GetGrid(), KIGFX::GAL::GetGridPoint(), ARRAY_GRID_OPTIONS::GetItemNumber(), KIGFX::GAL::GetMaxDepth(), WS_DRAW_ITEM_BASE::GetMsgPanelInfo(), DRAWSEGMENT::GetMsgPanelInfo(), EDA_DRAW_FRAME::GetNearestGridPosition(), KIGFX::ORIGIN_VIEWITEM::GetPosition(), KIGFX::OPENGL_GAL::getScreenPixelSize(), SHAPE_ARC::GetStartAngle(), WS_DATA_ITEM::GetStartPos(), WS_DATA_ITEM::GetStartPosUi(), EDA_TEXT::GetTextBox(), ARRAY_GRID_OPTIONS::GetTransform(), MATRIX3x3< double >::GetTranslation(), GetVectorSnapped45(), EDIT_POINT::GetY(), POLY_GRID_PARTITION::grid2poly(), POLY_GRID_PARTITION::grid2polyY(), SELECTION_TOOL::GuessSelectionCandidates(), KIGFX::WX_VIEW_CONTROLS::handleAutoPanning(), ZONE_CONTAINER::HatchBorder(), WS_DRAW_ITEM_POLYPOLYGONS::HitTest(), DIALOG_NEW_DATAITEM::initDlg(), KIGFX::OPENGL_COMPOSITOR::Initialize(), KIGFX::CAIRO_GAL::initSurface(), DXF_IMPORT_PLUGIN::insertArc(), DXF_IMPORT_PLUGIN::insertLine(), PolygonTriangulation::insertVertex(), SEG::Intersect(), PNS::LINE::Is45Degree(), GEOM_TEST::IsInQuadrant(), WS_DATA_ITEM::IsInsidePage(), WS_DATA_ITEM_POLYGONS::IsInsidePage(), KIGFX::CAIRO_PRINT_GAL::isLandscape(), LexicographicalCompare(), LexicographicalMax(), LexicographicalMin(), SEG::LineDistance(), SEG::LineProject(), KIGFX::STROKE_FONT::LoadNewStrokeFont(), EDIT_POINTS_FACTORY::Make(), GEOM_TEST::MakeSquarePolyLine(), GRAPHICS_IMPORTER_PCBNEW::MapCoordinate(), mapCoords(), MARKER_BASE::MARKER_BASE(), FractureEdge::matches(), SHAPE_ARC::Mirror(), ZONE_CONTAINER::Mirror(), SHAPE_LINE_CHAIN::Mirror(), STATUS_POPUP::Move(), BOARD_ITEM::Move(), WS_DATA_ITEM::MoveEndPointTo(), WS_DATA_ITEM::MoveEndPointToUi(), EDIT_TOOL::MoveExact(), WS_DATA_ITEM::MoveStartPointTo(), WS_DATA_ITEM::MoveToUi(), SEG::NearestPoint(), ROUTER_TOOL::NeighboringSegmentFilter(), PNS::OctagonalHull(), ACTION_MENU::OnIdle(), KIGFX::WX_VIEW_CONTROLS::onMotion(), DIALOG_NEW_DATAITEM::OnOKClick(), KIGFX::WX_VIEW_CONTROLS::onScroll(), KIGFX::WX_VIEW_CONTROLS::onTimer(), KIGFX::WX_VIEW_CONTROLS::onWheel(), operator *(), VECTOR2< unsigned int >::operator *(), VECTOR2< unsigned int >::operator wxPoint(), VECTOR2< unsigned int >::operator!=(), PNS::JOINT::JOINT_TAG_HASH::operator()(), POLY_GRID_PARTITION::segHash::operator()(), VECTOR2< unsigned int >::operator()(), VECTOR2< unsigned int >::operator+(), VECTOR2< unsigned int >::operator+=(), VECTOR2< unsigned int >::operator-(), VECTOR2< unsigned int >::operator-=(), operator<<(), VECTOR2< unsigned int >::operator=(), VECTOR2< unsigned int >::operator==(), SHAPE_RECT::Outline(), BITMAPCONV_INFO::outputOnePolygon(), COMMON_TOOLS::PanControl(), SHAPE_LINE_CHAIN::Parse(), SHAPE_POLY_SET::Parse(), SCH_SEXPR_PARSER::parseArc(), PAGE_LAYOUT_READER_PARSER::parseBitmap(), PAGE_LAYOUT_READER_PARSER::parseCoordinate(), PAGE_LAYOUT_READER_PARSER::parseGraphic(), PAGE_LAYOUT_READER_PARSER::parsePolygon(), PAGE_LAYOUT_READER_PARSER::parsePolyOutline(), PAGE_LAYOUT_READER_PARSER::parseSetup(), PAGE_LAYOUT_READER_PARSER::parseText(), partitionPolyIntoRegularCellGrid(), HPGL_PLOTTER::PenTo(), PS_PLOTTER::PenTo(), PDF_PLOTTER::PenTo(), SVG_PLOTTER::PenTo(), DXF_PLOTTER::PenTo(), pinEditedCorner(), LIB_DRAWING_TOOLS::PlaceAnchor(), PCB_EDITOR_CONTROL::PlaceModule(), PCB_EDITOR_CONTROL::PlaceTarget(), GERBER_PLOTTER::plotArc(), PS_PLOTTER::PlotImage(), PDF_PLOTTER::PlotImage(), PS_PLOTTER::PlotPoly(), PDF_PLOTTER::PlotPoly(), SVG_PLOTTER::PlotPoly(), DXF_PLOTTER::PlotPoly(), PlotWorkSheet(), SHAPE_LINE_CHAIN_BASE::PointInside(), PNS::pointInside2(), POLY_GRID_PARTITION::poly2grid(), POLY_GRID_PARTITION::poly2gridY(), polygon_Convert(), GERBER_DRAW_ITEM::PrintGerberPoly(), WS_DRAW_ITEM_POLYPOLYGONS::PrintWsItem(), processEdge(), SHAPE_LINE_CHAIN::POINT_INSIDE_TRACKER::processVertex(), PNS::SHOVE::pushOrShoveVia(), HPGL_PLOTTER::Rect(), PS_PLOTTER::Rect(), PDF_PLOTTER::Rect(), SVG_PLOTTER::Rect(), PNS::OPTIMIZER::rectBreakouts(), DIALOG_PAD_PROPERTIES::redraw(), PNS::MEANDER_SHAPE::reflect(), FOOTPRINT_PREVIEW_PANEL::renderFootprint(), BOARD_ITEM::Rotate(), RotatePoint(), KIGFX::CAIRO_GAL_BASE::roundp(), CLIPBOARD_IO::SaveSelection(), KIGFX::CAIRO_GAL_BASE::Scale(), KIGFX::OPENGL_GAL::Scale(), POLY_GRID_PARTITION::scanCell(), PL_SELECTION_TOOL::selectionContains(), EE_SELECTION_TOOL::selectionContains(), SELECTION_TOOL::selectionContains(), PL_SELECTION_TOOL::selectMultiple(), EE_SELECTION_TOOL::selectMultiple(), SELECTION_TOOL::selectMultiple(), GERBVIEW_SELECTION_TOOL::selectPoint(), SELECTION_TOOL::selectPoint(), ZOOM_TOOL::selectRegion(), WS_DATA_ITEM_POLYGONS::SetBoundingBox(), KIGFX::VIEW::SetCenter(), KIGFX::CAIRO_GAL::setCompositor(), WS_DATA_ITEM_TEXT::SetConstrainedTextSize(), ZONE_CONTAINER::SetCornerPosition(), WS_DATA_ITEM::SetEnd(), KIGFX::GAL::SetGridOrigin(), KIGFX::GAL::SetGridSize(), KIGFX::GAL::SetLayerDepth(), KIGFX::SHADER::SetParameter(), EDIT_POINT::SetPosition(), MATRIX3x3< double >::SetScale(), KIGFX::CAIRO_PRINT_GAL::SetSheetSize(), WS_DATA_ITEM::SetStart(), MATRIX3x3< double >::SetTranslation(), WS_DATA_MODEL::SetupDrawEnvironment(), KIGFX::VIEW::SetViewport(), PNS::shovedArea(), DIALOG_IMPORT_GFX::showPcbImportOffsets(), EDA_DRAW_PANEL_GAL::SwitchBackend(), WS_DATA_ITEM_TEXT::SyncDrawItems(), PNS_KICAD_IFACE_BASE::syncPad(), DRC_TEST_PROVIDER_HOLE_CLEARANCE::testHoles2Holes(), DRC_TEST_PROVIDER_COPPER_CLEARANCE::testZones(), PS_PLOTTER::Text(), SVG_PLOTTER::Text(), DXF_PLOTTER::Text(), DXF_PLOTTER::ThickSegment(), KIGFX::VIEW::ToScreen(), KIGFX::VIEW::ToWorld(), KIGFX::CAIRO_GAL_BASE::Translate(), KIGFX::OPENGL_GAL::Translate(), ALIGNED_DIMENSION::updateGeometry(), DXF_IMPORT_PLUGIN::updateImageLimits(), EE_POINT_EDITOR::updateItem(), POINT_EDITOR::updateItem(), POLYGON_GEOM_MANAGER::updateLeaderPoints(), DIALOG_IMPORT_GFX::updatePcbImportOffsets_mm(), EE_POINT_EDITOR::updatePoints(), PL_POINT_EDITOR::updatePoints(), KIGFX::WX_VIEW_CONTROLS::UpdateScrollbars(), PL_EDITOR_FRAME::UpdateStatusBar(), SCH_BASE_FRAME::UpdateStatusBar(), PCB_BASE_FRAME::UpdateStatusBar(), GERBVIEW_FRAME::UpdateStatusBar(), VECTOR2< unsigned int >::VECTOR2(), KIGFX::VERTEX_MANAGER::Vertex(), D_PAD::ViewBBox(), KIGFX::ORIGIN_VIEWITEM::ViewDraw(), KIGFX::WX_VIEW_CONTROLS::WarpCursor(), EDIT_POINT::WithinPoint(), HYPERLYNX_EXPORTER::writeNetObjects(), GBR_TO_PCB_EXPORTER::writePcbPolygon(), GBR_TO_PCB_EXPORTER::writePcbZoneItem(), KIGFX::CAIRO_GAL_BASE::xform(), PANEL_PCBNEW_COLOR_SETTINGS::zoomFitPreview(), PANEL_EESCHEMA_COLOR_SETTINGS::zoomFitPreview(), SELECTION_TOOL::zoomFitSelection(), and DIALOG_IMPORT_GFX::~DIALOG_IMPORT_GFX().


The documentation for this class was generated from the following file: