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

Public Member Functions

def __init__ (self, args)
 
def Centre (self)
 
def Move (self, aMoveVector)
 
def Normalize (self)
 
def Contains (self, args)
 
def GetSize (self)
 
def GetSizeMax (self)
 
def GetX (self)
 
def GetY (self)
 
def GetOrigin (self)
 
def GetPosition (self)
 
def GetEnd (self)
 
def GetCenter (self)
 
def GetWidth (self)
 
def GetHeight (self)
 
def GetRight (self)
 
def GetLeft (self)
 
def GetTop (self)
 
def GetBottom (self)
 
def SetOrigin (self, args)
 
def SetSize (self, args)
 
def Offset (self, args)
 
def SetX (self, val)
 
def SetY (self, val)
 
def SetWidth (self, val)
 
def SetHeight (self, val)
 
def SetEnd (self, args)
 
def RevertYAxis (self)
 
def Intersects (self, args)
 
def ClosestPointTo (self, aPoint)
 
def FarthestPointTo (self, aPoint)
 
def IntersectsCircle (self, aCenter, aRadius)
 
def IntersectsCircleEdge (self, aCenter, aRadius, aWidth)
 
def getWxRect (self)
 
def getBOX2I (self)
 
def Inflate (self, args)
 
def Merge (self, args)
 
def GetArea (self)
 
def Common (self, aRect)
 
def GetBoundingBoxRotated (self, aRotCenter, aAngle)
 

Public Attributes

 this
 

Detailed Description

Proxy of C++ EDA_RECT class.

Definition at line 1757 of file pcbnew.py.

Constructor & Destructor Documentation

def pcbnew.EDA_RECT.__init__ (   self,
  args 
)
__init__(EDA_RECT self) -> EDA_RECT
__init__(EDA_RECT self, wxPoint aPos, wxSize aSize) -> EDA_RECT

Definition at line 1766 of file pcbnew.py.

Member Function Documentation

def pcbnew.EDA_RECT.Centre (   self)
Centre(EDA_RECT self) -> wxPoint

Definition at line 1779 of file pcbnew.py.

def pcbnew.EDA_RECT.ClosestPointTo (   self,
  aPoint 
)
ClosestPointTo(EDA_RECT self, wxPoint aPoint) -> wxPoint

Definition at line 1939 of file pcbnew.py.

def pcbnew.EDA_RECT.Common (   self,
  aRect 
)
Common(EDA_RECT self, EDA_RECT aRect) -> EDA_RECT

Definition at line 1990 of file pcbnew.py.

def pcbnew.EDA_RECT.Contains (   self,
  args 
)
Contains(EDA_RECT self, wxPoint aPoint) -> bool
Contains(EDA_RECT self, int x, int y) -> bool
Contains(EDA_RECT self, EDA_RECT aRect) -> bool

Definition at line 1794 of file pcbnew.py.

def pcbnew.EDA_RECT.FarthestPointTo (   self,
  aPoint 
)
FarthestPointTo(EDA_RECT self, wxPoint aPoint) -> wxPoint

Definition at line 1944 of file pcbnew.py.

def pcbnew.EDA_RECT.GetArea (   self)
GetArea(EDA_RECT self) -> double

Definition at line 1985 of file pcbnew.py.

def pcbnew.EDA_RECT.GetBottom (   self)
GetBottom(EDA_RECT self) -> int

Definition at line 1868 of file pcbnew.py.

def pcbnew.EDA_RECT.GetBoundingBoxRotated (   self,
  aRotCenter,
  aAngle 
)
GetBoundingBoxRotated(EDA_RECT self, wxPoint aRotCenter, double aAngle) -> EDA_RECT

Definition at line 1995 of file pcbnew.py.

def pcbnew.EDA_RECT.getBOX2I (   self)
getBOX2I(EDA_RECT self) -> BOX2I

Definition at line 1964 of file pcbnew.py.

def pcbnew.EDA_RECT.GetCenter (   self)
GetCenter(EDA_RECT self) -> wxPoint

Definition at line 1838 of file pcbnew.py.

def pcbnew.EDA_RECT.GetEnd (   self)
GetEnd(EDA_RECT self) -> wxPoint

Definition at line 1833 of file pcbnew.py.

def pcbnew.EDA_RECT.GetHeight (   self)
GetHeight(EDA_RECT self) -> int

Definition at line 1848 of file pcbnew.py.

def pcbnew.EDA_RECT.GetLeft (   self)
GetLeft(EDA_RECT self) -> int

Definition at line 1858 of file pcbnew.py.

def pcbnew.EDA_RECT.GetOrigin (   self)
GetOrigin(EDA_RECT self) -> wxPoint

Definition at line 1823 of file pcbnew.py.

def pcbnew.EDA_RECT.GetPosition (   self)
GetPosition(EDA_RECT self) -> wxPoint

Definition at line 1828 of file pcbnew.py.

def pcbnew.EDA_RECT.GetRight (   self)
GetRight(EDA_RECT self) -> int

Definition at line 1853 of file pcbnew.py.

def pcbnew.EDA_RECT.GetSize (   self)
GetSize(EDA_RECT self) -> wxSize

Definition at line 1803 of file pcbnew.py.

def pcbnew.EDA_RECT.GetSizeMax (   self)
GetSizeMax(EDA_RECT self) -> int

Definition at line 1808 of file pcbnew.py.

def pcbnew.EDA_RECT.GetTop (   self)
GetTop(EDA_RECT self) -> int

Definition at line 1863 of file pcbnew.py.

def pcbnew.EDA_RECT.GetWidth (   self)
GetWidth(EDA_RECT self) -> int

Definition at line 1843 of file pcbnew.py.

def pcbnew.EDA_RECT.getWxRect (   self)
getWxRect(EDA_RECT self) -> wxRect

Definition at line 1959 of file pcbnew.py.

def pcbnew.EDA_RECT.GetX (   self)
GetX(EDA_RECT self) -> int

Definition at line 1813 of file pcbnew.py.

def pcbnew.EDA_RECT.GetY (   self)
GetY(EDA_RECT self) -> int

Definition at line 1818 of file pcbnew.py.

def pcbnew.EDA_RECT.Inflate (   self,
  args 
)
Inflate(EDA_RECT self, wxCoord dx, wxCoord dy) -> EDA_RECT
Inflate(EDA_RECT self, int aDelta) -> EDA_RECT

Definition at line 1969 of file pcbnew.py.

def pcbnew.EDA_RECT.Intersects (   self,
  args 
)
Intersects(EDA_RECT self, EDA_RECT aRect) -> bool
Intersects(EDA_RECT self, EDA_RECT aRect, double aRot) -> bool
Intersects(EDA_RECT self, wxPoint aPoint1, wxPoint aPoint2) -> bool

Definition at line 1930 of file pcbnew.py.

def pcbnew.EDA_RECT.IntersectsCircle (   self,
  aCenter,
  aRadius 
)
IntersectsCircle(EDA_RECT self, wxPoint aCenter, int const aRadius) -> bool

Definition at line 1949 of file pcbnew.py.

def pcbnew.EDA_RECT.IntersectsCircleEdge (   self,
  aCenter,
  aRadius,
  aWidth 
)
IntersectsCircleEdge(EDA_RECT self, wxPoint aCenter, int const aRadius, int const aWidth) -> bool

Definition at line 1954 of file pcbnew.py.

def pcbnew.EDA_RECT.Merge (   self,
  args 
)
Merge(EDA_RECT self, EDA_RECT aRect)
Merge(EDA_RECT self, wxPoint aPoint)

Definition at line 1977 of file pcbnew.py.

def pcbnew.EDA_RECT.Move (   self,
  aMoveVector 
)
Move(EDA_RECT self, wxPoint aMoveVector)

Definition at line 1784 of file pcbnew.py.

def pcbnew.EDA_RECT.Normalize (   self)
Normalize(EDA_RECT self)

Definition at line 1789 of file pcbnew.py.

def pcbnew.EDA_RECT.Offset (   self,
  args 
)
Offset(EDA_RECT self, int dx, int dy)
Offset(EDA_RECT self, wxPoint offset)

Definition at line 1889 of file pcbnew.py.

def pcbnew.EDA_RECT.RevertYAxis (   self)
RevertYAxis(EDA_RECT self)

Definition at line 1925 of file pcbnew.py.

def pcbnew.EDA_RECT.SetEnd (   self,
  args 
)
SetEnd(EDA_RECT self, int x, int y)
SetEnd(EDA_RECT self, wxPoint pos)

Definition at line 1917 of file pcbnew.py.

Here is the caller graph for this function:

def pcbnew.EDA_RECT.SetHeight (   self,
  val 
)
SetHeight(EDA_RECT self, int val)

Definition at line 1912 of file pcbnew.py.

def pcbnew.EDA_RECT.SetOrigin (   self,
  args 
)
SetOrigin(EDA_RECT self, wxPoint pos)
SetOrigin(EDA_RECT self, int x, int y)

Definition at line 1873 of file pcbnew.py.

def pcbnew.EDA_RECT.SetSize (   self,
  args 
)
SetSize(EDA_RECT self, wxSize size)
SetSize(EDA_RECT self, int w, int h)

Definition at line 1881 of file pcbnew.py.

def pcbnew.EDA_RECT.SetWidth (   self,
  val 
)
SetWidth(EDA_RECT self, int val)

Definition at line 1907 of file pcbnew.py.

def pcbnew.EDA_RECT.SetX (   self,
  val 
)
SetX(EDA_RECT self, int val)

Definition at line 1897 of file pcbnew.py.

def pcbnew.EDA_RECT.SetY (   self,
  val 
)
SetY(EDA_RECT self, int val)

Definition at line 1902 of file pcbnew.py.

Member Data Documentation

pcbnew.EDA_RECT.this

Definition at line 1775 of file pcbnew.py.


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