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

Public Member Functions

def __init__ (self, *args)
 
def Collide (self, *args)
 
def ClosestSegmentsFast (self, aOther, aPt0, aPt1)
 
def Clear (self)
 
def SetClosed (self, aClosed)
 
def SetWidth (self, aWidth)
 
def Width (self)
 
def SegmentCount (self)
 
def ShapeCount (self)
 
def RemoveDuplicatePoints (self)
 
def Simplify (self, aMaxError=0)
 
def PointCount (self)
 
def Segment (self, aIndex)
 
def CSegment (self, aIndex)
 
def NextShape (self, aPointIndex)
 
def SetPoint (self, aIndex, aPos)
 
def CPoint (self, aIndex)
 
def CPoints (self)
 
def CLastPoint (self)
 
def CArcs (self)
 
def CShapes (self)
 
def BBox (self, aClearance=0)
 
def GenerateBBoxCache (self)
 
def Reverse (self)
 
def ClearArcs (self)
 
def Length (self)
 
def ReservePoints (self, aSize)
 
def Append (self, *args)
 
def Insert (self, *args)
 
def Replace (self, *args)
 
def Remove (self, *args)
 
def RemoveShape (self, aPointIndex)
 
def Find (self, aP, aThreshold=0)
 
def FindSegment (self, aP, aThreshold=1)
 
def Slice (self, aStartIndex, aEndIndex=-1)
 
def Intersects (self, aChain)
 
def Intersect (self, *args)
 
def PathLength (self, aP, aIndex=-1)
 
def CheckClearance (self, aP, aDist)
 
def SelfIntersecting (self)
 
def SelfIntersectingWithArcs (self)
 
def NearestSegment (self, aP)
 
def NearestPoint (self, *args)
 
def Format (self, aCplusPlus=True)
 
def __ne__ (self, aRhs)
 
def CompareGeometry (self, aOther)
 
def Mirror (self, *args)
 
def Rotate (self, *args)
 
def PointAlong (self, aPathLength)
 
def Area (self, aAbsolute=True)
 
def Split (self, *args)
 
def OffsetLine (self, aAmount, aCornerStrategy, aMaxError, aLeft, aRight, aSimplify=False)
 
def ArcCount (self)
 
def ArcIndex (self, aSegment)
 
def Arc (self, aArc)
 
def IsSharedPt (self, aIndex)
 
def IsPtOnArc (self, aPtIndex)
 
def IsArcSegment (self, aSegment)
 
def IsArcStart (self, aIndex)
 
def IsArcEnd (self, aIndex)
 
def Distance (self, *args)
 
- Public Member Functions inherited from pcbnew.SHAPE_LINE_CHAIN_BASE
def __init__ (self, *args, **kwargs)
 
def Collide (self, *args)
 
def SquaredDistance (self, aP, aOutlineOnly=False)
 
def PointInside (self, aPt, aAccuracy=0, aUseBBoxCache=False)
 
def PointOnEdge (self, aP, aAccuracy=0)
 
def EdgeContainingPoint (self, aP, aAccuracy=0)
 
def GetPoint (self, aIndex)
 
def GetSegment (self, aIndex)
 
def GetPointCount (self)
 
def GetSegmentCount (self)
 
def IsClosed (self)
 
def GetCachedBBox (self)
 
- 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)
 

Static Public Member Functions

def ClosestPoints (*args)
 
def ClosestSegments (aMyPrevPt, aMyStart, aMyEnd, aOtherPrevPt, aOtherStart, aOtherEnd, aPt0, aPt1, aDistSq)
 

Properties

property thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
 
- Properties inherited from pcbnew.SHAPE_LINE_CHAIN_BASE
property thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
 
- Properties inherited from pcbnew.SHAPE
property thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
 
- Properties inherited from pcbnew.SHAPE_BASE
property 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
_pcbnew MIN_PRECISION_IU = _pcbnew.SHAPE_MIN_PRECISION_IU
 

Detailed Description

Proxy of C++ SHAPE_LINE_CHAIN class.

Definition at line 6196 of file pcbnew.py.

Constructor & Destructor Documentation

◆ __init__()

def pcbnew.SHAPE_LINE_CHAIN.__init__ (   self,
args 
)
    __init__(SHAPE_LINE_CHAIN self) -> SHAPE_LINE_CHAIN
    __init__(SHAPE_LINE_CHAIN self, SHAPE_LINE_CHAIN aShape) -> SHAPE_LINE_CHAIN
    __init__(SHAPE_LINE_CHAIN self, intVector aV) -> SHAPE_LINE_CHAIN
    __init__(SHAPE_LINE_CHAIN self, VECTOR_VECTOR2I aV, bool aClosed=False) -> SHAPE_LINE_CHAIN
    __init__(SHAPE_LINE_CHAIN self, SHAPE_ARC aArc, bool aClosed=False) -> SHAPE_LINE_CHAIN
    __init__(SHAPE_LINE_CHAIN self, ClipperLib::Path const & aPath, std::vector< CLIPPER_Z_VALUE,std::allocator< CLIPPER_Z_VALUE > > const & aZValueBuffer, std::vector< SHAPE_ARC,std::allocator< SHAPE_ARC > > const & aArcBuffer) -> SHAPE_LINE_CHAIN
    __init__(SHAPE_LINE_CHAIN self, Clipper2Lib::Path64 const & aPath, std::vector< CLIPPER_Z_VALUE,std::allocator< CLIPPER_Z_VALUE > > const & aZValueBuffer, std::vector< SHAPE_ARC,std::allocator< SHAPE_ARC > > const & aArcBuffer) -> SHAPE_LINE_CHAIN

Reimplemented from pcbnew.SHAPE_LINE_CHAIN_BASE.

Definition at line 6202 of file pcbnew.py.

Here is the caller graph for this function:

Member Function Documentation

◆ __ne__()

def pcbnew.SHAPE_LINE_CHAIN.__ne__ (   self,
  aRhs 
)
__ne__(SHAPE_LINE_CHAIN self, SHAPE_LINE_CHAIN aRhs) -> bool

Definition at line 6424 of file pcbnew.py.

◆ Append()

def pcbnew.SHAPE_LINE_CHAIN.Append (   self,
args 
)
    Append(SHAPE_LINE_CHAIN self, int aX, int aY, bool aAllowDuplication=False)
    Append(SHAPE_LINE_CHAIN self, VECTOR2I aP, bool aAllowDuplication=False)
    Append(SHAPE_LINE_CHAIN self, SHAPE_LINE_CHAIN aOtherLine)
    Append(SHAPE_LINE_CHAIN self, SHAPE_ARC aArc)
    Append(SHAPE_LINE_CHAIN self, SHAPE_ARC aArc, double aAccuracy)

Definition at line 6335 of file pcbnew.py.

Here is the caller graph for this function:

◆ Arc()

def pcbnew.SHAPE_LINE_CHAIN.Arc (   self,
  aArc 
)
Arc(SHAPE_LINE_CHAIN self, size_t aArc) -> SHAPE_ARC

Definition at line 6470 of file pcbnew.py.

Here is the caller graph for this function:

◆ ArcCount()

def pcbnew.SHAPE_LINE_CHAIN.ArcCount (   self)
ArcCount(SHAPE_LINE_CHAIN self) -> size_t

Definition at line 6462 of file pcbnew.py.

◆ ArcIndex()

def pcbnew.SHAPE_LINE_CHAIN.ArcIndex (   self,
  aSegment 
)
ArcIndex(SHAPE_LINE_CHAIN self, size_t aSegment) -> ssize_t

Definition at line 6466 of file pcbnew.py.

◆ Area()

def pcbnew.SHAPE_LINE_CHAIN.Area (   self,
  aAbsolute = True 
)
Area(SHAPE_LINE_CHAIN self, bool aAbsolute=True) -> double

Definition at line 6447 of file pcbnew.py.

◆ BBox()

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

Reimplemented from pcbnew.SHAPE.

Definition at line 6311 of file pcbnew.py.

◆ CArcs()

def pcbnew.SHAPE_LINE_CHAIN.CArcs (   self)
CArcs(SHAPE_LINE_CHAIN self) -> std::vector< SHAPE_ARC,std::allocator< SHAPE_ARC > > const &

Definition at line 6303 of file pcbnew.py.

◆ CheckClearance()

def pcbnew.SHAPE_LINE_CHAIN.CheckClearance (   self,
  aP,
  aDist 
)
CheckClearance(SHAPE_LINE_CHAIN self, VECTOR2I aP, int const aDist) -> bool

Definition at line 6397 of file pcbnew.py.

◆ CLastPoint()

def pcbnew.SHAPE_LINE_CHAIN.CLastPoint (   self)
CLastPoint(SHAPE_LINE_CHAIN self) -> VECTOR2I

Definition at line 6299 of file pcbnew.py.

◆ Clear()

def pcbnew.SHAPE_LINE_CHAIN.Clear (   self)
Clear(SHAPE_LINE_CHAIN self)

Definition at line 6239 of file pcbnew.py.

◆ ClearArcs()

def pcbnew.SHAPE_LINE_CHAIN.ClearArcs (   self)
ClearArcs(SHAPE_LINE_CHAIN self)

Definition at line 6323 of file pcbnew.py.

◆ ClosestPoints()

def pcbnew.SHAPE_LINE_CHAIN.ClosestPoints ( args)
static
    ClosestPoints(SHAPE_LINE_CHAIN aOther, VECTOR2I aPt0, VECTOR2I aPt1) -> bool
    ClosestPoints(SHAPE_LINE_CHAIN::point_citer const & aMyStart, SHAPE_LINE_CHAIN::point_citer const & aMyEnd, SHAPE_LINE_CHAIN::point_citer const & aOtherStart, SHAPE_LINE_CHAIN::point_citer const & aOtherEnd, VECTOR2I aPt0, VECTOR2I aPt1, int64_t & aDistSq) -> bool

Definition at line 6223 of file pcbnew.py.

Here is the caller graph for this function:

◆ ClosestSegments()

def pcbnew.SHAPE_LINE_CHAIN.ClosestSegments (   aMyPrevPt,
  aMyStart,
  aMyEnd,
  aOtherPrevPt,
  aOtherStart,
  aOtherEnd,
  aPt0,
  aPt1,
  aDistSq 
)
static
ClosestSegments(VECTOR2I aMyPrevPt, SHAPE_LINE_CHAIN::point_citer const & aMyStart, SHAPE_LINE_CHAIN::point_citer const & aMyEnd, VECTOR2I aOtherPrevPt, SHAPE_LINE_CHAIN::point_citer const & aOtherStart, SHAPE_LINE_CHAIN::point_citer const & aOtherEnd, VECTOR2I aPt0, VECTOR2I aPt1, int64_t & aDistSq) -> bool

Definition at line 6231 of file pcbnew.py.

◆ ClosestSegmentsFast()

def pcbnew.SHAPE_LINE_CHAIN.ClosestSegmentsFast (   self,
  aOther,
  aPt0,
  aPt1 
)
ClosestSegmentsFast(SHAPE_LINE_CHAIN self, SHAPE_LINE_CHAIN aOther, VECTOR2I aPt0, VECTOR2I aPt1) -> bool

Definition at line 6235 of file pcbnew.py.

◆ Collide()

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

Reimplemented from pcbnew.SHAPE_LINE_CHAIN_BASE.

Definition at line 6215 of file pcbnew.py.

Here is the caller graph for this function:

◆ CompareGeometry()

def pcbnew.SHAPE_LINE_CHAIN.CompareGeometry (   self,
  aOther 
)
CompareGeometry(SHAPE_LINE_CHAIN self, SHAPE_LINE_CHAIN aOther) -> bool

Definition at line 6428 of file pcbnew.py.

◆ CPoint()

def pcbnew.SHAPE_LINE_CHAIN.CPoint (   self,
  aIndex 
)
CPoint(SHAPE_LINE_CHAIN self, int aIndex) -> VECTOR2I

Definition at line 6291 of file pcbnew.py.

◆ CPoints()

def pcbnew.SHAPE_LINE_CHAIN.CPoints (   self)
CPoints(SHAPE_LINE_CHAIN self) -> VECTOR_VECTOR2I

Definition at line 6295 of file pcbnew.py.

◆ CSegment()

def pcbnew.SHAPE_LINE_CHAIN.CSegment (   self,
  aIndex 
)
CSegment(SHAPE_LINE_CHAIN self, int aIndex) -> SEG

Definition at line 6279 of file pcbnew.py.

◆ CShapes()

def pcbnew.SHAPE_LINE_CHAIN.CShapes (   self)
CShapes(SHAPE_LINE_CHAIN self) -> std::vector< std::pair< ssize_t,ssize_t >,std::allocator< std::pair< ssize_t,ssize_t > > > const &

Definition at line 6307 of file pcbnew.py.

◆ Distance()

def pcbnew.SHAPE_LINE_CHAIN.Distance (   self,
args 
)
    Distance(SHAPE_LINE_CHAIN self, VECTOR2I aP) -> int
    Distance(SHAPE_LINE_CHAIN self, VECTOR2I aP, bool aOutlineOnly) -> int

Reimplemented from pcbnew.SHAPE.

Definition at line 6494 of file pcbnew.py.

Here is the caller graph for this function:

◆ Find()

def pcbnew.SHAPE_LINE_CHAIN.Find (   self,
  aP,
  aThreshold = 0 
)
Find(SHAPE_LINE_CHAIN self, VECTOR2I aP, int aThreshold=0) -> int

Definition at line 6370 of file pcbnew.py.

◆ FindSegment()

def pcbnew.SHAPE_LINE_CHAIN.FindSegment (   self,
  aP,
  aThreshold = 1 
)
FindSegment(SHAPE_LINE_CHAIN self, VECTOR2I aP, int aThreshold=1) -> int

Definition at line 6374 of file pcbnew.py.

◆ Format()

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

Reimplemented from pcbnew.SHAPE.

Definition at line 6420 of file pcbnew.py.

◆ GenerateBBoxCache()

def pcbnew.SHAPE_LINE_CHAIN.GenerateBBoxCache (   self)
GenerateBBoxCache(SHAPE_LINE_CHAIN self)

Definition at line 6315 of file pcbnew.py.

◆ Insert()

def pcbnew.SHAPE_LINE_CHAIN.Insert (   self,
args 
)
    Insert(SHAPE_LINE_CHAIN self, size_t aVertex, VECTOR2I aP)
    Insert(SHAPE_LINE_CHAIN self, size_t aVertex, SHAPE_ARC aArc)

Definition at line 6345 of file pcbnew.py.

Here is the caller graph for this function:

◆ Intersect()

def pcbnew.SHAPE_LINE_CHAIN.Intersect (   self,
args 
)
    Intersect(SHAPE_LINE_CHAIN self, SEG aSeg, SHAPE_LINE_CHAIN::INTERSECTIONS & aIp) -> int
    Intersect(SHAPE_LINE_CHAIN self, SHAPE_LINE_CHAIN aChain, SHAPE_LINE_CHAIN::INTERSECTIONS & aIp, bool aExcludeColinearAndTouching=False, BOX2I aChainBBox=None) -> int

Definition at line 6386 of file pcbnew.py.

Here is the caller graph for this function:

◆ Intersects()

def pcbnew.SHAPE_LINE_CHAIN.Intersects (   self,
  aChain 
)
Intersects(SHAPE_LINE_CHAIN self, SHAPE_LINE_CHAIN aChain) -> bool

Definition at line 6382 of file pcbnew.py.

◆ IsArcEnd()

def pcbnew.SHAPE_LINE_CHAIN.IsArcEnd (   self,
  aIndex 
)
IsArcEnd(SHAPE_LINE_CHAIN self, size_t aIndex) -> bool

Definition at line 6490 of file pcbnew.py.

◆ IsArcSegment()

def pcbnew.SHAPE_LINE_CHAIN.IsArcSegment (   self,
  aSegment 
)
IsArcSegment(SHAPE_LINE_CHAIN self, size_t aSegment) -> bool

Definition at line 6482 of file pcbnew.py.

◆ IsArcStart()

def pcbnew.SHAPE_LINE_CHAIN.IsArcStart (   self,
  aIndex 
)
IsArcStart(SHAPE_LINE_CHAIN self, size_t aIndex) -> bool

Definition at line 6486 of file pcbnew.py.

◆ IsPtOnArc()

def pcbnew.SHAPE_LINE_CHAIN.IsPtOnArc (   self,
  aPtIndex 
)
IsPtOnArc(SHAPE_LINE_CHAIN self, size_t aPtIndex) -> bool

Definition at line 6478 of file pcbnew.py.

◆ IsSharedPt()

def pcbnew.SHAPE_LINE_CHAIN.IsSharedPt (   self,
  aIndex 
)
IsSharedPt(SHAPE_LINE_CHAIN self, size_t aIndex) -> bool

Definition at line 6474 of file pcbnew.py.

◆ Length()

def pcbnew.SHAPE_LINE_CHAIN.Length (   self)
Length(SHAPE_LINE_CHAIN self) -> long long

Definition at line 6327 of file pcbnew.py.

◆ Mirror()

def pcbnew.SHAPE_LINE_CHAIN.Mirror (   self,
args 
)
    Mirror(SHAPE_LINE_CHAIN self, bool aX=True, bool aY=False, VECTOR2I aRef={ 0, 0 })
    Mirror(SHAPE_LINE_CHAIN self, SEG axis)

Definition at line 6432 of file pcbnew.py.

Here is the caller graph for this function:

◆ NearestPoint()

def pcbnew.SHAPE_LINE_CHAIN.NearestPoint (   self,
args 
)
    NearestPoint(SHAPE_LINE_CHAIN self, VECTOR2I aP, bool aAllowInternalShapePoints=True) -> VECTOR2I
    NearestPoint(SHAPE_LINE_CHAIN self, SEG aSeg, int & dist) -> VECTOR2I

Definition at line 6413 of file pcbnew.py.

Here is the caller graph for this function:

◆ NearestSegment()

def pcbnew.SHAPE_LINE_CHAIN.NearestSegment (   self,
  aP 
)
NearestSegment(SHAPE_LINE_CHAIN self, VECTOR2I aP) -> int

Definition at line 6409 of file pcbnew.py.

◆ NextShape()

def pcbnew.SHAPE_LINE_CHAIN.NextShape (   self,
  aPointIndex 
)
NextShape(SHAPE_LINE_CHAIN self, int aPointIndex) -> int

Definition at line 6283 of file pcbnew.py.

◆ OffsetLine()

def pcbnew.SHAPE_LINE_CHAIN.OffsetLine (   self,
  aAmount,
  aCornerStrategy,
  aMaxError,
  aLeft,
  aRight,
  aSimplify = False 
)
OffsetLine(SHAPE_LINE_CHAIN self, int aAmount, CORNER_STRATEGY aCornerStrategy, int aMaxError, SHAPE_LINE_CHAIN aLeft, SHAPE_LINE_CHAIN aRight, bool aSimplify=False) -> bool

Definition at line 6458 of file pcbnew.py.

◆ PathLength()

def pcbnew.SHAPE_LINE_CHAIN.PathLength (   self,
  aP,
  aIndex = -1 
)
PathLength(SHAPE_LINE_CHAIN self, VECTOR2I aP, int aIndex=-1) -> int

Definition at line 6393 of file pcbnew.py.

◆ PointAlong()

def pcbnew.SHAPE_LINE_CHAIN.PointAlong (   self,
  aPathLength 
)
PointAlong(SHAPE_LINE_CHAIN self, int aPathLength) -> VECTOR2I

Definition at line 6443 of file pcbnew.py.

◆ PointCount()

def pcbnew.SHAPE_LINE_CHAIN.PointCount (   self)
PointCount(SHAPE_LINE_CHAIN self) -> int

Definition at line 6271 of file pcbnew.py.

◆ Remove()

def pcbnew.SHAPE_LINE_CHAIN.Remove (   self,
args 
)
    Remove(SHAPE_LINE_CHAIN self, int aStartIndex, int aEndIndex)
    Remove(SHAPE_LINE_CHAIN self, int aIndex)

Definition at line 6359 of file pcbnew.py.

Here is the caller graph for this function:

◆ RemoveDuplicatePoints()

def pcbnew.SHAPE_LINE_CHAIN.RemoveDuplicatePoints (   self)
RemoveDuplicatePoints(SHAPE_LINE_CHAIN self)

Definition at line 6263 of file pcbnew.py.

◆ RemoveShape()

def pcbnew.SHAPE_LINE_CHAIN.RemoveShape (   self,
  aPointIndex 
)
RemoveShape(SHAPE_LINE_CHAIN self, int aPointIndex)

Definition at line 6366 of file pcbnew.py.

◆ Replace()

def pcbnew.SHAPE_LINE_CHAIN.Replace (   self,
args 
)
    Replace(SHAPE_LINE_CHAIN self, int aStartIndex, int aEndIndex, VECTOR2I aP)
    Replace(SHAPE_LINE_CHAIN self, int aStartIndex, int aEndIndex, SHAPE_LINE_CHAIN aLine)

Definition at line 6352 of file pcbnew.py.

Here is the caller graph for this function:

◆ ReservePoints()

def pcbnew.SHAPE_LINE_CHAIN.ReservePoints (   self,
  aSize 
)
ReservePoints(SHAPE_LINE_CHAIN self, size_t aSize)

Definition at line 6331 of file pcbnew.py.

◆ Reverse()

def pcbnew.SHAPE_LINE_CHAIN.Reverse (   self)
Reverse(SHAPE_LINE_CHAIN self) -> SHAPE_LINE_CHAIN

Definition at line 6319 of file pcbnew.py.

◆ Rotate()

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

Reimplemented from pcbnew.SHAPE.

Definition at line 6439 of file pcbnew.py.

◆ Segment()

def pcbnew.SHAPE_LINE_CHAIN.Segment (   self,
  aIndex 
)
Segment(SHAPE_LINE_CHAIN self, int aIndex) -> SEG

Definition at line 6275 of file pcbnew.py.

◆ SegmentCount()

def pcbnew.SHAPE_LINE_CHAIN.SegmentCount (   self)
SegmentCount(SHAPE_LINE_CHAIN self) -> int

Definition at line 6255 of file pcbnew.py.

◆ SelfIntersecting()

def pcbnew.SHAPE_LINE_CHAIN.SelfIntersecting (   self)
SelfIntersecting(SHAPE_LINE_CHAIN self) -> std::optional< SHAPE_LINE_CHAIN::INTERSECTION > const

Definition at line 6401 of file pcbnew.py.

◆ SelfIntersectingWithArcs()

def pcbnew.SHAPE_LINE_CHAIN.SelfIntersectingWithArcs (   self)
SelfIntersectingWithArcs(SHAPE_LINE_CHAIN self) -> std::optional< SHAPE_LINE_CHAIN::INTERSECTION > const

Definition at line 6405 of file pcbnew.py.

◆ SetClosed()

def pcbnew.SHAPE_LINE_CHAIN.SetClosed (   self,
  aClosed 
)
SetClosed(SHAPE_LINE_CHAIN self, bool aClosed)

Definition at line 6243 of file pcbnew.py.

◆ SetPoint()

def pcbnew.SHAPE_LINE_CHAIN.SetPoint (   self,
  aIndex,
  aPos 
)
SetPoint(SHAPE_LINE_CHAIN self, int aIndex, VECTOR2I aPos)

Definition at line 6287 of file pcbnew.py.

◆ SetWidth()

def pcbnew.SHAPE_LINE_CHAIN.SetWidth (   self,
  aWidth 
)
SetWidth(SHAPE_LINE_CHAIN self, int aWidth)

Definition at line 6247 of file pcbnew.py.

Here is the caller graph for this function:

◆ ShapeCount()

def pcbnew.SHAPE_LINE_CHAIN.ShapeCount (   self)
ShapeCount(SHAPE_LINE_CHAIN self) -> int

Definition at line 6259 of file pcbnew.py.

◆ Simplify()

def pcbnew.SHAPE_LINE_CHAIN.Simplify (   self,
  aMaxError = 0 
)
Simplify(SHAPE_LINE_CHAIN self, int aMaxError=0)

Definition at line 6267 of file pcbnew.py.

◆ Slice()

def pcbnew.SHAPE_LINE_CHAIN.Slice (   self,
  aStartIndex,
  aEndIndex = -1 
)
Slice(SHAPE_LINE_CHAIN self, int aStartIndex, int aEndIndex=-1) -> SHAPE_LINE_CHAIN

Definition at line 6378 of file pcbnew.py.

◆ Split()

def pcbnew.SHAPE_LINE_CHAIN.Split (   self,
args 
)
    Split(SHAPE_LINE_CHAIN self, VECTOR2I aP, bool aExact=False) -> int
    Split(SHAPE_LINE_CHAIN self, VECTOR2I aStart, VECTOR2I aEnd, SHAPE_LINE_CHAIN aPre, SHAPE_LINE_CHAIN aMid, SHAPE_LINE_CHAIN aPost)

Definition at line 6451 of file pcbnew.py.

Here is the caller graph for this function:

◆ Width()

def pcbnew.SHAPE_LINE_CHAIN.Width (   self)
Width(SHAPE_LINE_CHAIN self) -> int

Definition at line 6251 of file pcbnew.py.

Property Documentation

◆ thisown

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

Definition at line 6199 of file pcbnew.py.


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