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

Public Member Functions

 __init__ (self, *args)
 
 BBox (self, aClearance=0)
 
 Collide (self, aSeg, aClearance=0, aActual=None, aLocation=None)
 
 SetRadius (self, aRadius)
 
 SetCenter (self, aCenter)
 
 GetRadius (self)
 
 GetCenter (self)
 
 GetCircle (self)
 
 Rotate (self, *args)
 
 Format (self, aCplusPlus=True)
 
- Public Member Functions inherited from pcbnew.SHAPE
 __init__ (self, *args, **kwargs)
 
 Clone (self)
 
 GetClearance (self, aOther)
 
 IsNull (self)
 
 Centre (self)
 
 Distance (self, aP)
 
 SquaredDistance (self, aP, aOutlineOnly=False)
 
 NearestPoints (self, aOther, aPtThis, aPtOther)
 
 PointInside (self, aPt, aAccuracy=0, aUseBBoxCache=False)
 
 TransformToPolygon (self, aBuffer, aError, aErrorLoc)
 
 GetStart (self)
 
 GetEnd (self)
 
 GetWidth (self)
 
 SetWidth (self, aWidth)
 
 Move (self, aVector)
 
 IsSolid (self)
 
 Parse (self, aStream)
 
 Cast (self)
 
- Public Member Functions inherited from pcbnew.SHAPE_BASE
 __init__ (self, aType)
 
 Type (self)
 
 TypeName (self)
 
 HasIndexableSubshapes (self)
 
 GetIndexableSubshapeCount (self)
 
 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 6338 of file pcbnew.py.

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 6344 of file pcbnew.py.

Member Function Documentation

◆ BBox()

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

Reimplemented from pcbnew.SHAPE.

Definition at line 6354 of file pcbnew.py.

◆ Collide()

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

◆ Format()

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

Reimplemented from pcbnew.SHAPE.

Definition at line 6386 of file pcbnew.py.

◆ GetCenter()

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

Definition at line 6374 of file pcbnew.py.

◆ GetCircle()

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

Definition at line 6378 of file pcbnew.py.

◆ GetRadius()

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

Definition at line 6370 of file pcbnew.py.

◆ Rotate()

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

Reimplemented from pcbnew.SHAPE.

Definition at line 6382 of file pcbnew.py.

◆ SetCenter()

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

Definition at line 6366 of file pcbnew.py.

◆ SetRadius()

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

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


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