KiCad Pcbnew Python Scripting
Loading...
Searching...
No Matches
pcbnew.EDA_ANGLE Class Reference
Inheritance diagram for pcbnew.EDA_ANGLE:

Public Member Functions

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

Static Public Member Functions

 Arccos (x)
 
 Arcsin (x)
 
 Arctan (x)
 
 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")
 

Detailed Description

Proxy of C++ EDA_ANGLE class.

Definition at line 16465 of file pcbnew.py.

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 16471 of file pcbnew.py.

Member Function Documentation

◆ __abs__()

pcbnew.EDA_ANGLE.__abs__ ( self)

Definition at line 16613 of file pcbnew.py.

◆ __add__()

pcbnew.EDA_ANGLE.__add__ ( self,
other )

Definition at line 16594 of file pcbnew.py.

◆ __iadd__()

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

Definition at line 16586 of file pcbnew.py.

◆ __isub__()

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

Definition at line 16590 of file pcbnew.py.

◆ __mul__()

pcbnew.EDA_ANGLE.__mul__ ( self,
other )

Definition at line 16604 of file pcbnew.py.

◆ __rmul__()

pcbnew.EDA_ANGLE.__rmul__ ( self,
other )

Definition at line 16607 of file pcbnew.py.

◆ __sub__()

pcbnew.EDA_ANGLE.__sub__ ( self,
other )

Definition at line 16599 of file pcbnew.py.

◆ __truediv__()

pcbnew.EDA_ANGLE.__truediv__ ( self,
other )

Definition at line 16610 of file pcbnew.py.

◆ Arccos()

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

Definition at line 16535 of file pcbnew.py.

◆ Arcsin()

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

Definition at line 16540 of file pcbnew.py.

◆ Arctan()

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

Definition at line 16545 of file pcbnew.py.

◆ Arctan2()

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

Definition at line 16550 of file pcbnew.py.

◆ AsDegrees()

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

Definition at line 16480 of file pcbnew.py.

◆ AsRadians()

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

Definition at line 16488 of file pcbnew.py.

◆ AsTenthsOfADegree()

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

Definition at line 16484 of file pcbnew.py.

◆ Cos()

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

Definition at line 16526 of file pcbnew.py.

◆ Invert()

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

Definition at line 16518 of file pcbnew.py.

◆ IsCardinal()

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

Definition at line 16494 of file pcbnew.py.

◆ IsCardinal90()

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

Definition at line 16498 of file pcbnew.py.

◆ IsHorizontal()

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

Definition at line 16506 of file pcbnew.py.

◆ IsParallelTo()

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

Definition at line 16514 of file pcbnew.py.

◆ IsVertical()

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

Definition at line 16510 of file pcbnew.py.

◆ IsZero()

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

Definition at line 16502 of file pcbnew.py.

◆ KeepUpright()

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

Definition at line 16578 of file pcbnew.py.

◆ Normalize()

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

Definition at line 16554 of file pcbnew.py.

◆ Normalize180()

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

Definition at line 16570 of file pcbnew.py.

◆ Normalize720()

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

Definition at line 16574 of file pcbnew.py.

◆ Normalize90()

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

Definition at line 16566 of file pcbnew.py.

◆ Normalized()

pcbnew.EDA_ANGLE.Normalized ( self)
Normalized(EDA_ANGLE self) -> EDA_ANGLE

Definition at line 16558 of file pcbnew.py.

◆ NormalizeNegative()

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

Definition at line 16562 of file pcbnew.py.

◆ Round()

pcbnew.EDA_ANGLE.Round ( self,
digits )
Round(EDA_ANGLE self, int digits) -> EDA_ANGLE

Definition at line 16582 of file pcbnew.py.

◆ Sin()

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

Definition at line 16522 of file pcbnew.py.

◆ Tan()

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

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

Property Documentation

◆ 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 16468 of file pcbnew.py.


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