KiCad Pcbnew Python Scripting
Loading...
Searching...
No Matches
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 5358 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 5371 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 5394 of file pcbnew.py.

◆ __eq__() [2/2]

def pcbnew.VECTOR3D.__eq__ (   self,
  other 
)

Definition at line 5420 of file pcbnew.py.

◆ __getitem__()

def pcbnew.VECTOR3D.__getitem__ (   self,
  index 
)

Definition at line 5425 of file pcbnew.py.

◆ __imul__()

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

Definition at line 5402 of file pcbnew.py.

◆ __itruediv__()

def pcbnew.VECTOR3D.__itruediv__ (   self,
args 
)

Definition at line 5406 of file pcbnew.py.

◆ __len__()

def pcbnew.VECTOR3D.__len__ (   self)

Definition at line 5424 of file pcbnew.py.

◆ __ne__() [1/2]

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

Definition at line 5398 of file pcbnew.py.

◆ __ne__() [2/2]

def pcbnew.VECTOR3D.__ne__ (   self,
  other 
)

Definition at line 5421 of file pcbnew.py.

◆ __nonzero__()

def pcbnew.VECTOR3D.__nonzero__ (   self)

Definition at line 5435 of file pcbnew.py.

◆ __repr__()

def pcbnew.VECTOR3D.__repr__ (   self)

Definition at line 5423 of file pcbnew.py.

◆ __setitem__()

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

Definition at line 5426 of file pcbnew.py.

◆ __str__()

def pcbnew.VECTOR3D.__str__ (   self)

Definition at line 5422 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 5378 of file pcbnew.py.

◆ Dot()

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

Definition at line 5382 of file pcbnew.py.

◆ EuclideanNorm()

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

Definition at line 5386 of file pcbnew.py.

◆ Get()

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

Definition at line 5416 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 5390 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 5412 of file pcbnew.py.

Member Data Documentation

◆ ECOORD_MAX

pcbnew.VECTOR3D.ECOORD_MAX = _pcbnew.VECTOR3D_ECOORD_MAX
static

Definition at line 5363 of file pcbnew.py.

◆ ECOORD_MIN

pcbnew.VECTOR3D.ECOORD_MIN = _pcbnew.VECTOR3D_ECOORD_MIN
static

Definition at line 5365 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 5361 of file pcbnew.py.

◆ x

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

Definition at line 5367 of file pcbnew.py.

◆ y

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

Definition at line 5368 of file pcbnew.py.

◆ z

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

Definition at line 5369 of file pcbnew.py.


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