KiCad Pcbnew Python Scripting
Loading...
Searching...
No Matches
Public Member Functions | Properties | List of all members
pcbnew.SHAPE_CIRCLE Class Reference
Inheritance diagram for pcbnew.SHAPE_CIRCLE:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self, *args)
 
def BBox (self, aClearance=0)
 
def Collide (self, aSeg, aClearance=0, aActual=None, aLocation=None)
 
def SetRadius (self, aRadius)
 
def SetCenter (self, aCenter)
 
def GetRadius (self)
 
def GetCenter (self)
 
def GetCircle (self)
 
def Rotate (self, *args)
 
def Format (self, aCplusPlus=True)
 
- Public Member Functions inherited from pcbnew.SHAPE
def __init__ (self, *args, **kwargs)
 
def Clone (self)
 
def GetClearance (self, aOther)
 
def IsNull (self)
 
def Collide (self, *args)
 
def BBox (self, aClearance=0)
 
def Centre (self)
 
def Distance (self, aP)
 
def SquaredDistance (self, aP, aOutlineOnly=False)
 
def PointInside (self, aPt, aAccuracy=0, aUseBBoxCache=False)
 
def TransformToPolygon (self, aBuffer, aError, aErrorLoc)
 
def Rotate (self, *args)
 
def Move (self, aVector)
 
def IsSolid (self)
 
def Parse (self, aStream)
 
def Format (self, aCplusPlus=True)
 
def Cast (self)
 
- Public Member Functions inherited from pcbnew.SHAPE_BASE
def __init__ (self, aType)
 
def Type (self)
 
def TypeName (self)
 
def HasIndexableSubshapes (self)
 
def GetIndexableSubshapeCount (self)
 
def GetIndexableSubshapes (self, aSubshapes)
 

Properties

 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
 
- Properties inherited from pcbnew.SHAPE
 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
 
- Properties inherited from pcbnew.SHAPE_BASE
 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
 

Additional Inherited Members

- Static Public Attributes inherited from pcbnew.SHAPE
 MIN_PRECISION_IU = _pcbnew.SHAPE_MIN_PRECISION_IU
 

Detailed Description

Proxy of C++ SHAPE_CIRCLE class.

Definition at line 6363 of file pcbnew.py.

Constructor & Destructor Documentation

◆ __init__()

def pcbnew.SHAPE_CIRCLE.__init__ (   self,
args 
)
    __init__(SHAPE_CIRCLE self) -> SHAPE_CIRCLE
    __init__(SHAPE_CIRCLE self, VECTOR2I aCenter, int aRadius) -> SHAPE_CIRCLE
    __init__(SHAPE_CIRCLE self, CIRCLE const & aCircle) -> SHAPE_CIRCLE
    __init__(SHAPE_CIRCLE self, SHAPE_CIRCLE aOther) -> SHAPE_CIRCLE

Reimplemented from pcbnew.SHAPE.

Definition at line 6369 of file pcbnew.py.

Here is the caller graph for this function:

Member Function Documentation

◆ BBox()

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

Reimplemented from pcbnew.SHAPE.

Definition at line 6379 of file pcbnew.py.

◆ Collide()

def pcbnew.SHAPE_CIRCLE.Collide (   self,
  aSeg,
  aClearance = 0,
  aActual = None,
  aLocation = None 
)
Collide(SHAPE_CIRCLE self, SEG aSeg, int aClearance=0, int * aActual=None, VECTOR2I aLocation=None) -> bool

Reimplemented from pcbnew.SHAPE.

Definition at line 6383 of file pcbnew.py.

◆ Format()

def pcbnew.SHAPE_CIRCLE.Format (   self,
  aCplusPlus = True 
)
Format(SHAPE_CIRCLE self, bool aCplusPlus=True) -> string

Reimplemented from pcbnew.SHAPE.

Definition at line 6411 of file pcbnew.py.

◆ GetCenter()

def pcbnew.SHAPE_CIRCLE.GetCenter (   self)
GetCenter(SHAPE_CIRCLE self) -> VECTOR2I

Definition at line 6399 of file pcbnew.py.

◆ GetCircle()

def pcbnew.SHAPE_CIRCLE.GetCircle (   self)
GetCircle(SHAPE_CIRCLE self) -> CIRCLE const

Definition at line 6403 of file pcbnew.py.

◆ GetRadius()

def pcbnew.SHAPE_CIRCLE.GetRadius (   self)
GetRadius(SHAPE_CIRCLE self) -> int

Definition at line 6395 of file pcbnew.py.

◆ Rotate()

def pcbnew.SHAPE_CIRCLE.Rotate (   self,
args 
)
Rotate(SHAPE_CIRCLE self, EDA_ANGLE aAngle, VECTOR2I aCenter={ 0, 0 })

Reimplemented from pcbnew.SHAPE.

Definition at line 6407 of file pcbnew.py.

◆ SetCenter()

def pcbnew.SHAPE_CIRCLE.SetCenter (   self,
  aCenter 
)
SetCenter(SHAPE_CIRCLE self, VECTOR2I aCenter)

Definition at line 6391 of file pcbnew.py.

◆ SetRadius()

def pcbnew.SHAPE_CIRCLE.SetRadius (   self,
  aRadius 
)
SetRadius(SHAPE_CIRCLE self, int aRadius)

Definition at line 6387 of file pcbnew.py.

Property Documentation

◆ thisown

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

Definition at line 6366 of file pcbnew.py.


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