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

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)
 

Static Public Attributes

 ECOORD_MAX = _pcbnew.VECTOR2L_ECOORD_MAX
 
 ECOORD_MIN = _pcbnew.VECTOR2L_ECOORD_MIN
 

Properties

 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
 
 x = property(_pcbnew.VECTOR2L_x_get, _pcbnew.VECTOR2L_x_set, doc=)
 
 y = property(_pcbnew.VECTOR2L_y_get, _pcbnew.VECTOR2L_y_set, doc=)
 

Detailed Description

Proxy of C++ VECTOR2< long long > class.

Definition at line 5126 of file pcbnew.py.

Constructor & Destructor Documentation

◆ __init__()

pcbnew.VECTOR2L.__init__ ( self,
* args )
    __init__(VECTOR2L self) -> VECTOR2L
    __init__(VECTOR2L self, long long x, long long y) -> VECTOR2L
    __init__(VECTOR2L self, VECTOR2L aVec) -> VECTOR2L

Definition at line 5138 of file pcbnew.py.

Member Function Documentation

◆ __add__()

pcbnew.VECTOR2L.__add__ ( self,
other )

Definition at line 5259 of file pcbnew.py.

◆ __eq__() [1/2]

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

Definition at line 5213 of file pcbnew.py.

◆ __eq__() [2/2]

pcbnew.VECTOR2L.__eq__ ( self,
other )

Definition at line 5245 of file pcbnew.py.

◆ __ge__()

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

Definition at line 5233 of file pcbnew.py.

◆ __getitem__()

pcbnew.VECTOR2L.__getitem__ ( self,
index )

Definition at line 5250 of file pcbnew.py.

◆ __gt__()

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

Definition at line 5229 of file pcbnew.py.

◆ __iadd__()

pcbnew.VECTOR2L.__iadd__ ( self,
* args )
    __iadd__(VECTOR2L self, VECTOR2L aVector) -> VECTOR2L
    __iadd__(VECTOR2L self, long long const & aScalar) -> VECTOR2L

Definition at line 5189 of file pcbnew.py.

◆ __imul__()

pcbnew.VECTOR2L.__imul__ ( self,
* args )
    __imul__(VECTOR2L self, VECTOR2L aVector) -> VECTOR2L
    __imul__(VECTOR2L self, long long const & aScalar) -> VECTOR2L

Definition at line 5182 of file pcbnew.py.

◆ __isub__()

pcbnew.VECTOR2L.__isub__ ( self,
* args )
    __isub__(VECTOR2L self, VECTOR2L aVector) -> VECTOR2L
    __isub__(VECTOR2L self, long long const & aScalar) -> VECTOR2L

Definition at line 5196 of file pcbnew.py.

◆ __le__()

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

Definition at line 5225 of file pcbnew.py.

◆ __len__()

pcbnew.VECTOR2L.__len__ ( self)

Definition at line 5249 of file pcbnew.py.

◆ __lt__()

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

Definition at line 5221 of file pcbnew.py.

◆ __ne__() [1/2]

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

Definition at line 5217 of file pcbnew.py.

◆ __ne__() [2/2]

pcbnew.VECTOR2L.__ne__ ( self,
other )

Definition at line 5246 of file pcbnew.py.

◆ __neg__()

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

Definition at line 5203 of file pcbnew.py.

◆ __nonzero__()

pcbnew.VECTOR2L.__nonzero__ ( self)

Definition at line 5258 of file pcbnew.py.

◆ __repr__()

pcbnew.VECTOR2L.__repr__ ( self)

Definition at line 5248 of file pcbnew.py.

◆ __setitem__()

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

Definition at line 5251 of file pcbnew.py.

◆ __str__()

pcbnew.VECTOR2L.__str__ ( self)

Definition at line 5247 of file pcbnew.py.

◆ __sub__()

pcbnew.VECTOR2L.__sub__ ( self,
other )

Definition at line 5260 of file pcbnew.py.

◆ __truediv__()

pcbnew.VECTOR2L.__truediv__ ( self,
* args )

Definition at line 5207 of file pcbnew.py.

◆ Cross()

pcbnew.VECTOR2L.Cross ( self,
aVector )
Cross(VECTOR2L self, VECTOR2L aVector) -> VECTOR2< long long >::extended_type

Definition at line 5166 of file pcbnew.py.

◆ Distance()

pcbnew.VECTOR2L.Distance ( self,
aVector )
Distance(VECTOR2L self, VECTOR2< VECTOR2< long long >::extended_type > const & aVector) -> double

Definition at line 5174 of file pcbnew.py.

◆ Dot()

pcbnew.VECTOR2L.Dot ( self,
aVector )
Dot(VECTOR2L self, VECTOR2L aVector) -> VECTOR2< long long >::extended_type

Definition at line 5170 of file pcbnew.py.

◆ EuclideanNorm()

pcbnew.VECTOR2L.EuclideanNorm ( self)
EuclideanNorm(VECTOR2L self) -> long long

Definition at line 5146 of file pcbnew.py.

◆ Format()

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

Definition at line 5162 of file pcbnew.py.

◆ Get()

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

Definition at line 5241 of file pcbnew.py.

◆ Perpendicular()

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

Definition at line 5154 of file pcbnew.py.

◆ Resize()

pcbnew.VECTOR2L.Resize ( self,
aNewLength )
Resize(VECTOR2L self, long long aNewLength) -> VECTOR2L

Definition at line 5158 of file pcbnew.py.

◆ Set()

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

Definition at line 5237 of file pcbnew.py.

◆ SquaredDistance()

pcbnew.VECTOR2L.SquaredDistance ( self,
aVector )
SquaredDistance(VECTOR2L self, VECTOR2L aVector) -> VECTOR2< long long >::extended_type

Definition at line 5178 of file pcbnew.py.

◆ SquaredEuclideanNorm()

pcbnew.VECTOR2L.SquaredEuclideanNorm ( self)
SquaredEuclideanNorm(VECTOR2L self) -> VECTOR2< long long >::extended_type

Definition at line 5150 of file pcbnew.py.

Member Data Documentation

◆ ECOORD_MAX

pcbnew.VECTOR2L.ECOORD_MAX = _pcbnew.VECTOR2L_ECOORD_MAX
static

Definition at line 5131 of file pcbnew.py.

◆ ECOORD_MIN

pcbnew.VECTOR2L.ECOORD_MIN = _pcbnew.VECTOR2L_ECOORD_MIN
static

Definition at line 5133 of file pcbnew.py.

Property Documentation

◆ thisown

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

Definition at line 5129 of file pcbnew.py.

◆ x

pcbnew.VECTOR2L.x = property(_pcbnew.VECTOR2L_x_get, _pcbnew.VECTOR2L_x_set, doc=)
static

Definition at line 5135 of file pcbnew.py.

◆ y

pcbnew.VECTOR2L.y = property(_pcbnew.VECTOR2L_y_get, _pcbnew.VECTOR2L_y_set, doc=)
static

Definition at line 5136 of file pcbnew.py.


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