KiCad PCB EDA Suite
VECTOR2< T > Class Template Reference

Class 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...
 
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 >

Class 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/3]

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

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

Definition at line 260 of file vector2d.h.

261 {
262  x = y = 0.0;
263 }

◆ VECTOR2() [2/3]

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

Construct a vector with given components x, y.

Definition at line 284 of file vector2d.h.

285 {
286  x = aX;
287  y = aY;
288 }

◆ VECTOR2() [3/3]

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  }

Member Function Documentation

◆ Angle()

template<class T >
double VECTOR2< T >::Angle ( ) const

Function Angle computes the angle of the vector.

Returns
vector angle, in radians

Definition at line 306 of file vector2d.h.

307 {
308  return atan2( (double) y, (double) x );
309 }

Referenced by EC_CIRCLE::Apply(), computeCenter(), KIGFX::GERBVIEW_PAINTER::draw(), drawCursorStrings(), KIGFX::PREVIEW::DRAW_CONTEXT::DrawLineWithAngleHighlight(), KIGFX::OPENGL_GAL::DrawSegment(), drawTicksAlongLine(), GERBER_DRAW_ITEM::HitTest(), and POINT_EDITOR::updateItem().

◆ 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 477 of file vector2d.h.

478 {
479  return (extended_type) x * (extended_type) aVector.y -
480  (extended_type) y * (extended_type) aVector.x;
481 }
VECTOR2_TRAITS< T >::extended_type extended_type
Definition: vector2d.h:77

Referenced by PNS::TOPOLOGY::AssembleDiffPair(), SEG::Intersect(), and 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 485 of file vector2d.h.

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

Referenced by PNS::DP_PRIMITIVE_PAIR::CursorOrientation(), SEG::LineProject(), SEG::NearestPoint(), SEG::PointCloserThan(), 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 292 of file vector2d.h.

293 {
294  return sqrt( (extended_type) x * x + (extended_type) y * y );
295 }
VECTOR2_TRAITS< T >::extended_type extended_type
Definition: vector2d.h:77

Referenced by EC_CIRCLE::Apply(), PNS::TOPOLOGY::AssembleDiffPair(), D_PAD::boundingRadius(), computeCenter(), PNS::OPTIMIZER::customBreakouts(), SHAPE_RECT::Diagonal(), KIGFX::PCB_PAINTER::draw(), drawBacksideTicks(), drawCursorStrings(), drawTicksAlongLine(), TOOL_DISPATCHER::handleMouseButton(), GERBER_DRAW_ITEM::HitTest(), PNS::makeGapVector(), PNS::MEANDER_SHAPE::makeMiterShape(), PNS::SHOVE::onCollidingVia(), and 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 400 of file vector2d.h.

401 {
402  std::stringstream ss;
403 
404  ss << "( xy " << x << " " << y << " )";
405 
406  return ss.str();
407 }

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 446 of file vector2d.h.

447 {
448  return (extended_type)aVector.x * x + (extended_type)aVector.y * y;
449 }
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 453 of file vector2d.h.

454 {
455  VECTOR2<T> vector( x * aFactor, y * aFactor );
456  return vector;
457 }
Class 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 123 of file vector2d.h.

124  {
125  return wxPoint( x, y );
126  }

◆ operator!=()

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

Not equality operator.

Definition at line 528 of file vector2d.h.

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

◆ 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 113 of file vector2d.h.

114  {
115  return VECTOR2<CastedType>( (CastedType) x, (CastedType) y );
116  }
Class 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 411 of file vector2d.h.

412 {
413  return VECTOR2<T> ( x + aVector.x, y + aVector.y );
414 }
Class 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 418 of file vector2d.h.

419 {
420  return VECTOR2<T> ( x + aScalar, y + aScalar );
421 }
Class 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 330 of file vector2d.h.

331 {
332  x += aVector.x;
333  y += aVector.y;
334  return *this;
335 }

◆ operator+=() [2/2]

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

Compound assignment operator.

Definition at line 339 of file vector2d.h.

340 {
341  x += aScalar;
342  y += aScalar;
343  return *this;
344 }

◆ operator-() [1/3]

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

Vector subtraction operator.

Definition at line 425 of file vector2d.h.

426 {
427  return VECTOR2<T> ( x - aVector.x, y - aVector.y );
428 }
Class 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 432 of file vector2d.h.

433 {
434  return VECTOR2<T> ( x - aScalar, y - aScalar );
435 }
Class 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 439 of file vector2d.h.

440 {
441  return VECTOR2<T> ( -x, -y );
442 }
Class 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 348 of file vector2d.h.

349 {
350  x -= aVector.x;
351  y -= aVector.y;
352  return *this;
353 }

◆ operator-=() [2/2]

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

Compound assignment operator.

Definition at line 357 of file vector2d.h.

358 {
359  x -= aScalar;
360  y -= aScalar;
361  return *this;
362 }

◆ operator/()

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

Division with a factor.

Definition at line 461 of file vector2d.h.

462 {
463  VECTOR2<T> vector( x / aFactor, y / aFactor );
464  return vector;
465 }
Class 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 493 of file vector2d.h.

494 {
495  return ( *this * *this ) < ( aVector * aVector );
496 }

◆ operator<=()

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

Definition at line 500 of file vector2d.h.

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

◆ operator=()

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

Assignment operator.

Definition at line 321 of file vector2d.h.

322 {
323  x = aVector.x;
324  y = aVector.y;
325  return *this;
326 }

◆ operator==()

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

Equality operator.

Definition at line 521 of file vector2d.h.

522 {
523  return ( aVector.x == x ) && ( aVector.y == y );
524 }

◆ operator>()

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

Greater than operator.

Definition at line 507 of file vector2d.h.

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

◆ operator>=()

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

Definition at line 514 of file vector2d.h.

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

◆ Perpendicular()

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

Function Perpendicular computes the perpendicular vector.

Returns
Perpendicular vector

Definition at line 313 of file vector2d.h.

314 {
315  VECTOR2<T> perpendicular( -y, x );
316  return perpendicular;
317 }
Class VECTOR2 defines a general 2D-vector/point.
Definition: vector2d.h:61

Referenced by EC_LINE::Apply(), 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 385 of file vector2d.h.

386 {
387  if( x == 0 && y == 0 )
388  return VECTOR2<T> ( 0, 0 );
389 
390  extended_type l_sq_current = (extended_type) x * x + (extended_type) y * y;
391  extended_type l_sq_new = (extended_type) aNewLength * aNewLength;
392 
393  return VECTOR2<T> (
394  ( x < 0 ? -1 : 1 ) * sqrt( rescale( l_sq_new, (extended_type) x * x, l_sq_current ) ),
395  ( y < 0 ? -1 : 1 ) * sqrt( rescale( l_sq_new, (extended_type) y * y, l_sq_current ) ) ) * sign( aNewLength );
396 }
VECTOR2_TRAITS< T >::extended_type extended_type
Definition: vector2d.h:77
Class VECTOR2 defines a general 2D-vector/point.
Definition: vector2d.h:61
T rescale(T aNumerator, T aValue, T aDenominator)
Function rescale()
int sign(T val)
Definition: math_util.h:44

Referenced by SCH_EAGLE_PLUGIN::adjustNetLabels(), PNS::DP_PRIMITIVE_PAIR::CursorOrientation(), distanceFromPointToLine(), 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::VIA::PushoutForce(), PNS::SHOVE::pushVia(), PNS::SegmentHull(), 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 370 of file vector2d.h.

371 {
372  // Avoid 0 radian rotation, case very frequently found
373  if( aAngle == 0.0 )
374  return VECTOR2<T> ( T( x ), T( y ) );
375 
376  double sa = sin( aAngle );
377  double ca = cos( aAngle );
378 
379  return VECTOR2<T> ( T( (double) x * ca - (double) y * sa ),
380  T( (double) x * sa + (double) y * ca ) );
381 }
Class 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(), computeCenter(), 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_LINE_CHAIN::Rotate(), BASIC_GAL::transform(), and PNS::MEANDER_SHAPE::turn().

◆ 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 299 of file vector2d.h.

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

Member Data Documentation

◆ ECOORD_MAX

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

Definition at line 80 of file vector2d.h.

◆ 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 DXF_IMPORT_PLUGIN::addArc(), PNS_PCBNEW_DEBUG_DECORATOR::AddBox(), GRAPHICS_IMPORTER_PCBNEW::AddCircle(), ZONE_FILLER::addHatchFillTypeOnZone(), PNS_KICAD_IFACE::AddItem(), DXF_IMPORT_PLUGIN::addMText(), CINFO3D_VISU::AddSolidAreasShapesToContainer(), DXF_IMPORT_PLUGIN::addText(), CLAYER_TRIANGLES::AddToMiddleContourns(), DXF_IMPORT_PLUGIN::addVertex(), GRID_HELPER::Align(), GRID_HELPER::AlignToSegment(), 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(), GERBER_PLOTTER::Arc(), DXF_PLOTTER::Arc(), SHAPE_RECT::BBox(), KIGFX::OPENGL_GAL::beginDrawing(), GRID_HELPER::BestSnapAnchor(), KIGFX::OPENGL_GAL::BitmapText(), KIGFX::OPENGL_GAL::blitCursor(), BuildConvexHull(), PNS::DP_GATEWAYS::BuildForCursor(), DIRECTION_45::BuildInitialTrace(), CINFO3D_VISU::buildPadShapeThickOutlineAsPolygon(), CINFO3D_VISU::buildPadShapeThickOutlineAsSegments(), ZONE_FILLER::buildUnconnectedThermalStubsPolygonList(), WS_DRAW_ITEM_LIST::BuildWorkSheetGraphicList(), calculateBezierSegmentationThreshold(), SEG::CanonicalCoefs(), 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(), SEG::Collinear(), PNS::commonParallelProjection(), GRID_HELPER::computeAnchors(), KIGFX::OPENGL_GAL::computeBitmapTextSize(), KIGFX::STROKE_FONT::computeBoundingBox(), computeCenter(), AR_AUTOPLACER::computePlacementRatsnestCost(), KIGFX::STROKE_FONT::ComputeStringBoundaryLimits(), PSLIKE_PLOTTER::computeTextParameters(), KIGFX::CAIRO_PRINT_GAL::ComputeWorldScreenMatrix(), KIGFX::OPENGL_GAL::ComputeWorldScreenMatrix(), 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::CopyPrmsFromItemToPanel(), PROPERTIES_FRAME::CopyPrmsFromPanelToGeneral(), PROPERTIES_FRAME::CopyPrmsFromPanelToItem(), KIGFX::OPENGL_COMPOSITOR::CreateBuffer(), MICROWAVE_TOOL::createInductorBetween(), PolygonTriangulation::createList(), CreatePadsShapesSection(), VECTOR2< unsigned int >::Cross(), COMMON_TOOLS::CursorControl(), D_PAD::CustomShapeAsPolygonToBoardPosition(), DIALOG_IMPORT_GFX::DIALOG_IMPORT_GFX(), DRC::doEdgeZoneDrc(), PCB_TOOL_BASE::doInteractiveItemPlacement(), PCB_EDITOR_CONTROL::DoSetDrillOrigin(), PCBNEW_CONTROL::DoSetGridOrigin(), VECTOR2< unsigned int >::Dot(), DIALOG_PAD_PRIMITIVE_POLY_PROPS::doValidate(), KIGFX::SCH_PAINTER::draw(), KIGFX::PCB_PAINTER::draw(), KIGFX::OPENGL_GAL::DrawArc(), KIGFX::OPENGL_GAL::DrawArcSegment(), KIGFX::OPENGL_GAL::DrawCircle(), drawCursorStrings(), ZONE_CONTAINER::DrawFilledArea(), KIGFX::OPENGL_GAL::drawFilledSemiCircle(), D_CODE::DrawFlashedPolygon(), GERBER_DRAW_ITEM::DrawGbrPoly(), 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(), KIGFX::CAIRO_GAL_BASE::DrawRectangle(), KIGFX::OPENGL_GAL::DrawRectangle(), KIGFX::CAIRO_GAL_BASE::DrawSegment(), DRAWING_TOOL::drawSegment(), LIB_DRAWING_TOOLS::DrawShape(), KIGFX::STROKE_FONT::drawSingleLineText(), KIGFX::OPENGL_GAL::drawStrokedSemiCircle(), KIGFX::PREVIEW::DrawTextNextToCursor(), KIGFX::OPENGL_GAL::drawTriangulatedPolyset(), ZONE_CONTAINER::DrawWhileCreateOutline(), PNS::DP_PRIMITIVE_PAIR::dump(), PNS::LOGGER::dumpShape(), GERBER_PLOTTER::emitDcode(), KIGFX::CAIRO_GAL::endDrawing(), MODULE_EDITOR_TOOLS::EnumeratePads(), export_vrml_board(), export_vrml_padshape(), export_vrml_polygon(), export_vrml_zones(), DSN::SPECCTRA_DB::fillBOUNDARY(), AR_AUTOPLACER::fillMatrix(), 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(), WORKSHEET_LAYOUT_IO::format(), WORKSHEET_LAYOUT_IO::formatCoordinate(), FormatInternalUnits(), WORKSHEET_LAYOUT_IO::formatRepeatParameters(), FractureEdge::FractureEdge(), SHAPE_POLY_SET::fractureSingle(), GENERAL_COLLECTORS_GUIDE::GENERAL_COLLECTORS_GUIDE(), GERBER_DRAW_ITEM::GetABPosition(), GetArcCenter(), D_PAD::GetBestAnchorPosition(), D_PAD::GetBoundingBox(), MODULE::GetBoundingPoly(), WORKSHEET_DATAITEM_POLYPOLYGON::GetCornerPosition(), WORKSHEET_DATAITEM_POLYPOLYGON::GetCornerPositionUi(), EDA_DRAW_FRAME::GetCrossHairPosition(), WORKSHEET_DATAITEM::GetEndPos(), WORKSHEET_DATAITEM::GetEndPosUi(), KIGFX::GAL::GetGridPoint(), ARRAY_GRID_OPTIONS::GetItemNumber(), KIGFX::GAL::GetMinDepth(), SHAPE_ARC::GetP1(), KIGFX::ORIGIN_VIEWITEM::GetPosition(), GAL_ARRAY_CREATOR::getRotationCentre(), KIGFX::OPENGL_GAL::getScreenPixelSize(), SHAPE_ARC::GetStartAngle(), WORKSHEET_DATAITEM::GetStartPos(), WORKSHEET_DATAITEM::GetStartPosUi(), EDA_TEXT::GetTextBox(), 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::Hatch(), MARKER_BASE::init(), DIALOG_NEW_DATAITEM::initDlg(), KIGFX::OPENGL_COMPOSITOR::Initialize(), DXF_IMPORT_PLUGIN::insertArc(), DXF_IMPORT_PLUGIN::insertLine(), PolygonTriangulation::insertVertex(), SEG::Intersect(), PNS::LINE::Is45Degree(), WORKSHEET_DATAITEM::IsInsidePage(), WORKSHEET_DATAITEM_POLYPOLYGON::IsInsidePage(), KIGFX::CAIRO_PRINT_GAL::isLandscape(), EDA_TEXT::LenSize(), LexicographicalCompare(), LexicographicalMax(), LexicographicalMin(), SEG::LineDistance(), SEG::LineProject(), KIGFX::STROKE_FONT::LoadNewStrokeFont(), PNS::LOGGER::Log(), GRAPHICS_IMPORTER_PCBNEW::MapCoordinate(), mapCoords(), D_PAD::MirrorXPrimitives(), STATUS_POPUP::Move(), BOARD_ITEM::Move(), WORKSHEET_DATAITEM::MoveEndPointTo(), WORKSHEET_DATAITEM::MoveEndPointToUi(), EDIT_TOOL::MoveExact(), WORKSHEET_DATAITEM::MoveStartPointTo(), WORKSHEET_DATAITEM::MoveStartPointToUi(), WORKSHEET_DATAITEM::MoveToUi(), SEG::NearestPoint(), ROUTER_TOOL::NeighboringSegmentFilter(), PNS::OctagonalHull(), DIALOG_NEW_DATAITEM::OnOKClick(), EDA_DRAW_PANEL_GAL::onPaint(), 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()(), CN_VISITOR::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(), COMMON_TOOLS::PanControl(), SHAPE_POLY_SET::Parse(), 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(), 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(), PS_PLOTTER::PlotImage(), PDF_PLOTTER::PlotImage(), PlotLayerOutlines(), PS_PLOTTER::PlotPoly(), PDF_PLOTTER::PlotPoly(), SVG_PLOTTER::PlotPoly(), DXF_PLOTTER::PlotPoly(), SEG::PointCloserThan(), SHAPE_LINE_CHAIN::PointInside(), POLY_GRID_PARTITION::poly2grid(), POLY_GRID_PARTITION::poly2gridX(), Polygon_Calc_BBox_3DU(), polygon_Convert(), processEdge(), PNS::SHOVE::pushVia(), 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(), CVPCB_CONTROL::ResetCoords(), GERBVIEW_CONTROL::ResetCoords(), PCBNEW_CONTROL::ResetCoords(), BOARD_ITEM::Rotate(), RotatePoint(), KIGFX::CAIRO_GAL_BASE::roundp(), DRC_COURTYARD_OVERLAP::RunDRC(), CLIPBOARD_IO::SaveSelection(), KIGFX::CAIRO_GAL_BASE::Scale(), KIGFX::OPENGL_GAL::Scale(), POLY_GRID_PARTITION::scanCell(), GERBVIEW_SELECTION_TOOL::selectionContains(), EE_SELECTION_TOOL::selectionContains(), SELECTION_TOOL::selectionContains(), GERBVIEW_SELECTION_TOOL::selectMultiple(), EE_SELECTION_TOOL::selectMultiple(), SELECTION_TOOL::selectMultiple(), GERBVIEW_SELECTION_TOOL::selectPoint(), SELECTION_TOOL::selectPoint(), ZOOM_TOOL::selectRegion(), WORKSHEET_DATAITEM_POLYPOLYGON::SetBoundingBox(), KIGFX::VIEW::SetCenter(), KIGFX::CAIRO_GAL::setCompositor(), WORKSHEET_DATAITEM_TEXT::SetConstrainedTextSize(), ZONE_CONTAINER::SetCornerPosition(), WORKSHEET_DATAITEM::SetEnd(), KIGFX::GAL::SetGridOrigin(), KIGFX::GAL::SetGridSize(), KIGFX::GAL::SetLayerDepth(), KIGFX::SHADER::SetParameter(), EDIT_POINT::SetPosition(), MATRIX3x3< double >::SetScale(), KIGFX::CAIRO_PRINT_GAL::SetSheetSize(), WORKSHEET_DATAITEM::SetStart(), MATRIX3x3< double >::SetTranslation(), KIGFX::VIEW::SetViewport(), DIALOG_IMPORT_GFX::showPcbImportOffsets(), SCH_DRAWING_TOOLS::sizeSheet(), sortEndsByDescendingX(), PNS_KICAD_IFACE::syncPad(), DRC::TestZoneToZoneOutline(), PS_PLOTTER::Text(), PDF_PLOTTER::Text(), DXF_PLOTTER::Text(), DXF_PLOTTER::ThickSegment(), KIGFX::VIEW::ToScreen(), KIGFX::VIEW::ToWorld(), DIALOG_CREATE_ARRAY::TransferDataFromWindow(), TransformRoundedEndsSegmentToPolygon(), ZONE_CONTAINER::TransformSolidAreasShapesToPolygonSet(), KIGFX::CAIRO_GAL_BASE::Translate(), KIGFX::OPENGL_GAL::Translate(), DXF_IMPORT_PLUGIN::updateImageLimits(), EE_POINT_EDITOR::updateItem(), POINT_EDITOR::updateItem(), DIALOG_IMPORT_GFX::updatePcbImportOffsets_mm(), KIGFX::WX_VIEW_CONTROLS::UpdateScrollbars(), PL_EDITOR_FRAME::UpdateStatusBar(), VECTOR2< unsigned int >::VECTOR2(), KIGFX::VERTEX_MANAGER::Vertex(), D_PAD::ViewBBox(), KIGFX::RATSNEST_VIEWITEM::ViewDraw(), KIGFX::ORIGIN_VIEWITEM::ViewDraw(), KIGFX::PREVIEW::SELECTION_AREA::ViewDraw(), KIGFX::WX_VIEW_CONTROLS::WarpCursor(), SCH_BASE_FRAME::Window_Zoom(), EDIT_POINT::WithinPoint(), GBR_TO_PCB_EXPORTER::writePcbPolygonItem(), KIGFX::CAIRO_GAL_BASE::xform(), SCH_BASE_FRAME::Zoom_Automatique(), COMMON_TOOLS::ZoomFitScreen(), GERBVIEW_SELECTION_TOOL::zoomFitSelection(), 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 DXF_IMPORT_PLUGIN::addArc(), PNS_PCBNEW_DEBUG_DECORATOR::AddBox(), GRAPHICS_IMPORTER_PCBNEW::AddCircle(), ZONE_FILLER::addHatchFillTypeOnZone(), PNS_KICAD_IFACE::AddItem(), DXF_IMPORT_PLUGIN::addMText(), CINFO3D_VISU::AddSolidAreasShapesToContainer(), DXF_IMPORT_PLUGIN::addText(), CLAYER_TRIANGLES::AddToMiddleContourns(), DXF_IMPORT_PLUGIN::addVertex(), GRID_HELPER::Align(), GRID_HELPER::AlignToSegment(), 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(), GERBER_PLOTTER::Arc(), DXF_PLOTTER::Arc(), SHAPE_RECT::BBox(), KIGFX::OPENGL_GAL::beginDrawing(), GRID_HELPER::BestSnapAnchor(), KIGFX::OPENGL_GAL::BitmapText(), KIGFX::OPENGL_GAL::blitCursor(), BuildConvexHull(), PNS::DP_GATEWAYS::BuildForCursor(), DIRECTION_45::BuildInitialTrace(), CINFO3D_VISU::buildPadShapeThickOutlineAsPolygon(), CINFO3D_VISU::buildPadShapeThickOutlineAsSegments(), ZONE_FILLER::buildUnconnectedThermalStubsPolygonList(), WS_DRAW_ITEM_LIST::BuildWorkSheetGraphicList(), calculateBezierSegmentationThreshold(), SEG::CanonicalCoefs(), 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(), SEG::Collinear(), 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(), DIRECTION_45::construct_(), POLY_GRID_PARTITION::containsPoint(), Convert_path_polygon_to_polygon_blocks_and_dummy_blocks(), Convert_shape_line_polygon_to_triangles(), SHAPE_LINE_CHAIN::convertToClipper(), PROPERTIES_FRAME::CopyPrmsFromItemToPanel(), PROPERTIES_FRAME::CopyPrmsFromPanelToGeneral(), PROPERTIES_FRAME::CopyPrmsFromPanelToItem(), KIGFX::OPENGL_COMPOSITOR::CreateBuffer(), MICROWAVE_TOOL::createInductorBetween(), PolygonTriangulation::createList(), CreatePadsShapesSection(), VECTOR2< unsigned int >::Cross(), COMMON_TOOLS::CursorControl(), D_PAD::CustomShapeAsPolygonToBoardPosition(), DIALOG_IMPORT_GFX::DIALOG_IMPORT_GFX(), DRC::doEdgeZoneDrc(), PCB_TOOL_BASE::doInteractiveItemPlacement(), PCB_EDITOR_CONTROL::DoSetDrillOrigin(), PCBNEW_CONTROL::DoSetGridOrigin(), VECTOR2< unsigned int >::Dot(), DIALOG_PAD_PRIMITIVE_POLY_PROPS::doValidate(), KIGFX::STROKE_FONT::Draw(), KIGFX::SCH_PAINTER::draw(), KIGFX::PCB_PAINTER::draw(), KIGFX::OPENGL_GAL::DrawArc(), KIGFX::OPENGL_GAL::DrawArcSegment(), KIGFX::OPENGL_GAL::DrawCircle(), drawCursorStrings(), ZONE_CONTAINER::DrawFilledArea(), KIGFX::OPENGL_GAL::drawFilledSemiCircle(), D_CODE::DrawFlashedPolygon(), GERBER_DRAW_ITEM::DrawGbrPoly(), 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(), KIGFX::CAIRO_GAL_BASE::DrawRectangle(), KIGFX::OPENGL_GAL::DrawRectangle(), KIGFX::CAIRO_GAL_BASE::DrawSegment(), DRAWING_TOOL::drawSegment(), LIB_DRAWING_TOOLS::DrawShape(), KIGFX::STROKE_FONT::drawSingleLineText(), KIGFX::OPENGL_GAL::drawStrokedSemiCircle(), KIGFX::PREVIEW::DrawTextNextToCursor(), KIGFX::OPENGL_GAL::drawTriangulatedPolyset(), ZONE_CONTAINER::DrawWhileCreateOutline(), PNS::DP_PRIMITIVE_PAIR::dump(), PNS::LOGGER::dumpShape(), GERBER_PLOTTER::emitDcode(), KIGFX::CAIRO_GAL::endDrawing(), MODULE_EDITOR_TOOLS::EnumeratePads(), export_vrml_board(), export_vrml_padshape(), export_vrml_polygon(), export_vrml_zones(), DSN::SPECCTRA_DB::fillBOUNDARY(), AR_AUTOPLACER::fillMatrix(), 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(), D_PAD::FlipPrimitives(), WORKSHEET_LAYOUT_IO::format(), WORKSHEET_LAYOUT_IO::formatCoordinate(), FormatInternalUnits(), WORKSHEET_LAYOUT_IO::formatRepeatParameters(), FractureEdge::FractureEdge(), GERBER_DRAW_ITEM::GetABPosition(), GetArcCenter(), D_PAD::GetBestAnchorPosition(), D_PAD::GetBoundingBox(), MODULE::GetBoundingPoly(), WORKSHEET_DATAITEM_POLYPOLYGON::GetCornerPosition(), WORKSHEET_DATAITEM_POLYPOLYGON::GetCornerPositionUi(), EDA_DRAW_FRAME::GetCrossHairPosition(), WORKSHEET_DATAITEM::GetEndPos(), WORKSHEET_DATAITEM::GetEndPosUi(), KIGFX::GAL::GetGridPoint(), KIGFX::STROKE_FONT::getInterline(), ARRAY_GRID_OPTIONS::GetItemNumber(), KIGFX::GAL::GetMaxDepth(), SHAPE_ARC::GetP1(), KIGFX::ORIGIN_VIEWITEM::GetPosition(), GAL_ARRAY_CREATOR::getRotationCentre(), KIGFX::OPENGL_GAL::getScreenPixelSize(), SHAPE_ARC::GetStartAngle(), WORKSHEET_DATAITEM::GetStartPos(), WORKSHEET_DATAITEM::GetStartPosUi(), 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::Hatch(), MARKER_BASE::init(), 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(), WORKSHEET_DATAITEM::IsInsidePage(), WORKSHEET_DATAITEM_POLYPOLYGON::IsInsidePage(), KIGFX::CAIRO_PRINT_GAL::isLandscape(), LexicographicalCompare(), LexicographicalMax(), LexicographicalMin(), SEG::LineDistance(), SEG::LineProject(), KIGFX::STROKE_FONT::LoadNewStrokeFont(), PNS::LOGGER::Log(), GRAPHICS_IMPORTER_PCBNEW::MapCoordinate(), mapCoords(), FractureEdge::matches(), STATUS_POPUP::Move(), BOARD_ITEM::Move(), WORKSHEET_DATAITEM::MoveEndPointTo(), WORKSHEET_DATAITEM::MoveEndPointToUi(), EDIT_TOOL::MoveExact(), WORKSHEET_DATAITEM::MoveStartPointTo(), WORKSHEET_DATAITEM::MoveStartPointToUi(), WORKSHEET_DATAITEM::MoveToUi(), SEG::NearestPoint(), ROUTER_TOOL::NeighboringSegmentFilter(), PNS::OctagonalHull(), DIALOG_NEW_DATAITEM::OnOKClick(), EDA_DRAW_PANEL_GAL::onPaint(), 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()(), CN_VISITOR::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(), COMMON_TOOLS::PanControl(), SHAPE_POLY_SET::Parse(), 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(), 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(), PS_PLOTTER::PlotImage(), PDF_PLOTTER::PlotImage(), PlotLayerOutlines(), PS_PLOTTER::PlotPoly(), PDF_PLOTTER::PlotPoly(), SVG_PLOTTER::PlotPoly(), DXF_PLOTTER::PlotPoly(), SEG::PointCloserThan(), SHAPE_LINE_CHAIN::PointInside(), POLY_GRID_PARTITION::poly2grid(), POLY_GRID_PARTITION::poly2gridY(), Polygon_Calc_BBox_3DU(), polygon_Convert(), processEdge(), PNS::SHOVE::pushVia(), 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(), CVPCB_CONTROL::ResetCoords(), GERBVIEW_CONTROL::ResetCoords(), PCBNEW_CONTROL::ResetCoords(), KIGFX::CAIRO_GAL::RestoreScreen(), BOARD_ITEM::Rotate(), RotatePoint(), KIGFX::CAIRO_GAL_BASE::roundp(), DRC_COURTYARD_OVERLAP::RunDRC(), KIGFX::CAIRO_GAL::SaveScreen(), CLIPBOARD_IO::SaveSelection(), KIGFX::CAIRO_GAL_BASE::Scale(), KIGFX::OPENGL_GAL::Scale(), POLY_GRID_PARTITION::scanCell(), GERBVIEW_SELECTION_TOOL::selectionContains(), EE_SELECTION_TOOL::selectionContains(), SELECTION_TOOL::selectionContains(), GERBVIEW_SELECTION_TOOL::selectMultiple(), EE_SELECTION_TOOL::selectMultiple(), SELECTION_TOOL::selectMultiple(), GERBVIEW_SELECTION_TOOL::selectPoint(), SELECTION_TOOL::selectPoint(), ZOOM_TOOL::selectRegion(), WORKSHEET_DATAITEM_POLYPOLYGON::SetBoundingBox(), KIGFX::VIEW::SetCenter(), KIGFX::CAIRO_GAL::setCompositor(), WORKSHEET_DATAITEM_TEXT::SetConstrainedTextSize(), ZONE_CONTAINER::SetCornerPosition(), WORKSHEET_DATAITEM::SetEnd(), KIGFX::GAL::SetGridOrigin(), KIGFX::GAL::SetGridSize(), KIGFX::GAL::SetLayerDepth(), KIGFX::SHADER::SetParameter(), EDIT_POINT::SetPosition(), MATRIX3x3< double >::SetScale(), KIGFX::CAIRO_PRINT_GAL::SetSheetSize(), WORKSHEET_DATAITEM::SetStart(), MATRIX3x3< double >::SetTranslation(), KIGFX::VIEW::SetViewport(), DIALOG_IMPORT_GFX::showPcbImportOffsets(), PNS_KICAD_IFACE::syncPad(), DRC::TestZoneToZoneOutline(), PS_PLOTTER::Text(), PDF_PLOTTER::Text(), DXF_PLOTTER::Text(), DXF_PLOTTER::ThickSegment(), KIGFX::VIEW::ToScreen(), KIGFX::VIEW::ToWorld(), DIALOG_CREATE_ARRAY::TransferDataFromWindow(), TransformRoundedEndsSegmentToPolygon(), ZONE_CONTAINER::TransformSolidAreasShapesToPolygonSet(), KIGFX::CAIRO_GAL_BASE::Translate(), KIGFX::OPENGL_GAL::Translate(), DXF_IMPORT_PLUGIN::updateImageLimits(), EE_POINT_EDITOR::updateItem(), POINT_EDITOR::updateItem(), DIALOG_IMPORT_GFX::updatePcbImportOffsets_mm(), KIGFX::WX_VIEW_CONTROLS::UpdateScrollbars(), PL_EDITOR_FRAME::UpdateStatusBar(), VECTOR2< unsigned int >::VECTOR2(), KIGFX::VERTEX_MANAGER::Vertex(), D_PAD::ViewBBox(), KIGFX::ORIGIN_VIEWITEM::ViewDraw(), KIGFX::WX_VIEW_CONTROLS::WarpCursor(), SCH_BASE_FRAME::Window_Zoom(), EDIT_POINT::WithinPoint(), GBR_TO_PCB_EXPORTER::writePcbPolygonItem(), KIGFX::CAIRO_GAL_BASE::xform(), SCH_BASE_FRAME::Zoom_Automatique(), COMMON_TOOLS::ZoomFitScreen(), GERBVIEW_SELECTION_TOOL::zoomFitSelection(), SELECTION_TOOL::zoomFitSelection(), and DIALOG_IMPORT_GFX::~DIALOG_IMPORT_GFX().


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