KiCad Pcbnew Python Scripting
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)
 
"bool" Collide (self, *args)
 
"SHAPE *" Clone (self)
 
"void" Clear (self)
 
"void" SetClosed (self, "bool" aClosed)
 
"bool" IsClosed (self)
 
"void" SetWidth (self, "int" aWidth)
 
"int" Width (self)
 
"int" SegmentCount (self)
 
"int" ShapeCount (self)
 
"int" PointCount (self)
 
"SEG" Segment (self, "int" aIndex)
 
"SEG const" CSegment (self, "int" aIndex)
 
"int" NextShape (self, "int" aPointIndex, "bool" aForwards=True)
 
"int" PrevShape (self, "int" aPointIndex)
 
"void" SetPoint (self, "int" aIndex, "VECTOR2I" aPos)
 
"VECTOR2I const &" CPoint (self, "int" aIndex)
 
"std::vector< VECTOR2I,std::allocator< VECTOR2I > > const &" CPoints (self)
 
"VECTOR2I const &" CLastPoint (self)
 
"std::vector< SHAPE_ARC,std::allocator< SHAPE_ARC > > const &" CArcs (self)
 
"std::vector< std::pair< ssize_t,ssize_t >,std::allocator< std::pair< ssize_t,ssize_t > > > const &" CShapes (self)
 
"BOX2I const" BBox (self, "int" aClearance=0)
 
"void" GenerateBBoxCache (self)
 
"BOX2I *" GetCachedBBox (self)
 
"int" Distance (self, "VECTOR2I" aP, "bool" aOutlineOnly=False)
 
"SHAPE_LINE_CHAIN const" Reverse (self)
 
"void" ClearArcs (self)
 
"long long" Length (self)
 
"void" Append (self, *args)
 
"void" Insert (self, *args)
 
"void" Replace (self, *args)
 
"void" Remove (self, *args)
 
"void" RemoveShape (self, "int" aPointIndex)
 
"int" Split (self, "VECTOR2I" aP)
 
"int" Find (self, "VECTOR2I" aP, "int" aThreshold=0)
 
"int" FindSegment (self, "VECTOR2I" aP, "int" aThreshold=1)
 
"SHAPE_LINE_CHAIN const" Slice (self, "int" aStartIndex, "int" aEndIndex=-1)
 
"bool" Intersects (self, "SHAPE_LINE_CHAIN" aChain)
 
"int" Intersect (self, *args)
 
"int" PathLength (self, "VECTOR2I" aP, "int" aIndex=-1)
 
"bool" CheckClearance (self, "VECTOR2I" aP, "int const" aDist)
 
"OPT< SHAPE_LINE_CHAIN::INTERSECTION > const" SelfIntersecting (self)
 
"SHAPE_LINE_CHAIN &" Simplify (self, "bool" aRemoveColinear=True)
 
"int" NearestSegment (self, "VECTOR2I" aP)
 
"VECTOR2I const" NearestPoint (self, *args)
 
"std::string const" Format (self)
 
"bool" Parse (self, "std::stringstream &" aStream)
 
"bool" __ne__ (self, "SHAPE_LINE_CHAIN" aRhs)
 
"bool" CompareGeometry (self, "SHAPE_LINE_CHAIN" aOther)
 
"void" Move (self, "VECTOR2I" aVector)
 
"void" Mirror (self, *args)
 
"void" Rotate (self, *args)
 
"bool" IsSolid (self)
 
"VECTOR2I const" PointAlong (self, "int" aPathLength)
 
"double" Area (self, "bool" aAbsolute=True)
 
"size_t" ArcCount (self)
 
"ssize_t" ArcIndex (self, "size_t" aSegment)
 
"SHAPE_ARC const &" Arc (self, "size_t" aArc)
 
"bool" IsSharedPt (self, "size_t" aIndex)
 
"bool" IsPtOnArc (self, "size_t" aPtIndex)
 
"bool" IsArcSegment (self, "size_t" aSegment)
 
"bool" IsArcStart (self, "size_t" aIndex)
 
"bool" IsArcEnd (self, "size_t" aIndex)
 
"VECTOR2I const" GetPoint (self, "int" aIndex)
 
"SEG const" GetSegment (self, "int" aIndex)
 
"size_t" GetPointCount (self)
 
"size_t" GetSegmentCount (self)
 
- Public Member Functions inherited from pcbnew.SHAPE_LINE_CHAIN_BASE
def __init__ (self, *args, **kwargs)
 
"bool" Collide (self, *args)
 
"SEG::ecoord" SquaredDistance (self, "VECTOR2I" aP, "bool" aOutlineOnly=False)
 
"bool" PointInside (self, "VECTOR2I" aPt, "int" aAccuracy=0, "bool" aUseBBoxCache=False)
 
"bool" PointOnEdge (self, "VECTOR2I" aP, "int" aAccuracy=0)
 
"int" EdgeContainingPoint (self, "VECTOR2I" aP, "int" aAccuracy=0)
 
"VECTOR2I const" GetPoint (self, "int" aIndex)
 
"SEG const" GetSegment (self, "int" aIndex)
 
"size_t" GetPointCount (self)
 
"size_t" GetSegmentCount (self)
 
"bool" IsClosed (self)
 
"BOX2I *" GetCachedBBox (self)
 
- Public Member Functions inherited from pcbnew.SHAPE
def __init__ (self, *args, **kwargs)
 
"SHAPE *" Clone (self)
 
"bool" IsNull (self)
 
"bool" Collide (self, *args)
 
"BOX2I const" BBox (self, "int" aClearance=0)
 
"VECTOR2I" Centre (self)
 
"void" Rotate (self, *args)
 
"void" Move (self, "VECTOR2I" aVector)
 
"bool" IsSolid (self)
 
"bool" Parse (self, "std::stringstream &" aStream)
 
"std::string const" Format (self)
 
- Public Member Functions inherited from pcbnew.SHAPE_BASE
def __init__ (self, "SHAPE_TYPE" aType)
 
"SHAPE_TYPE" Type (self)
 
"wxString" TypeName (self)
 
"bool" HasIndexableSubshapes (self)
 
"size_t" GetIndexableSubshapeCount (self)
 
"void" GetIndexableSubshapes (self, "std::vector< SHAPE *,std::allocator< SHAPE * > > &" 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_LINE_CHAIN_BASE
 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 class.

Definition at line 4693 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, wxPoint_Vector aV, bool aClosed=False) -> SHAPE_LINE_CHAIN
    __init__(SHAPE_LINE_CHAIN self, VECTOR_VECTOR2I aV, bool aClosed=False) -> SHAPE_LINE_CHAIN
    __init__(SHAPE_LINE_CHAIN self, SHAPE_ARC const & 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

Reimplemented from pcbnew.SHAPE_LINE_CHAIN_BASE.

Definition at line 4699 of file pcbnew.py.

Here is the caller graph for this function:

Member Function Documentation

◆ __ne__()

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

Definition at line 4919 of file pcbnew.py.

◆ Append()

"void" 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 const & aArc)

Definition at line 4823 of file pcbnew.py.

Here is the caller graph for this function:

◆ Arc()

"SHAPE_ARC const &" pcbnew.SHAPE_LINE_CHAIN.Arc (   self,
"size_t"  aArc 
)
Arc(SHAPE_LINE_CHAIN self, size_t aArc) -> SHAPE_ARC const &

Definition at line 4962 of file pcbnew.py.

Here is the caller graph for this function:

◆ ArcCount()

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

Definition at line 4954 of file pcbnew.py.

◆ ArcIndex()

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

Definition at line 4958 of file pcbnew.py.

◆ Area()

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

Definition at line 4950 of file pcbnew.py.

◆ BBox()

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

Reimplemented from pcbnew.SHAPE.

Definition at line 4795 of file pcbnew.py.

◆ CArcs()

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

Definition at line 4787 of file pcbnew.py.

◆ CheckClearance()

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

Definition at line 4888 of file pcbnew.py.

◆ CLastPoint()

"VECTOR2I const &" pcbnew.SHAPE_LINE_CHAIN.CLastPoint (   self)
CLastPoint(SHAPE_LINE_CHAIN self) -> VECTOR2I

Definition at line 4783 of file pcbnew.py.

◆ Clear()

"void" pcbnew.SHAPE_LINE_CHAIN.Clear (   self)
Clear(SHAPE_LINE_CHAIN self)

Definition at line 4723 of file pcbnew.py.

◆ ClearArcs()

"void" pcbnew.SHAPE_LINE_CHAIN.ClearArcs (   self)
ClearArcs(SHAPE_LINE_CHAIN self)

Definition at line 4815 of file pcbnew.py.

◆ Clone()

"SHAPE *" pcbnew.SHAPE_LINE_CHAIN.Clone (   self)
Clone(SHAPE_LINE_CHAIN self) -> SHAPE

Reimplemented from pcbnew.SHAPE.

Definition at line 4719 of file pcbnew.py.

Here is the caller graph for this function:

◆ Collide()

"bool" 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 const & aSeg, int aClearance=0, int * aActual=None, VECTOR2I aLocation=None) -> bool

Reimplemented from pcbnew.SHAPE_LINE_CHAIN_BASE.

Definition at line 4712 of file pcbnew.py.

Here is the caller graph for this function:

◆ CompareGeometry()

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

Definition at line 4923 of file pcbnew.py.

◆ CPoint()

"VECTOR2I const &" pcbnew.SHAPE_LINE_CHAIN.CPoint (   self,
"int"  aIndex 
)
CPoint(SHAPE_LINE_CHAIN self, int aIndex) -> VECTOR2I

Definition at line 4775 of file pcbnew.py.

◆ CPoints()

"std.vector< VECTOR2I,std.allocator< VECTOR2I > > const &" pcbnew.SHAPE_LINE_CHAIN.CPoints (   self)
CPoints(SHAPE_LINE_CHAIN self) -> VECTOR_VECTOR2I

Definition at line 4779 of file pcbnew.py.

◆ CSegment()

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

Definition at line 4759 of file pcbnew.py.

◆ CShapes()

"std.vector< std.pair< ssize_t,ssize_t >,std.allocator< std.pair< ssize_t,ssize_t > > > const &" 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 4791 of file pcbnew.py.

◆ Distance()

"int" pcbnew.SHAPE_LINE_CHAIN.Distance (   self,
"VECTOR2I"  aP,
"bool"  aOutlineOnly = False 
)
Distance(SHAPE_LINE_CHAIN self, VECTOR2I aP, bool aOutlineOnly=False) -> int

Definition at line 4807 of file pcbnew.py.

◆ Find()

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

Definition at line 4861 of file pcbnew.py.

◆ FindSegment()

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

Definition at line 4865 of file pcbnew.py.

◆ Format()

"std.string const" pcbnew.SHAPE_LINE_CHAIN.Format (   self)
Format(SHAPE_LINE_CHAIN self) -> string

Reimplemented from pcbnew.SHAPE.

Definition at line 4911 of file pcbnew.py.

◆ GenerateBBoxCache()

"void" pcbnew.SHAPE_LINE_CHAIN.GenerateBBoxCache (   self)
GenerateBBoxCache(SHAPE_LINE_CHAIN self)

Definition at line 4799 of file pcbnew.py.

◆ GetCachedBBox()

"BOX2I *" pcbnew.SHAPE_LINE_CHAIN.GetCachedBBox (   self)
GetCachedBBox(SHAPE_LINE_CHAIN self) -> BOX2I *

Reimplemented from pcbnew.SHAPE_LINE_CHAIN_BASE.

Definition at line 4803 of file pcbnew.py.

◆ GetPoint()

"VECTOR2I const" pcbnew.SHAPE_LINE_CHAIN.GetPoint (   self,
"int"  aIndex 
)
GetPoint(SHAPE_LINE_CHAIN self, int aIndex) -> VECTOR2I

Reimplemented from pcbnew.SHAPE_LINE_CHAIN_BASE.

Definition at line 4986 of file pcbnew.py.

◆ GetPointCount()

"size_t" pcbnew.SHAPE_LINE_CHAIN.GetPointCount (   self)
GetPointCount(SHAPE_LINE_CHAIN self) -> size_t

Reimplemented from pcbnew.SHAPE_LINE_CHAIN_BASE.

Definition at line 4994 of file pcbnew.py.

◆ GetSegment()

"SEG const" pcbnew.SHAPE_LINE_CHAIN.GetSegment (   self,
"int"  aIndex 
)
GetSegment(SHAPE_LINE_CHAIN self, int aIndex) -> SEG const

Reimplemented from pcbnew.SHAPE_LINE_CHAIN_BASE.

Definition at line 4990 of file pcbnew.py.

◆ GetSegmentCount()

"size_t" pcbnew.SHAPE_LINE_CHAIN.GetSegmentCount (   self)
GetSegmentCount(SHAPE_LINE_CHAIN self) -> size_t

Reimplemented from pcbnew.SHAPE_LINE_CHAIN_BASE.

Definition at line 4998 of file pcbnew.py.

◆ Insert()

"void" 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 const & aArc)

Definition at line 4832 of file pcbnew.py.

Here is the caller graph for this function:

◆ Intersect()

"int" pcbnew.SHAPE_LINE_CHAIN.Intersect (   self,
args 
)
    Intersect(SHAPE_LINE_CHAIN self, SEG const & aSeg, SHAPE_LINE_CHAIN::INTERSECTIONS & aIp) -> int
    Intersect(SHAPE_LINE_CHAIN self, SHAPE_LINE_CHAIN aChain, SHAPE_LINE_CHAIN::INTERSECTIONS & aIp, bool aExcludeColinearAndTouching=False) -> int

Definition at line 4877 of file pcbnew.py.

Here is the caller graph for this function:

◆ Intersects()

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

Definition at line 4873 of file pcbnew.py.

◆ IsArcEnd()

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

Definition at line 4982 of file pcbnew.py.

◆ IsArcSegment()

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

Definition at line 4974 of file pcbnew.py.

◆ IsArcStart()

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

Definition at line 4978 of file pcbnew.py.

◆ IsClosed()

"bool" pcbnew.SHAPE_LINE_CHAIN.IsClosed (   self)
IsClosed(SHAPE_LINE_CHAIN self) -> bool

Reimplemented from pcbnew.SHAPE_LINE_CHAIN_BASE.

Definition at line 4731 of file pcbnew.py.

◆ IsPtOnArc()

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

Definition at line 4970 of file pcbnew.py.

◆ IsSharedPt()

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

Definition at line 4966 of file pcbnew.py.

◆ IsSolid()

"bool" pcbnew.SHAPE_LINE_CHAIN.IsSolid (   self)
IsSolid(SHAPE_LINE_CHAIN self) -> bool

Reimplemented from pcbnew.SHAPE.

Definition at line 4942 of file pcbnew.py.

◆ Length()

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

Definition at line 4819 of file pcbnew.py.

◆ Mirror()

"void" 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 const & axis)

Definition at line 4931 of file pcbnew.py.

Here is the caller graph for this function:

◆ Move()

"void" pcbnew.SHAPE_LINE_CHAIN.Move (   self,
"VECTOR2I"  aVector 
)
Move(SHAPE_LINE_CHAIN self, VECTOR2I aVector)

Reimplemented from pcbnew.SHAPE.

Definition at line 4927 of file pcbnew.py.

◆ NearestPoint()

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

Definition at line 4904 of file pcbnew.py.

Here is the caller graph for this function:

◆ NearestSegment()

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

Definition at line 4900 of file pcbnew.py.

◆ NextShape()

"int" pcbnew.SHAPE_LINE_CHAIN.NextShape (   self,
"int"  aPointIndex,
"bool"  aForwards = True 
)
NextShape(SHAPE_LINE_CHAIN self, int aPointIndex, bool aForwards=True) -> int

Definition at line 4763 of file pcbnew.py.

◆ Parse()

"bool" pcbnew.SHAPE_LINE_CHAIN.Parse (   self,
"std::stringstream &"  aStream 
)
Parse(SHAPE_LINE_CHAIN self, std::stringstream & aStream) -> bool

Reimplemented from pcbnew.SHAPE.

Definition at line 4915 of file pcbnew.py.

◆ PathLength()

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

Definition at line 4884 of file pcbnew.py.

◆ PointAlong()

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

Definition at line 4946 of file pcbnew.py.

◆ PointCount()

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

Definition at line 4751 of file pcbnew.py.

◆ PrevShape()

"int" pcbnew.SHAPE_LINE_CHAIN.PrevShape (   self,
"int"  aPointIndex 
)
PrevShape(SHAPE_LINE_CHAIN self, int aPointIndex) -> int

Definition at line 4767 of file pcbnew.py.

◆ Remove()

"void" 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 4846 of file pcbnew.py.

Here is the caller graph for this function:

◆ RemoveShape()

"void" pcbnew.SHAPE_LINE_CHAIN.RemoveShape (   self,
"int"  aPointIndex 
)
RemoveShape(SHAPE_LINE_CHAIN self, int aPointIndex)

Definition at line 4853 of file pcbnew.py.

◆ Replace()

"void" 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 4839 of file pcbnew.py.

Here is the caller graph for this function:

◆ Reverse()

"SHAPE_LINE_CHAIN const" pcbnew.SHAPE_LINE_CHAIN.Reverse (   self)
Reverse(SHAPE_LINE_CHAIN self) -> SHAPE_LINE_CHAIN

Definition at line 4811 of file pcbnew.py.

◆ Rotate()

"void" pcbnew.SHAPE_LINE_CHAIN.Rotate (   self,
args 
)
Rotate(SHAPE_LINE_CHAIN self, double aAngle, VECTOR2I aCenter=VECTOR2I( 0, 0 ))

Reimplemented from pcbnew.SHAPE.

Definition at line 4938 of file pcbnew.py.

◆ Segment()

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

Definition at line 4755 of file pcbnew.py.

◆ SegmentCount()

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

Definition at line 4743 of file pcbnew.py.

◆ SelfIntersecting()

"OPT< SHAPE_LINE_CHAIN.INTERSECTION > const" pcbnew.SHAPE_LINE_CHAIN.SelfIntersecting (   self)
SelfIntersecting(SHAPE_LINE_CHAIN self) -> OPT< SHAPE_LINE_CHAIN::INTERSECTION > const

Definition at line 4892 of file pcbnew.py.

◆ SetClosed()

"void" pcbnew.SHAPE_LINE_CHAIN.SetClosed (   self,
"bool"  aClosed 
)
SetClosed(SHAPE_LINE_CHAIN self, bool aClosed)

Definition at line 4727 of file pcbnew.py.

◆ SetPoint()

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

Definition at line 4771 of file pcbnew.py.

◆ SetWidth()

"void" pcbnew.SHAPE_LINE_CHAIN.SetWidth (   self,
"int"  aWidth 
)
SetWidth(SHAPE_LINE_CHAIN self, int aWidth)

Definition at line 4735 of file pcbnew.py.

Here is the caller graph for this function:

◆ ShapeCount()

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

Definition at line 4747 of file pcbnew.py.

◆ Simplify()

"SHAPE_LINE_CHAIN &" pcbnew.SHAPE_LINE_CHAIN.Simplify (   self,
"bool"  aRemoveColinear = True 
)
Simplify(SHAPE_LINE_CHAIN self, bool aRemoveColinear=True) -> SHAPE_LINE_CHAIN

Definition at line 4896 of file pcbnew.py.

◆ Slice()

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

Definition at line 4869 of file pcbnew.py.

◆ Split()

"int" pcbnew.SHAPE_LINE_CHAIN.Split (   self,
"VECTOR2I"  aP 
)
Split(SHAPE_LINE_CHAIN self, VECTOR2I aP) -> int

Definition at line 4857 of file pcbnew.py.

◆ Width()

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

Definition at line 4739 of file pcbnew.py.

Property Documentation

◆ thisown

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


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