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

Public Member Functions

def __init__ (self, *args)
 
def AsDegrees (self)
 
def AsTenthsOfADegree (self)
 
def AsRadians (self)
 
def IsCardinal (self)
 
def IsCardinal90 (self)
 
def IsZero (self)
 
def IsHorizontal (self)
 
def IsVertical (self)
 
def IsParallelTo (self, aAngle)
 
def Invert (self)
 
def Sin (self)
 
def Cos (self)
 
def Tan (self)
 
def Normalize (self)
 
def NormalizeNegative (self)
 
def Normalize90 (self)
 
def Normalize180 (self)
 
def Normalize720 (self)
 
def KeepUpright (self)
 
def __iadd__ (self, aAngle)
 
def __isub__ (self, aAngle)
 
def __add__ (self, other)
 
def __sub__ (self, other)
 
def __mul__ (self, other)
 
def __rmul__ (self, other)
 
def __truediv__ (self, other)
 

Static Public Member Functions

def Arccos (x)
 
def Arcsin (x)
 
def Arctan (x)
 
def Arctan2 (y, x)
 

Static Public Attributes

 DEGREES_TO_RADIANS = _pcbnew.EDA_ANGLE_DEGREES_TO_RADIANS
 

Properties

 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
 
 m_Angle0 = property(_pcbnew.EDA_ANGLE_m_Angle0_get, _pcbnew.EDA_ANGLE_m_Angle0_set, doc=)
 
 m_Angle45 = property(_pcbnew.EDA_ANGLE_m_Angle45_get, _pcbnew.EDA_ANGLE_m_Angle45_set, doc=)
 
 m_Angle90 = property(_pcbnew.EDA_ANGLE_m_Angle90_get, _pcbnew.EDA_ANGLE_m_Angle90_set, doc=)
 
 m_Angle135 = property(_pcbnew.EDA_ANGLE_m_Angle135_get, _pcbnew.EDA_ANGLE_m_Angle135_set, doc=)
 
 m_Angle180 = property(_pcbnew.EDA_ANGLE_m_Angle180_get, _pcbnew.EDA_ANGLE_m_Angle180_set, doc=)
 
 m_Angle270 = property(_pcbnew.EDA_ANGLE_m_Angle270_get, _pcbnew.EDA_ANGLE_m_Angle270_set, doc=)
 
 m_Angle360 = property(_pcbnew.EDA_ANGLE_m_Angle360_get, _pcbnew.EDA_ANGLE_m_Angle360_set, doc=)
 

Detailed Description

Proxy of C++ EDA_ANGLE class.

Definition at line 14320 of file pcbnew.py.

Constructor & Destructor Documentation

◆ __init__()

def pcbnew.EDA_ANGLE.__init__ (   self,
args 
)
    __init__(EDA_ANGLE self, double aValue, EDA_ANGLE_T aAngleType) -> EDA_ANGLE
    __init__(EDA_ANGLE self, VECTOR2D const & aVector) -> EDA_ANGLE
    __init__(EDA_ANGLE self, VECTOR2I aVector) -> EDA_ANGLE
    __init__(EDA_ANGLE self) -> EDA_ANGLE

Definition at line 14326 of file pcbnew.py.

Here is the caller graph for this function:

Member Function Documentation

◆ __add__()

def pcbnew.EDA_ANGLE.__add__ (   self,
  other 
)

Definition at line 14448 of file pcbnew.py.

◆ __iadd__()

def pcbnew.EDA_ANGLE.__iadd__ (   self,
  aAngle 
)
__iadd__(EDA_ANGLE self, EDA_ANGLE aAngle) -> EDA_ANGLE

Definition at line 14433 of file pcbnew.py.

◆ __isub__()

def pcbnew.EDA_ANGLE.__isub__ (   self,
  aAngle 
)
__isub__(EDA_ANGLE self, EDA_ANGLE aAngle) -> EDA_ANGLE

Definition at line 14437 of file pcbnew.py.

◆ __mul__()

def pcbnew.EDA_ANGLE.__mul__ (   self,
  other 
)

Definition at line 14458 of file pcbnew.py.

◆ __rmul__()

def pcbnew.EDA_ANGLE.__rmul__ (   self,
  other 
)

Definition at line 14461 of file pcbnew.py.

◆ __sub__()

def pcbnew.EDA_ANGLE.__sub__ (   self,
  other 
)

Definition at line 14453 of file pcbnew.py.

◆ __truediv__()

def pcbnew.EDA_ANGLE.__truediv__ (   self,
  other 
)

Definition at line 14464 of file pcbnew.py.

◆ Arccos()

def pcbnew.EDA_ANGLE.Arccos (   x)
static
Arccos(double x) -> EDA_ANGLE

Definition at line 14390 of file pcbnew.py.

◆ Arcsin()

def pcbnew.EDA_ANGLE.Arcsin (   x)
static
Arcsin(double x) -> EDA_ANGLE

Definition at line 14395 of file pcbnew.py.

◆ Arctan()

def pcbnew.EDA_ANGLE.Arctan (   x)
static
Arctan(double x) -> EDA_ANGLE

Definition at line 14400 of file pcbnew.py.

◆ Arctan2()

def pcbnew.EDA_ANGLE.Arctan2 (   y,
  x 
)
static
Arctan2(double y, double x) -> EDA_ANGLE

Definition at line 14405 of file pcbnew.py.

◆ AsDegrees()

def pcbnew.EDA_ANGLE.AsDegrees (   self)
AsDegrees(EDA_ANGLE self) -> double

Definition at line 14335 of file pcbnew.py.

Here is the caller graph for this function:

◆ AsRadians()

def pcbnew.EDA_ANGLE.AsRadians (   self)
AsRadians(EDA_ANGLE self) -> double

Definition at line 14343 of file pcbnew.py.

◆ AsTenthsOfADegree()

def pcbnew.EDA_ANGLE.AsTenthsOfADegree (   self)
AsTenthsOfADegree(EDA_ANGLE self) -> int

Definition at line 14339 of file pcbnew.py.

◆ Cos()

def pcbnew.EDA_ANGLE.Cos (   self)
Cos(EDA_ANGLE self) -> double

Definition at line 14381 of file pcbnew.py.

◆ Invert()

def pcbnew.EDA_ANGLE.Invert (   self)
Invert(EDA_ANGLE self) -> EDA_ANGLE

Definition at line 14373 of file pcbnew.py.

◆ IsCardinal()

def pcbnew.EDA_ANGLE.IsCardinal (   self)
IsCardinal(EDA_ANGLE self) -> bool

Definition at line 14349 of file pcbnew.py.

◆ IsCardinal90()

def pcbnew.EDA_ANGLE.IsCardinal90 (   self)
IsCardinal90(EDA_ANGLE self) -> bool

Definition at line 14353 of file pcbnew.py.

◆ IsHorizontal()

def pcbnew.EDA_ANGLE.IsHorizontal (   self)
IsHorizontal(EDA_ANGLE self) -> bool

Definition at line 14361 of file pcbnew.py.

◆ IsParallelTo()

def pcbnew.EDA_ANGLE.IsParallelTo (   self,
  aAngle 
)
IsParallelTo(EDA_ANGLE self, EDA_ANGLE aAngle) -> bool

Definition at line 14369 of file pcbnew.py.

◆ IsVertical()

def pcbnew.EDA_ANGLE.IsVertical (   self)
IsVertical(EDA_ANGLE self) -> bool

Definition at line 14365 of file pcbnew.py.

◆ IsZero()

def pcbnew.EDA_ANGLE.IsZero (   self)
IsZero(EDA_ANGLE self) -> bool

Definition at line 14357 of file pcbnew.py.

◆ KeepUpright()

def pcbnew.EDA_ANGLE.KeepUpright (   self)
KeepUpright(EDA_ANGLE self) -> EDA_ANGLE

Definition at line 14429 of file pcbnew.py.

◆ Normalize()

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

Definition at line 14409 of file pcbnew.py.

◆ Normalize180()

def pcbnew.EDA_ANGLE.Normalize180 (   self)
Normalize180(EDA_ANGLE self) -> EDA_ANGLE

Definition at line 14421 of file pcbnew.py.

◆ Normalize720()

def pcbnew.EDA_ANGLE.Normalize720 (   self)
Normalize720(EDA_ANGLE self) -> EDA_ANGLE

Definition at line 14425 of file pcbnew.py.

◆ Normalize90()

def pcbnew.EDA_ANGLE.Normalize90 (   self)
Normalize90(EDA_ANGLE self) -> EDA_ANGLE

Definition at line 14417 of file pcbnew.py.

◆ NormalizeNegative()

def pcbnew.EDA_ANGLE.NormalizeNegative (   self)
NormalizeNegative(EDA_ANGLE self) -> EDA_ANGLE

Definition at line 14413 of file pcbnew.py.

◆ Sin()

def pcbnew.EDA_ANGLE.Sin (   self)
Sin(EDA_ANGLE self) -> double

Definition at line 14377 of file pcbnew.py.

◆ Tan()

def pcbnew.EDA_ANGLE.Tan (   self)
Tan(EDA_ANGLE self) -> double

Definition at line 14385 of file pcbnew.py.

Member Data Documentation

◆ DEGREES_TO_RADIANS

pcbnew.EDA_ANGLE.DEGREES_TO_RADIANS = _pcbnew.EDA_ANGLE_DEGREES_TO_RADIANS
static

Definition at line 14346 of file pcbnew.py.

Property Documentation

◆ m_Angle0

pcbnew.EDA_ANGLE.m_Angle0 = property(_pcbnew.EDA_ANGLE_m_Angle0_get, _pcbnew.EDA_ANGLE_m_Angle0_set, doc=)
static

Definition at line 14440 of file pcbnew.py.

◆ m_Angle135

pcbnew.EDA_ANGLE.m_Angle135 = property(_pcbnew.EDA_ANGLE_m_Angle135_get, _pcbnew.EDA_ANGLE_m_Angle135_set, doc=)
static

Definition at line 14443 of file pcbnew.py.

◆ m_Angle180

pcbnew.EDA_ANGLE.m_Angle180 = property(_pcbnew.EDA_ANGLE_m_Angle180_get, _pcbnew.EDA_ANGLE_m_Angle180_set, doc=)
static

Definition at line 14444 of file pcbnew.py.

◆ m_Angle270

pcbnew.EDA_ANGLE.m_Angle270 = property(_pcbnew.EDA_ANGLE_m_Angle270_get, _pcbnew.EDA_ANGLE_m_Angle270_set, doc=)
static

Definition at line 14445 of file pcbnew.py.

◆ m_Angle360

pcbnew.EDA_ANGLE.m_Angle360 = property(_pcbnew.EDA_ANGLE_m_Angle360_get, _pcbnew.EDA_ANGLE_m_Angle360_set, doc=)
static

Definition at line 14446 of file pcbnew.py.

◆ m_Angle45

pcbnew.EDA_ANGLE.m_Angle45 = property(_pcbnew.EDA_ANGLE_m_Angle45_get, _pcbnew.EDA_ANGLE_m_Angle45_set, doc=)
static

Definition at line 14441 of file pcbnew.py.

◆ m_Angle90

pcbnew.EDA_ANGLE.m_Angle90 = property(_pcbnew.EDA_ANGLE_m_Angle90_get, _pcbnew.EDA_ANGLE_m_Angle90_set, doc=)
static

Definition at line 14442 of file pcbnew.py.

◆ thisown

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

Definition at line 14323 of file pcbnew.py.


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