KiCad Pcbnew Python Scripting
Loading...
Searching...
No Matches
pcbnew.VECTOR2I Class Reference
Inheritance diagram for pcbnew.VECTOR2I:

Public Member Functions

 __init__ (self, *args)
 
 EuclideanNorm (self)
 
 SquaredEuclideanNorm (self)
 
 Perpendicular (self)
 
 Resize (self, aNewLength)
 
 Format (self)
 
 Cross (self, aVector)
 
 Dot (self, aVector)
 
 Distance (self, aVector)
 
 SquaredDistance (self, aVector)
 
 __imul__ (self, *args)
 
 __iadd__ (self, *args)
 
 __isub__ (self, *args)
 
 __neg__ (self)
 
 __truediv__ (self, *args)
 
 __eq__ (self, aVector)
 
 __ne__ (self, aVector)
 
 __lt__ (self, aVector)
 
 __le__ (self, aVector)
 
 __gt__ (self, aVector)
 
 __ge__ (self, aVector)
 
 Set (self, x, y)
 
 Get (self)
 
 __eq__ (self, other)
 
 __ne__ (self, other)
 
 __str__ (self)
 
 __repr__ (self)
 
 __len__ (self)
 
 __getitem__ (self, index)
 
 __setitem__ (self, index, val)
 
 __nonzero__ (self)
 
 __add__ (self, other)
 
 __sub__ (self, other)
 

Properties

 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
 
 x = property(_pcbnew.VECTOR2I_x_get, _pcbnew.VECTOR2I_x_set, doc=)
 
 y = property(_pcbnew.VECTOR2I_y_get, _pcbnew.VECTOR2I_y_set, doc=)
 

Detailed Description

Proxy of C++ VECTOR2< int > class.

Definition at line 4989 of file pcbnew.py.

Constructor & Destructor Documentation

◆ __init__()

pcbnew.VECTOR2I.__init__ ( self,
* args )
    __init__(VECTOR2I self) -> VECTOR2I
    __init__(VECTOR2I self, int x, int y) -> VECTOR2I
    __init__(VECTOR2I self, VECTOR2I aVec) -> VECTOR2I

Definition at line 4997 of file pcbnew.py.

Member Function Documentation

◆ __add__()

pcbnew.VECTOR2I.__add__ ( self,
other )

Definition at line 5118 of file pcbnew.py.

◆ __eq__() [1/2]

pcbnew.VECTOR2I.__eq__ ( self,
aVector )
__eq__(VECTOR2I self, VECTOR2I aVector) -> bool

Definition at line 5072 of file pcbnew.py.

◆ __eq__() [2/2]

pcbnew.VECTOR2I.__eq__ ( self,
other )

Definition at line 5104 of file pcbnew.py.

◆ __ge__()

pcbnew.VECTOR2I.__ge__ ( self,
aVector )
__ge__(VECTOR2I self, VECTOR2I aVector) -> bool

Definition at line 5092 of file pcbnew.py.

◆ __getitem__()

pcbnew.VECTOR2I.__getitem__ ( self,
index )

Definition at line 5109 of file pcbnew.py.

◆ __gt__()

pcbnew.VECTOR2I.__gt__ ( self,
aVector )
__gt__(VECTOR2I self, VECTOR2I aVector) -> bool

Definition at line 5088 of file pcbnew.py.

◆ __iadd__()

pcbnew.VECTOR2I.__iadd__ ( self,
* args )
    __iadd__(VECTOR2I self, VECTOR2I aVector) -> VECTOR2I
    __iadd__(VECTOR2I self, int const & aScalar) -> VECTOR2I

Definition at line 5048 of file pcbnew.py.

◆ __imul__()

pcbnew.VECTOR2I.__imul__ ( self,
* args )
    __imul__(VECTOR2I self, VECTOR2I aVector) -> VECTOR2I
    __imul__(VECTOR2I self, int const & aScalar) -> VECTOR2I

Definition at line 5041 of file pcbnew.py.

◆ __isub__()

pcbnew.VECTOR2I.__isub__ ( self,
* args )
    __isub__(VECTOR2I self, VECTOR2I aVector) -> VECTOR2I
    __isub__(VECTOR2I self, int const & aScalar) -> VECTOR2I

Definition at line 5055 of file pcbnew.py.

◆ __le__()

pcbnew.VECTOR2I.__le__ ( self,
aVector )
__le__(VECTOR2I self, VECTOR2I aVector) -> bool

Definition at line 5084 of file pcbnew.py.

◆ __len__()

pcbnew.VECTOR2I.__len__ ( self)

Definition at line 5108 of file pcbnew.py.

◆ __lt__()

pcbnew.VECTOR2I.__lt__ ( self,
aVector )
__lt__(VECTOR2I self, VECTOR2I aVector) -> bool

Definition at line 5080 of file pcbnew.py.

◆ __ne__() [1/2]

pcbnew.VECTOR2I.__ne__ ( self,
aVector )
__ne__(VECTOR2I self, VECTOR2I aVector) -> bool

Definition at line 5076 of file pcbnew.py.

◆ __ne__() [2/2]

pcbnew.VECTOR2I.__ne__ ( self,
other )

Definition at line 5105 of file pcbnew.py.

◆ __neg__()

pcbnew.VECTOR2I.__neg__ ( self)
__neg__(VECTOR2I self) -> VECTOR2I

Definition at line 5062 of file pcbnew.py.

◆ __nonzero__()

pcbnew.VECTOR2I.__nonzero__ ( self)

Definition at line 5117 of file pcbnew.py.

◆ __repr__()

pcbnew.VECTOR2I.__repr__ ( self)

Definition at line 5107 of file pcbnew.py.

◆ __setitem__()

pcbnew.VECTOR2I.__setitem__ ( self,
index,
val )

Definition at line 5110 of file pcbnew.py.

◆ __str__()

pcbnew.VECTOR2I.__str__ ( self)

Definition at line 5106 of file pcbnew.py.

◆ __sub__()

pcbnew.VECTOR2I.__sub__ ( self,
other )

Definition at line 5119 of file pcbnew.py.

◆ __truediv__()

pcbnew.VECTOR2I.__truediv__ ( self,
* args )

Definition at line 5066 of file pcbnew.py.

◆ Cross()

pcbnew.VECTOR2I.Cross ( self,
aVector )
Cross(VECTOR2I self, VECTOR2I aVector) -> VECTOR2< int >::extended_type

Definition at line 5025 of file pcbnew.py.

◆ Distance()

pcbnew.VECTOR2I.Distance ( self,
aVector )
Distance(VECTOR2I self, VECTOR2L aVector) -> double

Definition at line 5033 of file pcbnew.py.

◆ Dot()

pcbnew.VECTOR2I.Dot ( self,
aVector )
Dot(VECTOR2I self, VECTOR2I aVector) -> VECTOR2< int >::extended_type

Definition at line 5029 of file pcbnew.py.

◆ EuclideanNorm()

pcbnew.VECTOR2I.EuclideanNorm ( self)
EuclideanNorm(VECTOR2I self) -> int

Definition at line 5005 of file pcbnew.py.

◆ Format()

pcbnew.VECTOR2I.Format ( self)
Format(VECTOR2I self) -> string

Definition at line 5021 of file pcbnew.py.

◆ Get()

pcbnew.VECTOR2I.Get ( self)
Get(VECTOR2I self) -> PyObject *

Definition at line 5100 of file pcbnew.py.

◆ Perpendicular()

pcbnew.VECTOR2I.Perpendicular ( self)
Perpendicular(VECTOR2I self) -> VECTOR2I

Definition at line 5013 of file pcbnew.py.

◆ Resize()

pcbnew.VECTOR2I.Resize ( self,
aNewLength )
Resize(VECTOR2I self, int aNewLength) -> VECTOR2I

Definition at line 5017 of file pcbnew.py.

◆ Set()

pcbnew.VECTOR2I.Set ( self,
x,
y )
Set(VECTOR2I self, long x, long y)

Definition at line 5096 of file pcbnew.py.

◆ SquaredDistance()

pcbnew.VECTOR2I.SquaredDistance ( self,
aVector )
SquaredDistance(VECTOR2I self, VECTOR2I aVector) -> VECTOR2< int >::extended_type

Definition at line 5037 of file pcbnew.py.

◆ SquaredEuclideanNorm()

pcbnew.VECTOR2I.SquaredEuclideanNorm ( self)
SquaredEuclideanNorm(VECTOR2I self) -> VECTOR2< int >::extended_type

Definition at line 5009 of file pcbnew.py.

Property Documentation

◆ thisown

pcbnew.VECTOR2I.thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
static

Definition at line 4992 of file pcbnew.py.

◆ x

pcbnew.VECTOR2I.x = property(_pcbnew.VECTOR2I_x_get, _pcbnew.VECTOR2I_x_set, doc=)
static

Definition at line 4994 of file pcbnew.py.

◆ y

pcbnew.VECTOR2I.y = property(_pcbnew.VECTOR2I_y_get, _pcbnew.VECTOR2I_y_set, doc=)
static

Definition at line 4995 of file pcbnew.py.


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