KiCad Pcbnew Python Scripting
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | 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)
 

Public Attributes

 x
 
 y
 
 z
 

Static Public Attributes

_pcbnew ECOORD_MAX = _pcbnew.VECTOR3D_ECOORD_MAX
 
_pcbnew ECOORD_MIN = _pcbnew.VECTOR3D_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.VECTOR3D_x_get, _pcbnew.VECTOR3D_x_set, doc=)
 
property y = property(_pcbnew.VECTOR3D_y_get, _pcbnew.VECTOR3D_y_set, doc=)
 
property z = property(_pcbnew.VECTOR3D_z_get, _pcbnew.VECTOR3D_z_set, doc=)
 

Detailed Description

Proxy of C++ VECTOR3< double > class.

Definition at line 4958 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 4971 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 4994 of file pcbnew.py.

◆ __eq__() [2/2]

def pcbnew.VECTOR3D.__eq__ (   self,
  other 
)

Definition at line 5020 of file pcbnew.py.

◆ __getitem__()

def pcbnew.VECTOR3D.__getitem__ (   self,
  index 
)

Definition at line 5025 of file pcbnew.py.

◆ __imul__()

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

Definition at line 5002 of file pcbnew.py.

◆ __itruediv__()

def pcbnew.VECTOR3D.__itruediv__ (   self,
args 
)

Definition at line 5006 of file pcbnew.py.

◆ __len__()

def pcbnew.VECTOR3D.__len__ (   self)

Definition at line 5024 of file pcbnew.py.

◆ __ne__() [1/2]

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

Definition at line 4998 of file pcbnew.py.

◆ __ne__() [2/2]

def pcbnew.VECTOR3D.__ne__ (   self,
  other 
)

Definition at line 5021 of file pcbnew.py.

◆ __nonzero__()

def pcbnew.VECTOR3D.__nonzero__ (   self)

Definition at line 5035 of file pcbnew.py.

◆ __repr__()

def pcbnew.VECTOR3D.__repr__ (   self)

Definition at line 5023 of file pcbnew.py.

◆ __setitem__()

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

Definition at line 5026 of file pcbnew.py.

◆ __str__()

def pcbnew.VECTOR3D.__str__ (   self)

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

◆ Dot()

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

Definition at line 4982 of file pcbnew.py.

◆ EuclideanNorm()

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

Definition at line 4986 of file pcbnew.py.

◆ Get()

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

Definition at line 5016 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 4990 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 5012 of file pcbnew.py.

Member Data Documentation

◆ ECOORD_MAX

_pcbnew pcbnew.VECTOR3D.ECOORD_MAX = _pcbnew.VECTOR3D_ECOORD_MAX
static

Definition at line 4963 of file pcbnew.py.

◆ ECOORD_MIN

_pcbnew pcbnew.VECTOR3D.ECOORD_MIN = _pcbnew.VECTOR3D_ECOORD_MIN
static

Definition at line 4965 of file pcbnew.py.

◆ x

pcbnew.VECTOR3D.x

Definition at line 5020 of file pcbnew.py.

◆ y

pcbnew.VECTOR3D.y

Definition at line 5020 of file pcbnew.py.

◆ z

pcbnew.VECTOR3D.z

Definition at line 5020 of file pcbnew.py.

Property Documentation

◆ thisown

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

Definition at line 4961 of file pcbnew.py.

◆ x

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

Definition at line 4967 of file pcbnew.py.

◆ y

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

Definition at line 4968 of file pcbnew.py.

◆ z

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

Definition at line 4969 of file pcbnew.py.


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