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

Public Member Functions

def __init__ (self, args, kwargs)
 
def Type (self)
 
def Clone (self)
 
def Collide (self, args)
 
def BBox (self, aClearance=0)
 
def Centre (self)
 
def Move (self, aVector)
 
def IsSolid (self)
 
def Parse (self, aStream)
 
def Format (self)
 

Detailed Description

Proxy of C++ SHAPE class.

Definition at line 4696 of file pcbnew.py.

Constructor & Destructor Documentation

def pcbnew.SHAPE.__init__ (   self,
  args,
  kwargs 
)

Definition at line 4704 of file pcbnew.py.

Member Function Documentation

def pcbnew.SHAPE.BBox (   self,
  aClearance = 0 
)
BBox(SHAPE self, int aClearance=0) -> BOX2I const
BBox(SHAPE self) -> BOX2I const

Definition at line 4733 of file pcbnew.py.

def pcbnew.SHAPE.Centre (   self)
Centre(SHAPE self) -> VECTOR2I

Definition at line 4741 of file pcbnew.py.

def pcbnew.SHAPE.Clone (   self)
Clone(SHAPE self) -> SHAPE

Definition at line 4715 of file pcbnew.py.

def pcbnew.SHAPE.Collide (   self,
  args 
)
Collide(SHAPE self, VECTOR2I aP, int aClearance=0) -> bool
Collide(SHAPE self, VECTOR2I aP) -> bool
Collide(SHAPE self, SHAPE aShape, int aClearance, VECTOR2I aMTV) -> bool
Collide(SHAPE self, SHAPE aShape, int aClearance=0) -> bool
Collide(SHAPE self, SHAPE aShape) -> bool
Collide(SHAPE self, SEG const & aSeg, int aClearance=0) -> bool
Collide(SHAPE self, SEG const & aSeg) -> bool

Definition at line 4720 of file pcbnew.py.

def pcbnew.SHAPE.Format (   self)
Format(SHAPE self) -> string

Definition at line 4761 of file pcbnew.py.

def pcbnew.SHAPE.IsSolid (   self)
IsSolid(SHAPE self) -> bool

Definition at line 4751 of file pcbnew.py.

def pcbnew.SHAPE.Move (   self,
  aVector 
)
Move(SHAPE self, VECTOR2I aVector)

Definition at line 4746 of file pcbnew.py.

def pcbnew.SHAPE.Parse (   self,
  aStream 
)
Parse(SHAPE self, std::stringstream & aStream) -> bool

Definition at line 4756 of file pcbnew.py.

def pcbnew.SHAPE.Type (   self)
Type(SHAPE self) -> SHAPE_TYPE

Definition at line 4710 of file pcbnew.py.


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