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

Public Member Functions

def __init__ (self, *args)
 
def Cross (self, aVector)
 
def Dot (self, aVector)
 
def EuclideanNorm (self)
 
def Normalize (self)
 
def __eq__ (self, aVector)
 
def __ne__ (self, aVector)
 
def __imul__ (self, val)
 
def __itruediv__ (self, *args)
 
def Set (self, x, y, z)
 
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)
 

Static Public Attributes

 ECOORD_MAX = _pcbnew.VECTOR3D_ECOORD_MAX
 
 ECOORD_MIN = _pcbnew.VECTOR3D_ECOORD_MIN
 

Properties

 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
 
 x = property(_pcbnew.VECTOR3D_x_get, _pcbnew.VECTOR3D_x_set, doc=)
 
 y = property(_pcbnew.VECTOR3D_y_get, _pcbnew.VECTOR3D_y_set, doc=)
 
 z = property(_pcbnew.VECTOR3D_z_get, _pcbnew.VECTOR3D_z_set, doc=)
 

Detailed Description

Proxy of C++ VECTOR3< double > class.

Definition at line 5177 of file pcbnew.py.

Constructor & Destructor Documentation

◆ __init__()

def pcbnew.VECTOR3D.__init__ (   self,
args 
)
    __init__(VECTOR3D self) -> VECTOR3D
    __init__(VECTOR3D self, double x, double y, double z) -> VECTOR3D

Definition at line 5190 of file pcbnew.py.

Here is the caller graph for this function:

Member Function Documentation

◆ __eq__() [1/2]

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

Definition at line 5213 of file pcbnew.py.

◆ __eq__() [2/2]

def pcbnew.VECTOR3D.__eq__ (   self,
  other 
)

Definition at line 5239 of file pcbnew.py.

◆ __getitem__()

def pcbnew.VECTOR3D.__getitem__ (   self,
  index 
)

Definition at line 5244 of file pcbnew.py.

◆ __imul__()

def pcbnew.VECTOR3D.__imul__ (   self,
  val 
)
__imul__(VECTOR3D self, double val) -> VECTOR3D

Definition at line 5221 of file pcbnew.py.

◆ __itruediv__()

def pcbnew.VECTOR3D.__itruediv__ (   self,
args 
)

Definition at line 5225 of file pcbnew.py.

◆ __len__()

def pcbnew.VECTOR3D.__len__ (   self)

Definition at line 5243 of file pcbnew.py.

◆ __ne__() [1/2]

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

Definition at line 5217 of file pcbnew.py.

◆ __ne__() [2/2]

def pcbnew.VECTOR3D.__ne__ (   self,
  other 
)

Definition at line 5240 of file pcbnew.py.

◆ __nonzero__()

def pcbnew.VECTOR3D.__nonzero__ (   self)

Definition at line 5254 of file pcbnew.py.

◆ __repr__()

def pcbnew.VECTOR3D.__repr__ (   self)

Definition at line 5242 of file pcbnew.py.

◆ __setitem__()

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

Definition at line 5245 of file pcbnew.py.

◆ __str__()

def pcbnew.VECTOR3D.__str__ (   self)

Definition at line 5241 of file pcbnew.py.

Here is the caller graph for this function:

◆ Cross()

def pcbnew.VECTOR3D.Cross (   self,
  aVector 
)
Cross(VECTOR3D self, VECTOR3D aVector) -> VECTOR3D

Definition at line 5197 of file pcbnew.py.

◆ Dot()

def pcbnew.VECTOR3D.Dot (   self,
  aVector 
)
Dot(VECTOR3D self, VECTOR3D aVector) -> VECTOR3< double >::extended_type

Definition at line 5201 of file pcbnew.py.

◆ EuclideanNorm()

def pcbnew.VECTOR3D.EuclideanNorm (   self)
EuclideanNorm(VECTOR3D self) -> double

Definition at line 5205 of file pcbnew.py.

◆ Get()

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

Definition at line 5235 of file pcbnew.py.

Here is the caller graph for this function:

◆ Normalize()

def pcbnew.VECTOR3D.Normalize (   self)
Normalize(VECTOR3D self) -> VECTOR3D

Definition at line 5209 of file pcbnew.py.

◆ Set()

def pcbnew.VECTOR3D.Set (   self,
  x,
  y,
  z 
)
Set(VECTOR3D self, double x, double y, double z)

Definition at line 5231 of file pcbnew.py.

Member Data Documentation

◆ ECOORD_MAX

pcbnew.VECTOR3D.ECOORD_MAX = _pcbnew.VECTOR3D_ECOORD_MAX
static

Definition at line 5182 of file pcbnew.py.

◆ ECOORD_MIN

pcbnew.VECTOR3D.ECOORD_MIN = _pcbnew.VECTOR3D_ECOORD_MIN
static

Definition at line 5184 of file pcbnew.py.

Property Documentation

◆ thisown

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

Definition at line 5180 of file pcbnew.py.

◆ x

pcbnew.VECTOR3D.x = property(_pcbnew.VECTOR3D_x_get, _pcbnew.VECTOR3D_x_set, doc=)
static

Definition at line 5186 of file pcbnew.py.

◆ y

pcbnew.VECTOR3D.y = property(_pcbnew.VECTOR3D_y_get, _pcbnew.VECTOR3D_y_set, doc=)
static

Definition at line 5187 of file pcbnew.py.

◆ z

pcbnew.VECTOR3D.z = property(_pcbnew.VECTOR3D_z_get, _pcbnew.VECTOR3D_z_set, doc=)
static

Definition at line 5188 of file pcbnew.py.


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