KiCad Pcbnew Python 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 TriangulatedPolyCount (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 4841 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, bool aDeepCopy=False) -> SHAPE_POLY_SET
__init__(SHAPE_POLY_SET self, SHAPE_POLY_SET aOther) -> SHAPE_POLY_SET

Definition at line 4854 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 aHole, int aOutline=-1) -> int
AddHole(SHAPE_POLY_SET self, SHAPE_LINE_CHAIN aHole) -> int

Definition at line 4901 of file pcbnew.py.

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

Definition at line 4896 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 aP, int aOutline=-1, int aHole=-1)
Append(SHAPE_POLY_SET self, VECTOR2I aP, int aOutline=-1)
Append(SHAPE_POLY_SET self, VECTOR2I aP)

Definition at line 4909 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 5178 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 5094 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 5110 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 5102 of file pcbnew.py.

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

Definition at line 5316 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 5283 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 5267 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

Definition at line 5023 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 5051 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 5061 of file pcbnew.py.

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

Definition at line 4878 of file pcbnew.py.

def pcbnew.SHAPE_POLY_SET.Collide (   self,
  args 
)
Collide(SHAPE_POLY_SET self, VECTOR2I aP, int aClearance=0) -> bool
Collide(SHAPE_POLY_SET self, VECTOR2I 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 5191 of file pcbnew.py.

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

Definition at line 5209 of file pcbnew.py.

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

Definition at line 5201 of file pcbnew.py.

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

Definition at line 5217 of file pcbnew.py.

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

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

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

Definition at line 4937 of file pcbnew.py.

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

Definition at line 5262 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 5302 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 5293 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 5288 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 5275 of file pcbnew.py.

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

Definition at line 5153 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 5123 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 4873 of file pcbnew.py.

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

Definition at line 5326 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 4946 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 4868 of file pcbnew.py.

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

Definition at line 5133 of file pcbnew.py.

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

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

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

Definition at line 4980 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 5118 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 4923 of file pcbnew.py.

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

Definition at line 5226 of file pcbnew.py.

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

Definition at line 4951 of file pcbnew.py.

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

Definition at line 4956 of file pcbnew.py.

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

Definition at line 5173 of file pcbnew.py.

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

Definition at line 5321 of file pcbnew.py.

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

Definition at line 5311 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 5033 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 5069 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 5074 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 5084 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 5043 of file pcbnew.py.

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

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

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

Definition at line 4883 of file pcbnew.py.

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

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

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

Definition at line 4966 of file pcbnew.py.

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

Definition at line 5158 of file pcbnew.py.

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

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

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

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

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

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

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

Definition at line 5168 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 5143 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 4990 of file pcbnew.py.

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

Definition at line 5257 of file pcbnew.py.

def pcbnew.SHAPE_POLY_SET.TriangulatedPolyCount (   self)
TriangulatedPolyCount(SHAPE_POLY_SET self) -> unsigned int

Definition at line 4961 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 5013 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 5128 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 4995 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 4928 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 4971 of file pcbnew.py.

Member Data Documentation

pcbnew.SHAPE_POLY_SET.PM_FAST = _pcbnew.SHAPE_POLY_SET_PM_FAST
static

Definition at line 5091 of file pcbnew.py.

pcbnew.SHAPE_POLY_SET.PM_STRICTLY_SIMPLE = _pcbnew.SHAPE_POLY_SET_PM_STRICTLY_SIMPLE
static

Definition at line 5092 of file pcbnew.py.

pcbnew.SHAPE_POLY_SET.this

Definition at line 4864 of file pcbnew.py.


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