KiCad Pcbnew Python Scripting
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
pcbnew.VECTOR2I Class Reference
Inheritance diagram for pcbnew.VECTOR2I:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self, args)
 
def EuclideanNorm (self)
 
def SquaredEuclideanNorm (self)
 
def Perpendicular (self)
 
def Resize (self, aNewLength)
 
def Angle (self)
 
def Rotate (self, aAngle)
 
def Format (self)
 
def Cross (self, aVector)
 
def Dot (self, aVector)
 
def __add__ (self, args)
 
def __iadd__ (self, args)
 
def __sub__ (self, args)
 
def __isub__ (self, args)
 
def __neg__ (self)
 
def __mul__ (self, args)
 
def __div__ (self, aFactor)
 
def __eq__ (self, aVector)
 
def __ne__ (self, aVector)
 
def __lt__ (self, aVector)
 
def __le__ (self, aVector)
 
def __gt__ (self, aVector)
 
def __ge__ (self, aVector)
 

Public Attributes

 this
 

Static Public Attributes

 x = _swig_property(_pcbnew.VECTOR2I_x_get, _pcbnew.VECTOR2I_x_set)
 
 y = _swig_property(_pcbnew.VECTOR2I_y_get, _pcbnew.VECTOR2I_y_set)
 

Detailed Description

Proxy of C++ VECTOR2<(int)> class.

Definition at line 4392 of file pcbnew.py.

Constructor & Destructor Documentation

def pcbnew.VECTOR2I.__init__ (   self,
  args 
)
__init__(VECTOR2<(int)> self) -> VECTOR2I
__init__(VECTOR2<(int)> self, wxPoint aPoint) -> VECTOR2I
__init__(VECTOR2<(int)> self, wxSize aSize) -> VECTOR2I
__init__(VECTOR2<(int)> self, int x, int y) -> VECTOR2I

Definition at line 4409 of file pcbnew.py.

Member Function Documentation

def pcbnew.VECTOR2I.__add__ (   self,
  args 
)
__add__(VECTOR2I self, VECTOR2I aVector) -> VECTOR2I
__add__(VECTOR2I self, int const & aScalar) -> VECTOR2I

Definition at line 4467 of file pcbnew.py.

def pcbnew.VECTOR2I.__div__ (   self,
  aFactor 
)
__div__(VECTOR2I self, int const & aFactor) -> VECTOR2I

Definition at line 4512 of file pcbnew.py.

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

Definition at line 4517 of file pcbnew.py.

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

Definition at line 4542 of file pcbnew.py.

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

Definition at line 4537 of file pcbnew.py.

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

Definition at line 4475 of file pcbnew.py.

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

Definition at line 4491 of file pcbnew.py.

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

Definition at line 4532 of file pcbnew.py.

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

Definition at line 4527 of file pcbnew.py.

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

Definition at line 4504 of file pcbnew.py.

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

Definition at line 4522 of file pcbnew.py.

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

Definition at line 4499 of file pcbnew.py.

def pcbnew.VECTOR2I.__sub__ (   self,
  args 
)
__sub__(VECTOR2I self, VECTOR2I aVector) -> VECTOR2I
__sub__(VECTOR2I self, int const & aScalar) -> VECTOR2I

Definition at line 4483 of file pcbnew.py.

def pcbnew.VECTOR2I.Angle (   self)
Angle(VECTOR2I self) -> double

Definition at line 4442 of file pcbnew.py.

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

Definition at line 4457 of file pcbnew.py.

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

Definition at line 4462 of file pcbnew.py.

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

Definition at line 4422 of file pcbnew.py.

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

Definition at line 4452 of file pcbnew.py.

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

Definition at line 4432 of file pcbnew.py.

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

Definition at line 4437 of file pcbnew.py.

def pcbnew.VECTOR2I.Rotate (   self,
  aAngle 
)
Rotate(VECTOR2I self, double aAngle) -> VECTOR2I

Definition at line 4447 of file pcbnew.py.

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

Definition at line 4427 of file pcbnew.py.

Member Data Documentation

pcbnew.VECTOR2I.this

Definition at line 4420 of file pcbnew.py.

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

Definition at line 4403 of file pcbnew.py.

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

Definition at line 4407 of file pcbnew.py.


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