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

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 4554 of file

Constructor & Destructor Documentation

def pcbnew.SHAPE.__init__ (   self,

Definition at line 4562 of file

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 4591 of file

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

Definition at line 4599 of file

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

Definition at line 4573 of file

def pcbnew.SHAPE.Collide (   self,
Collide(SHAPE self, VECTOR2I const & aP, int aClearance=0) -> bool
Collide(SHAPE self, VECTOR2I const & 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 4578 of file

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

Definition at line 4619 of file

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

Definition at line 4609 of file

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

Definition at line 4604 of file

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

Definition at line 4614 of file

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

Definition at line 4568 of file

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