KiCAD pcbnew scripting
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
pcbnew.SHAPE_POLY_SET Class Reference
Inheritance diagram for pcbnew.SHAPE_POLY_SET:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self, args)
 
def GetRelativeIndices (self, aGlobalIdx, aRelativeIndices)
 
def GetGlobalIndex (self, aRelativeIndices, aGlobalIdx)
 
def Clone (self)
 
def NewOutline (self)
 
def NewHole (self, aOutline=-1)
 
def AddOutline (self, aOutline)
 
def AddHole (self, aHole, aOutline=-1)
 
def Append (self, args)
 
def InsertVertex (self, aGlobalIndex, aNewVertex)
 
def Vertex (self, args)
 
def CVertex (self, args)
 
def GetNeighbourIndexes (self, aGlobalIndex, aPrevious, aNext)
 
def IsPolygonSelfIntersecting (self, aPolygonIndex)
 
def IsSelfIntersecting (self)
 
def OutlineCount (self)
 
def VertexCount (self, aOutline=-1, aHole=-1)
 
def HoleCount (self, aOutline)
 
def Outline (self, aIndex)
 
def Subset (self, aFirstPolygon, aLastPolygon)
 
def UnitSet (self, aPolygonIndex)
 
def Hole (self, aOutline, aHole)
 
def Polygon (self, args)
 
def TriangulatedPolygon (self, aIndex)
 
def COutline (self, aIndex)
 
def CHole (self, aOutline, aHole)
 
def CPolygon (self, aIndex)
 
def Iterate (self, args)
 
def IterateWithHoles (self, args)
 
def CIterate (self, args)
 
def CIterateWithHoles (self, args)
 
def IterateFromVertexWithHoles (self, aGlobalIdx)
 
def IterateSegments (self, args)
 
def IterateSegmentsWithHoles (self, args)
 
def BooleanAdd (self, args)
 
def BooleanSubtract (self, args)
 
def BooleanIntersection (self, args)
 
def Inflate (self, aFactor, aCircleSegmentsCount)
 
def Fracture (self, aFastMode)
 
def Unfracture (self, aFastMode)
 
def HasHoles (self)
 
def HasTouchingHoles (self)
 
def Simplify (self, aFastMode)
 
def NormalizeAreaOutlines (self)
 
def Format (self)
 
def Parse (self, aStream)
 
def Move (self, aVector)
 
def Rotate (self, aAngle, aCenter)
 
def IsSolid (self)
 
def BBox (self, aClearance=0)
 
def PointOnEdge (self, aP)
 
def Collide (self, args)
 
def CollideVertex (self, aPoint, aClosestVertex, aClearance=0)
 
def CollideEdge (self, aPoint, aClosestVertex, aClearance=0)
 
def Contains (self, aP, aSubpolyIndex=-1)
 
def IsEmpty (self)
 
def RemoveVertex (self, args)
 
def RemoveAllContours (self)
 
def RemoveContour (self, aContourIdx, aPolygonIdx=-1)
 
def RemoveNullSegments (self)
 
def TotalVertices (self)
 
def DeletePolygon (self, aIdx)
 
def ChamferPolygon (self, aDistance, aIndex=0)
 
def FilletPolygon (self, aRadius, aSegments, aIndex=0)
 
def Chamfer (self, aDistance)
 
def Fillet (self, aRadius, aSegments)
 
def DistanceToPolygon (self, args)
 
def Distance (self, args)
 
def IsVertexInHole (self, aGlobalIdx)
 
def CacheTriangulation (self)
 
def IsTriangulationUpToDate (self)
 
- Public Member Functions inherited from pcbnew.SHAPE
def __init__ (self, args, kwargs)
 
def Type (self)
 
def Clone (self)
 
def Collide (self, args)
 
def BBox (self, aClearance=0)
 
def Centre (self)
 
def Move (self, aVector)
 
def IsSolid (self)
 
def Parse (self, aStream)
 
def Format (self)
 

Public Attributes

 this
 

Static Public Attributes

 PM_FAST = _pcbnew.SHAPE_POLY_SET_PM_FAST
 
 PM_STRICTLY_SIMPLE = _pcbnew.SHAPE_POLY_SET_PM_STRICTLY_SIMPLE
 

Detailed Description

Proxy of C++ SHAPE_POLY_SET class.

Definition at line 4586 of file pcbnew.py.

Constructor & Destructor Documentation

def pcbnew.SHAPE_POLY_SET.__init__ (   self,
  args 
)
__init__(SHAPE_POLY_SET self) -> SHAPE_POLY_SET
__init__(SHAPE_POLY_SET self, SHAPE_POLY_SET aOther) -> SHAPE_POLY_SET

Definition at line 4599 of file pcbnew.py.

Member Function Documentation

def pcbnew.SHAPE_POLY_SET.AddHole (   self,
  aHole,
  aOutline = -1 
)
AddHole(SHAPE_POLY_SET self, SHAPE_LINE_CHAIN const & aHole, int aOutline=-1) -> int
AddHole(SHAPE_POLY_SET self, SHAPE_LINE_CHAIN const & aHole) -> int

Definition at line 4645 of file pcbnew.py.

def pcbnew.SHAPE_POLY_SET.AddOutline (   self,
  aOutline 
)
AddOutline(SHAPE_POLY_SET self, SHAPE_LINE_CHAIN const & aOutline) -> int

Definition at line 4640 of file pcbnew.py.

def pcbnew.SHAPE_POLY_SET.Append (   self,
  args 
)
Append(SHAPE_POLY_SET self, int x, int y, int aOutline=-1, int aHole=-1, bool aAllowDuplication=False) -> int
Append(SHAPE_POLY_SET self, int x, int y, int aOutline=-1, int aHole=-1) -> int
Append(SHAPE_POLY_SET self, int x, int y, int aOutline=-1) -> int
Append(SHAPE_POLY_SET self, int x, int y) -> int
Append(SHAPE_POLY_SET self, SHAPE_POLY_SET aSet)
Append(SHAPE_POLY_SET self, VECTOR2I const & aP, int aOutline=-1, int aHole=-1)
Append(SHAPE_POLY_SET self, VECTOR2I const & aP, int aOutline=-1)
Append(SHAPE_POLY_SET self, VECTOR2I const & aP)

Definition at line 4653 of file pcbnew.py.

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

Definition at line 4917 of file pcbnew.py.

def pcbnew.SHAPE_POLY_SET.BooleanAdd (   self,
  args 
)
BooleanAdd(SHAPE_POLY_SET self, SHAPE_POLY_SET b, SHAPE_POLY_SET::POLYGON_MODE aFastMode)
BooleanAdd(SHAPE_POLY_SET self, SHAPE_POLY_SET a, SHAPE_POLY_SET b, SHAPE_POLY_SET::POLYGON_MODE aFastMode)

Definition at line 4833 of file pcbnew.py.

def pcbnew.SHAPE_POLY_SET.BooleanIntersection (   self,
  args 
)
BooleanIntersection(SHAPE_POLY_SET self, SHAPE_POLY_SET b, SHAPE_POLY_SET::POLYGON_MODE aFastMode)
BooleanIntersection(SHAPE_POLY_SET self, SHAPE_POLY_SET a, SHAPE_POLY_SET b, SHAPE_POLY_SET::POLYGON_MODE aFastMode)

Definition at line 4849 of file pcbnew.py.

def pcbnew.SHAPE_POLY_SET.BooleanSubtract (   self,
  args 
)
BooleanSubtract(SHAPE_POLY_SET self, SHAPE_POLY_SET b, SHAPE_POLY_SET::POLYGON_MODE aFastMode)
BooleanSubtract(SHAPE_POLY_SET self, SHAPE_POLY_SET a, SHAPE_POLY_SET b, SHAPE_POLY_SET::POLYGON_MODE aFastMode)

Definition at line 4841 of file pcbnew.py.

def pcbnew.SHAPE_POLY_SET.CacheTriangulation (   self)
CacheTriangulation(SHAPE_POLY_SET self)

Definition at line 5054 of file pcbnew.py.

def pcbnew.SHAPE_POLY_SET.Chamfer (   self,
  aDistance 
)
Chamfer(SHAPE_POLY_SET self, int aDistance) -> SHAPE_POLY_SET

Definition at line 5021 of file pcbnew.py.

def pcbnew.SHAPE_POLY_SET.ChamferPolygon (   self,
  aDistance,
  aIndex = 0 
)
ChamferPolygon(SHAPE_POLY_SET self, unsigned int aDistance, int aIndex=0) -> SHAPE_POLY_SET::POLYGON
ChamferPolygon(SHAPE_POLY_SET self, unsigned int aDistance) -> SHAPE_POLY_SET::POLYGON

Definition at line 5005 of file pcbnew.py.

def pcbnew.SHAPE_POLY_SET.CHole (   self,
  aOutline,
  aHole 
)
CHole(SHAPE_POLY_SET self, int aOutline, int aHole) -> SHAPE_LINE_CHAIN const &

Definition at line 4762 of file pcbnew.py.

def pcbnew.SHAPE_POLY_SET.CIterate (   self,
  args 
)
CIterate(SHAPE_POLY_SET self, int aFirst, int aLast, bool aIterateHoles=False) -> SHAPE_POLY_SET::CONST_ITERATOR
CIterate(SHAPE_POLY_SET self, int aFirst, int aLast) -> SHAPE_POLY_SET::CONST_ITERATOR
CIterate(SHAPE_POLY_SET self, int aOutline) -> SHAPE_POLY_SET::CONST_ITERATOR
CIterate(SHAPE_POLY_SET self) -> SHAPE_POLY_SET::CONST_ITERATOR

Definition at line 4790 of file pcbnew.py.

def pcbnew.SHAPE_POLY_SET.CIterateWithHoles (   self,
  args 
)
CIterateWithHoles(SHAPE_POLY_SET self, int aOutline) -> SHAPE_POLY_SET::CONST_ITERATOR
CIterateWithHoles(SHAPE_POLY_SET self) -> SHAPE_POLY_SET::CONST_ITERATOR

Definition at line 4800 of file pcbnew.py.

def pcbnew.SHAPE_POLY_SET.Clone (   self)
Clone(SHAPE_POLY_SET self) -> SHAPE

Definition at line 4622 of file pcbnew.py.

def pcbnew.SHAPE_POLY_SET.Collide (   self,
  args 
)
Collide(SHAPE_POLY_SET self, VECTOR2I const & aP, int aClearance=0) -> bool
Collide(SHAPE_POLY_SET self, VECTOR2I const & aP) -> bool
Collide(SHAPE_POLY_SET self, SEG const & aSeg, int aClearance=0) -> bool
Collide(SHAPE_POLY_SET self, SEG const & aSeg) -> bool

Definition at line 4930 of file pcbnew.py.

def pcbnew.SHAPE_POLY_SET.CollideEdge (   self,
  aPoint,
  aClosestVertex,
  aClearance = 0 
)
CollideEdge(SHAPE_POLY_SET self, VECTOR2I const & aPoint, SHAPE_POLY_SET::VERTEX_INDEX & aClosestVertex, int aClearance=0) -> bool
CollideEdge(SHAPE_POLY_SET self, VECTOR2I const & aPoint, SHAPE_POLY_SET::VERTEX_INDEX & aClosestVertex) -> bool

Definition at line 4948 of file pcbnew.py.

def pcbnew.SHAPE_POLY_SET.CollideVertex (   self,
  aPoint,
  aClosestVertex,
  aClearance = 0 
)
CollideVertex(SHAPE_POLY_SET self, VECTOR2I const & aPoint, SHAPE_POLY_SET::VERTEX_INDEX & aClosestVertex, int aClearance=0) -> bool
CollideVertex(SHAPE_POLY_SET self, VECTOR2I const & aPoint, SHAPE_POLY_SET::VERTEX_INDEX & aClosestVertex) -> bool

Definition at line 4940 of file pcbnew.py.

def pcbnew.SHAPE_POLY_SET.Contains (   self,
  aP,
  aSubpolyIndex = -1 
)
Contains(SHAPE_POLY_SET self, VECTOR2I const & aP, int aSubpolyIndex=-1) -> bool
Contains(SHAPE_POLY_SET self, VECTOR2I const & aP) -> bool

Definition at line 4956 of file pcbnew.py.

def pcbnew.SHAPE_POLY_SET.COutline (   self,
  aIndex 
)
COutline(SHAPE_POLY_SET self, int aIndex) -> SHAPE_LINE_CHAIN const &

Definition at line 4757 of file pcbnew.py.

def pcbnew.SHAPE_POLY_SET.CPolygon (   self,
  aIndex 
)
CPolygon(SHAPE_POLY_SET self, int aIndex) -> SHAPE_POLY_SET::POLYGON const &

Definition at line 4767 of file pcbnew.py.

def pcbnew.SHAPE_POLY_SET.CVertex (   self,
  args 
)
CVertex(SHAPE_POLY_SET self, int aIndex, int aOutline, int aHole) -> VECTOR2I const
CVertex(SHAPE_POLY_SET self, int aGlobalIndex) -> VECTOR2I const
CVertex(SHAPE_POLY_SET self, SHAPE_POLY_SET::VERTEX_INDEX aIndex) -> VECTOR2I const &

Definition at line 4681 of file pcbnew.py.

def pcbnew.SHAPE_POLY_SET.DeletePolygon (   self,
  aIdx 
)
DeletePolygon(SHAPE_POLY_SET self, int aIdx)

Definition at line 5000 of file pcbnew.py.

def pcbnew.SHAPE_POLY_SET.Distance (   self,
  args 
)
Distance(SHAPE_POLY_SET self, VECTOR2I aPoint) -> int
Distance(SHAPE_POLY_SET self, SEG const & aSegment, int aSegmentWidth=0) -> int
Distance(SHAPE_POLY_SET self, SEG const & aSegment) -> int

Definition at line 5040 of file pcbnew.py.

def pcbnew.SHAPE_POLY_SET.DistanceToPolygon (   self,
  args 
)
DistanceToPolygon(SHAPE_POLY_SET self, VECTOR2I aPoint, int aIndex) -> int
DistanceToPolygon(SHAPE_POLY_SET self, SEG aSegment, int aIndex, int aSegmentWidth=0) -> int
DistanceToPolygon(SHAPE_POLY_SET self, SEG aSegment, int aIndex) -> int

Definition at line 5031 of file pcbnew.py.

def pcbnew.SHAPE_POLY_SET.Fillet (   self,
  aRadius,
  aSegments 
)
Fillet(SHAPE_POLY_SET self, int aRadius, int aSegments) -> SHAPE_POLY_SET

Definition at line 5026 of file pcbnew.py.

def pcbnew.SHAPE_POLY_SET.FilletPolygon (   self,
  aRadius,
  aSegments,
  aIndex = 0 
)
FilletPolygon(SHAPE_POLY_SET self, unsigned int aRadius, unsigned int aSegments, int aIndex=0) -> SHAPE_POLY_SET::POLYGON
FilletPolygon(SHAPE_POLY_SET self, unsigned int aRadius, unsigned int aSegments) -> SHAPE_POLY_SET::POLYGON

Definition at line 5013 of file pcbnew.py.

def pcbnew.SHAPE_POLY_SET.Format (   self)
Format(SHAPE_POLY_SET self) -> string

Definition at line 4892 of file pcbnew.py.

def pcbnew.SHAPE_POLY_SET.Fracture (   self,
  aFastMode 
)
Fracture(SHAPE_POLY_SET self, SHAPE_POLY_SET::POLYGON_MODE aFastMode)

Definition at line 4862 of file pcbnew.py.

def pcbnew.SHAPE_POLY_SET.GetGlobalIndex (   self,
  aRelativeIndices,
  aGlobalIdx 
)
GetGlobalIndex(SHAPE_POLY_SET self, SHAPE_POLY_SET::VERTEX_INDEX aRelativeIndices, int & aGlobalIdx) -> bool

Definition at line 4617 of file pcbnew.py.

def pcbnew.SHAPE_POLY_SET.GetNeighbourIndexes (   self,
  aGlobalIndex,
  aPrevious,
  aNext 
)
GetNeighbourIndexes(SHAPE_POLY_SET self, int aGlobalIndex, int * aPrevious, int * aNext) -> bool

Definition at line 4690 of file pcbnew.py.

def pcbnew.SHAPE_POLY_SET.GetRelativeIndices (   self,
  aGlobalIdx,
  aRelativeIndices 
)
GetRelativeIndices(SHAPE_POLY_SET self, int aGlobalIdx, SHAPE_POLY_SET::VERTEX_INDEX * aRelativeIndices) -> bool

Definition at line 4612 of file pcbnew.py.

def pcbnew.SHAPE_POLY_SET.HasHoles (   self)
HasHoles(SHAPE_POLY_SET self) -> bool

Definition at line 4872 of file pcbnew.py.

def pcbnew.SHAPE_POLY_SET.HasTouchingHoles (   self)
HasTouchingHoles(SHAPE_POLY_SET self) -> bool

Definition at line 4877 of file pcbnew.py.

def pcbnew.SHAPE_POLY_SET.Hole (   self,
  aOutline,
  aHole 
)
Hole(SHAPE_POLY_SET self, int aOutline, int aHole) -> SHAPE_LINE_CHAIN &

Definition at line 4739 of file pcbnew.py.

def pcbnew.SHAPE_POLY_SET.HoleCount (   self,
  aOutline 
)
HoleCount(SHAPE_POLY_SET self, int aOutline) -> int

Definition at line 4719 of file pcbnew.py.

def pcbnew.SHAPE_POLY_SET.Inflate (   self,
  aFactor,
  aCircleSegmentsCount 
)
Inflate(SHAPE_POLY_SET self, int aFactor, int aCircleSegmentsCount)

Definition at line 4857 of file pcbnew.py.

def pcbnew.SHAPE_POLY_SET.InsertVertex (   self,
  aGlobalIndex,
  aNewVertex 
)
InsertVertex(SHAPE_POLY_SET self, int aGlobalIndex, VECTOR2I aNewVertex)

Definition at line 4667 of file pcbnew.py.

def pcbnew.SHAPE_POLY_SET.IsEmpty (   self)
IsEmpty(SHAPE_POLY_SET self) -> bool

Definition at line 4964 of file pcbnew.py.

def pcbnew.SHAPE_POLY_SET.IsPolygonSelfIntersecting (   self,
  aPolygonIndex 
)
IsPolygonSelfIntersecting(SHAPE_POLY_SET self, int aPolygonIndex) -> bool

Definition at line 4695 of file pcbnew.py.

def pcbnew.SHAPE_POLY_SET.IsSelfIntersecting (   self)
IsSelfIntersecting(SHAPE_POLY_SET self) -> bool

Definition at line 4700 of file pcbnew.py.

def pcbnew.SHAPE_POLY_SET.IsSolid (   self)
IsSolid(SHAPE_POLY_SET self) -> bool

Definition at line 4912 of file pcbnew.py.

def pcbnew.SHAPE_POLY_SET.IsTriangulationUpToDate (   self)
IsTriangulationUpToDate(SHAPE_POLY_SET self) -> bool

Definition at line 5059 of file pcbnew.py.

def pcbnew.SHAPE_POLY_SET.IsVertexInHole (   self,
  aGlobalIdx 
)
IsVertexInHole(SHAPE_POLY_SET self, int aGlobalIdx) -> bool

Definition at line 5049 of file pcbnew.py.

def pcbnew.SHAPE_POLY_SET.Iterate (   self,
  args 
)
Iterate(SHAPE_POLY_SET self, int aFirst, int aLast, bool aIterateHoles=False) -> SHAPE_POLY_SET::ITERATOR
Iterate(SHAPE_POLY_SET self, int aFirst, int aLast) -> SHAPE_POLY_SET::ITERATOR
Iterate(SHAPE_POLY_SET self, int aOutline) -> SHAPE_POLY_SET::ITERATOR
Iterate(SHAPE_POLY_SET self) -> SHAPE_POLY_SET::ITERATOR

Definition at line 4772 of file pcbnew.py.

def pcbnew.SHAPE_POLY_SET.IterateFromVertexWithHoles (   self,
  aGlobalIdx 
)
IterateFromVertexWithHoles(SHAPE_POLY_SET self, int aGlobalIdx) -> SHAPE_POLY_SET::ITERATOR

Definition at line 4808 of file pcbnew.py.

def pcbnew.SHAPE_POLY_SET.IterateSegments (   self,
  args 
)
IterateSegments(SHAPE_POLY_SET self, int aFirst, int aLast, bool aIterateHoles=False) -> SHAPE_POLY_SET::SEGMENT_ITERATOR
IterateSegments(SHAPE_POLY_SET self, int aFirst, int aLast) -> SHAPE_POLY_SET::SEGMENT_ITERATOR
IterateSegments(SHAPE_POLY_SET self, int aPolygonIdx) -> SHAPE_POLY_SET::SEGMENT_ITERATOR
IterateSegments(SHAPE_POLY_SET self) -> SHAPE_POLY_SET::SEGMENT_ITERATOR

Definition at line 4813 of file pcbnew.py.

def pcbnew.SHAPE_POLY_SET.IterateSegmentsWithHoles (   self,
  args 
)
IterateSegmentsWithHoles(SHAPE_POLY_SET self) -> SHAPE_POLY_SET::SEGMENT_ITERATOR
IterateSegmentsWithHoles(SHAPE_POLY_SET self, int aOutline) -> SHAPE_POLY_SET::SEGMENT_ITERATOR

Definition at line 4823 of file pcbnew.py.

def pcbnew.SHAPE_POLY_SET.IterateWithHoles (   self,
  args 
)
IterateWithHoles(SHAPE_POLY_SET self, int aOutline) -> SHAPE_POLY_SET::ITERATOR
IterateWithHoles(SHAPE_POLY_SET self) -> SHAPE_POLY_SET::ITERATOR

Definition at line 4782 of file pcbnew.py.

def pcbnew.SHAPE_POLY_SET.Move (   self,
  aVector 
)
Move(SHAPE_POLY_SET self, VECTOR2I const & aVector)

Definition at line 4902 of file pcbnew.py.

def pcbnew.SHAPE_POLY_SET.NewHole (   self,
  aOutline = -1 
)
NewHole(SHAPE_POLY_SET self, int aOutline=-1) -> int
NewHole(SHAPE_POLY_SET self) -> int

Definition at line 4632 of file pcbnew.py.

def pcbnew.SHAPE_POLY_SET.NewOutline (   self)
NewOutline(SHAPE_POLY_SET self) -> int

Definition at line 4627 of file pcbnew.py.

def pcbnew.SHAPE_POLY_SET.NormalizeAreaOutlines (   self)
NormalizeAreaOutlines(SHAPE_POLY_SET self) -> int

Definition at line 4887 of file pcbnew.py.

def pcbnew.SHAPE_POLY_SET.Outline (   self,
  aIndex 
)
Outline(SHAPE_POLY_SET self, int aIndex) -> SHAPE_LINE_CHAIN &

Definition at line 4724 of file pcbnew.py.

def pcbnew.SHAPE_POLY_SET.OutlineCount (   self)
OutlineCount(SHAPE_POLY_SET self) -> int

Definition at line 4705 of file pcbnew.py.

def pcbnew.SHAPE_POLY_SET.Parse (   self,
  aStream 
)
Parse(SHAPE_POLY_SET self, std::stringstream & aStream) -> bool

Definition at line 4897 of file pcbnew.py.

def pcbnew.SHAPE_POLY_SET.PointOnEdge (   self,
  aP 
)
PointOnEdge(SHAPE_POLY_SET self, VECTOR2I const & aP) -> bool

Definition at line 4925 of file pcbnew.py.

def pcbnew.SHAPE_POLY_SET.Polygon (   self,
  args 
)
Polygon(SHAPE_POLY_SET self, int aIndex) -> SHAPE_POLY_SET::POLYGON
Polygon(SHAPE_POLY_SET self, int aIndex) -> SHAPE_POLY_SET::POLYGON const &

Definition at line 4744 of file pcbnew.py.

def pcbnew.SHAPE_POLY_SET.RemoveAllContours (   self)
RemoveAllContours(SHAPE_POLY_SET self)

Definition at line 4977 of file pcbnew.py.

def pcbnew.SHAPE_POLY_SET.RemoveContour (   self,
  aContourIdx,
  aPolygonIdx = -1 
)
RemoveContour(SHAPE_POLY_SET self, int aContourIdx, int aPolygonIdx=-1)
RemoveContour(SHAPE_POLY_SET self, int aContourIdx)

Definition at line 4982 of file pcbnew.py.

def pcbnew.SHAPE_POLY_SET.RemoveNullSegments (   self)
RemoveNullSegments(SHAPE_POLY_SET self) -> int

Definition at line 4990 of file pcbnew.py.

def pcbnew.SHAPE_POLY_SET.RemoveVertex (   self,
  args 
)
RemoveVertex(SHAPE_POLY_SET self, int aGlobalIndex)
RemoveVertex(SHAPE_POLY_SET self, SHAPE_POLY_SET::VERTEX_INDEX aRelativeIndices)

Definition at line 4969 of file pcbnew.py.

def pcbnew.SHAPE_POLY_SET.Rotate (   self,
  aAngle,
  aCenter 
)
Rotate(SHAPE_POLY_SET self, double aAngle, VECTOR2I const & aCenter)

Definition at line 4907 of file pcbnew.py.

def pcbnew.SHAPE_POLY_SET.Simplify (   self,
  aFastMode 
)
Simplify(SHAPE_POLY_SET self, SHAPE_POLY_SET::POLYGON_MODE aFastMode)

Definition at line 4882 of file pcbnew.py.

def pcbnew.SHAPE_POLY_SET.Subset (   self,
  aFirstPolygon,
  aLastPolygon 
)
Subset(SHAPE_POLY_SET self, int aFirstPolygon, int aLastPolygon) -> SHAPE_POLY_SET

Definition at line 4729 of file pcbnew.py.

def pcbnew.SHAPE_POLY_SET.TotalVertices (   self)
TotalVertices(SHAPE_POLY_SET self) -> int

Definition at line 4995 of file pcbnew.py.

def pcbnew.SHAPE_POLY_SET.TriangulatedPolygon (   self,
  aIndex 
)
TriangulatedPolygon(SHAPE_POLY_SET self, int aIndex) -> SHAPE_POLY_SET::TRIANGULATED_POLYGON const *

Definition at line 4752 of file pcbnew.py.

def pcbnew.SHAPE_POLY_SET.Unfracture (   self,
  aFastMode 
)
Unfracture(SHAPE_POLY_SET self, SHAPE_POLY_SET::POLYGON_MODE aFastMode)

Definition at line 4867 of file pcbnew.py.

def pcbnew.SHAPE_POLY_SET.UnitSet (   self,
  aPolygonIndex 
)
UnitSet(SHAPE_POLY_SET self, int aPolygonIndex) -> SHAPE_POLY_SET

Definition at line 4734 of file pcbnew.py.

def pcbnew.SHAPE_POLY_SET.Vertex (   self,
  args 
)
Vertex(SHAPE_POLY_SET self, int aIndex, int aOutline, int aHole) -> VECTOR2I
Vertex(SHAPE_POLY_SET self, int aGlobalIndex) -> VECTOR2I
Vertex(SHAPE_POLY_SET self, SHAPE_POLY_SET::VERTEX_INDEX aIndex) -> VECTOR2I &

Definition at line 4672 of file pcbnew.py.

def pcbnew.SHAPE_POLY_SET.VertexCount (   self,
  aOutline = -1,
  aHole = -1 
)
VertexCount(SHAPE_POLY_SET self, int aOutline=-1, int aHole=-1) -> int
VertexCount(SHAPE_POLY_SET self, int aOutline=-1) -> int
VertexCount(SHAPE_POLY_SET self) -> int

Definition at line 4710 of file pcbnew.py.

Member Data Documentation

pcbnew.SHAPE_POLY_SET.PM_FAST = _pcbnew.SHAPE_POLY_SET_PM_FAST
static

Definition at line 4830 of file pcbnew.py.

pcbnew.SHAPE_POLY_SET.PM_STRICTLY_SIMPLE = _pcbnew.SHAPE_POLY_SET_PM_STRICTLY_SIMPLE
static

Definition at line 4831 of file pcbnew.py.

pcbnew.SHAPE_POLY_SET.this

Definition at line 4608 of file pcbnew.py.


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