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

Public Member Functions

 __init__ (self, *args, **kwargs)
 
 Collide (self, *args)
 
 SquaredDistance (self, aP, aOutlineOnly=False)
 
 PointInside (self, aPt, aAccuracy=0, aUseBBoxCache=False)
 
 PointOnEdge (self, aP, aAccuracy=0)
 
 EdgeContainingPoint (self, aP, aAccuracy=0)
 
 GetPoint (self, aIndex)
 
 GetSegment (self, aIndex)
 
 GetPointCount (self)
 
 GetSegmentCount (self)
 
 IsClosed (self)
 
 GetCachedBBox (self)
 
- Public Member Functions inherited from pcbnew.SHAPE
 __init__ (self, *args, **kwargs)
 
 Clone (self)
 
 GetClearance (self, aOther)
 
 IsNull (self)
 
 BBox (self, aClearance=0)
 
 Centre (self)
 
 Distance (self, aP)
 
 NearestPoints (self, aOther, aPtThis, aPtOther)
 
 TransformToPolygon (self, aBuffer, aError, aErrorLoc)
 
 Rotate (self, *args)
 
 GetStart (self)
 
 GetEnd (self)
 
 GetWidth (self)
 
 SetWidth (self, aWidth)
 
 Move (self, aVector)
 
 IsSolid (self)
 
 Parse (self, aStream)
 
 Format (self, aCplusPlus=True)
 
 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_LINE_CHAIN_BASE class.

Definition at line 6143 of file pcbnew.py.

Constructor & Destructor Documentation

◆ __init__()

pcbnew.SHAPE_LINE_CHAIN_BASE.__init__ ( self,
* args,
** kwargs )

Definition at line 6148 of file pcbnew.py.

Member Function Documentation

◆ Collide()

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

Reimplemented from pcbnew.SHAPE.

Reimplemented in pcbnew.SHAPE_LINE_CHAIN, and pcbnew.SHAPE_SIMPLE.

Definition at line 6153 of file pcbnew.py.

◆ EdgeContainingPoint()

pcbnew.SHAPE_LINE_CHAIN_BASE.EdgeContainingPoint ( self,
aP,
aAccuracy = 0 )
EdgeContainingPoint(SHAPE_LINE_CHAIN_BASE self, VECTOR2I aP, int aAccuracy=0) -> int

Definition at line 6172 of file pcbnew.py.

◆ GetCachedBBox()

pcbnew.SHAPE_LINE_CHAIN_BASE.GetCachedBBox ( self)
GetCachedBBox(SHAPE_LINE_CHAIN_BASE self) -> BOX2I

Definition at line 6196 of file pcbnew.py.

◆ GetPoint()

pcbnew.SHAPE_LINE_CHAIN_BASE.GetPoint ( self,
aIndex )
GetPoint(SHAPE_LINE_CHAIN_BASE self, int aIndex) -> VECTOR2I

Definition at line 6176 of file pcbnew.py.

◆ GetPointCount()

pcbnew.SHAPE_LINE_CHAIN_BASE.GetPointCount ( self)
GetPointCount(SHAPE_LINE_CHAIN_BASE self) -> size_t

Definition at line 6184 of file pcbnew.py.

◆ GetSegment()

pcbnew.SHAPE_LINE_CHAIN_BASE.GetSegment ( self,
aIndex )
GetSegment(SHAPE_LINE_CHAIN_BASE self, int aIndex) -> SEG

Definition at line 6180 of file pcbnew.py.

◆ GetSegmentCount()

pcbnew.SHAPE_LINE_CHAIN_BASE.GetSegmentCount ( self)
GetSegmentCount(SHAPE_LINE_CHAIN_BASE self) -> size_t

Definition at line 6188 of file pcbnew.py.

◆ IsClosed()

pcbnew.SHAPE_LINE_CHAIN_BASE.IsClosed ( self)
IsClosed(SHAPE_LINE_CHAIN_BASE self) -> bool

Definition at line 6192 of file pcbnew.py.

◆ PointInside()

pcbnew.SHAPE_LINE_CHAIN_BASE.PointInside ( self,
aPt,
aAccuracy = 0,
aUseBBoxCache = False )
PointInside(SHAPE_LINE_CHAIN_BASE self, VECTOR2I aPt, int aAccuracy=0, bool aUseBBoxCache=False) -> bool

Reimplemented from pcbnew.SHAPE.

Definition at line 6164 of file pcbnew.py.

◆ PointOnEdge()

pcbnew.SHAPE_LINE_CHAIN_BASE.PointOnEdge ( self,
aP,
aAccuracy = 0 )
PointOnEdge(SHAPE_LINE_CHAIN_BASE self, VECTOR2I aP, int aAccuracy=0) -> bool

Definition at line 6168 of file pcbnew.py.

◆ SquaredDistance()

pcbnew.SHAPE_LINE_CHAIN_BASE.SquaredDistance ( self,
aP,
aOutlineOnly = False )
SquaredDistance(SHAPE_LINE_CHAIN_BASE self, VECTOR2I aP, bool aOutlineOnly=False) -> SEG::ecoord

Reimplemented from pcbnew.SHAPE.

Definition at line 6160 of file pcbnew.py.

Property Documentation

◆ thisown

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

Definition at line 6146 of file pcbnew.py.


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