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, aIgnoreHoles=False)
 
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, aErrorMax, aIndex=0)
 
def Chamfer (self, aDistance)
 
def Fillet (self, aRadius, aErrorMax)
 
def DistanceToPolygon (self, args)
 
def Distance (self, args)
 
def IsVertexInHole (self, aGlobalIdx)
 
def CacheTriangulation (self)
 
def IsTriangulationUpToDate (self)
 
def GetHash (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 4589 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 4602 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 4648 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 4643 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 4656 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 4920 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 4836 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 4852 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 4844 of file pcbnew.py.

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

Definition at line 5058 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 5025 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 5009 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 4765 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 4793 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 4803 of file pcbnew.py.

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

Definition at line 4625 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 4933 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 4951 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 4943 of file pcbnew.py.

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

Definition at line 4959 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 4760 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 4770 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 4684 of file pcbnew.py.

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

Definition at line 5004 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 5044 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 5035 of file pcbnew.py.

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

Definition at line 5030 of file pcbnew.py.

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

Definition at line 5017 of file pcbnew.py.

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

Definition at line 4895 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 4865 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 4620 of file pcbnew.py.

def pcbnew.SHAPE_POLY_SET.GetHash (   self)
GetHash(SHAPE_POLY_SET self) -> MD5_HASH

Definition at line 5068 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 4693 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 4615 of file pcbnew.py.

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

Definition at line 4875 of file pcbnew.py.

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

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

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

Definition at line 4722 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 4860 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 4670 of file pcbnew.py.

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

Definition at line 4968 of file pcbnew.py.

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

Definition at line 4698 of file pcbnew.py.

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

Definition at line 4703 of file pcbnew.py.

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

Definition at line 4915 of file pcbnew.py.

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

Definition at line 5063 of file pcbnew.py.

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

Definition at line 5053 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 4775 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 4811 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 4816 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 4826 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 4785 of file pcbnew.py.

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

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

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

Definition at line 4630 of file pcbnew.py.

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

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

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

Definition at line 4708 of file pcbnew.py.

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

Definition at line 4900 of file pcbnew.py.

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

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

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

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

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

Definition at line 4994 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 4973 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 4910 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 4885 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 4732 of file pcbnew.py.

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

Definition at line 4999 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 4755 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 4870 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 4737 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 4675 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 4713 of file pcbnew.py.

Member Data Documentation

pcbnew.SHAPE_POLY_SET.PM_FAST = _pcbnew.SHAPE_POLY_SET_PM_FAST
static

Definition at line 4833 of file pcbnew.py.

pcbnew.SHAPE_POLY_SET.PM_STRICTLY_SIMPLE = _pcbnew.SHAPE_POLY_SET_PM_STRICTLY_SIMPLE
static

Definition at line 4834 of file pcbnew.py.

pcbnew.SHAPE_POLY_SET.this

Definition at line 4611 of file pcbnew.py.


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