KiCad Pcbnew Python Scripting
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Static Public Attributes | Properties | List of all members
pcbnew.VECTOR2L Class Reference
Inheritance diagram for pcbnew.VECTOR2L:
Inheritance graph
[legend]

Public Member Functions

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

Public Attributes

 x
 
 y
 

Static Public Attributes

_pcbnew ECOORD_MAX = _pcbnew.VECTOR2L_ECOORD_MAX
 
_pcbnew ECOORD_MIN = _pcbnew.VECTOR2L_ECOORD_MIN
 

Properties

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

Detailed Description

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

Definition at line 5164 of file pcbnew.py.

Constructor & Destructor Documentation

◆ __init__()

def 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 5176 of file pcbnew.py.

Here is the caller graph for this function:

Member Function Documentation

◆ __add__()

def pcbnew.VECTOR2L.__add__ (   self,
args 
)
    __add__(VECTOR2L self, VECTOR2L aVector) -> VECTOR2L
    __add__(VECTOR2L self, long long const & aScalar) -> VECTOR2L

Definition at line 5212 of file pcbnew.py.

Here is the caller graph for this function:

◆ __eq__() [1/2]

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

Definition at line 5264 of file pcbnew.py.

◆ __eq__() [2/2]

def pcbnew.VECTOR2L.__eq__ (   self,
  other 
)

Definition at line 5296 of file pcbnew.py.

◆ __ge__()

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

Definition at line 5284 of file pcbnew.py.

◆ __getitem__()

def pcbnew.VECTOR2L.__getitem__ (   self,
  index 
)

Definition at line 5301 of file pcbnew.py.

◆ __gt__()

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

Definition at line 5280 of file pcbnew.py.

◆ __iadd__()

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

Definition at line 5226 of file pcbnew.py.

Here is the caller graph for this function:

◆ __imul__()

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

Definition at line 5219 of file pcbnew.py.

Here is the caller graph for this function:

◆ __isub__()

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

Definition at line 5240 of file pcbnew.py.

Here is the caller graph for this function:

◆ __le__()

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

Definition at line 5276 of file pcbnew.py.

◆ __len__()

def pcbnew.VECTOR2L.__len__ (   self)

Definition at line 5300 of file pcbnew.py.

◆ __lt__()

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

Definition at line 5272 of file pcbnew.py.

◆ __mul__()

def pcbnew.VECTOR2L.__mul__ (   self,
args 
)
    __mul__(VECTOR2L self, VECTOR2L aVector) -> VECTOR2< long long >::extended_type
    __mul__(VECTOR2L self, long long const & aFactor) -> VECTOR2L

Definition at line 5251 of file pcbnew.py.

Here is the caller graph for this function:

◆ __ne__() [1/2]

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

Definition at line 5268 of file pcbnew.py.

◆ __ne__() [2/2]

def pcbnew.VECTOR2L.__ne__ (   self,
  other 
)

Definition at line 5297 of file pcbnew.py.

◆ __neg__()

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

Definition at line 5247 of file pcbnew.py.

◆ __nonzero__()

def pcbnew.VECTOR2L.__nonzero__ (   self)

Definition at line 5309 of file pcbnew.py.

◆ __repr__()

def pcbnew.VECTOR2L.__repr__ (   self)

Definition at line 5299 of file pcbnew.py.

◆ __setitem__()

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

Definition at line 5302 of file pcbnew.py.

◆ __str__()

def pcbnew.VECTOR2L.__str__ (   self)

Definition at line 5298 of file pcbnew.py.

Here is the caller graph for this function:

◆ __sub__()

def pcbnew.VECTOR2L.__sub__ (   self,
args 
)
    __sub__(VECTOR2L self, VECTOR2L aVector) -> VECTOR2L
    __sub__(VECTOR2L self, long long const & aScalar) -> VECTOR2L

Definition at line 5233 of file pcbnew.py.

Here is the caller graph for this function:

◆ __truediv__()

def pcbnew.VECTOR2L.__truediv__ (   self,
args 
)

Definition at line 5258 of file pcbnew.py.

◆ Cross()

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

Definition at line 5204 of file pcbnew.py.

◆ Dot()

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

Definition at line 5208 of file pcbnew.py.

◆ EuclideanNorm()

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

Definition at line 5184 of file pcbnew.py.

◆ Format()

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

Definition at line 5200 of file pcbnew.py.

◆ Get()

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

Definition at line 5292 of file pcbnew.py.

Here is the caller graph for this function:

◆ Perpendicular()

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

Definition at line 5192 of file pcbnew.py.

◆ Resize()

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

Definition at line 5196 of file pcbnew.py.

◆ Set()

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

Definition at line 5288 of file pcbnew.py.

◆ SquaredEuclideanNorm()

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

Definition at line 5188 of file pcbnew.py.

Member Data Documentation

◆ ECOORD_MAX

_pcbnew pcbnew.VECTOR2L.ECOORD_MAX = _pcbnew.VECTOR2L_ECOORD_MAX
static

Definition at line 5169 of file pcbnew.py.

◆ ECOORD_MIN

_pcbnew pcbnew.VECTOR2L.ECOORD_MIN = _pcbnew.VECTOR2L_ECOORD_MIN
static

Definition at line 5171 of file pcbnew.py.

◆ x

pcbnew.VECTOR2L.x

Definition at line 5296 of file pcbnew.py.

◆ y

pcbnew.VECTOR2L.y

Definition at line 5296 of file pcbnew.py.

Property Documentation

◆ thisown

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

Definition at line 5167 of file pcbnew.py.

◆ x

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

Definition at line 5173 of file pcbnew.py.

◆ y

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

Definition at line 5174 of file pcbnew.py.


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