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 5221 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 5234 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 5281 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 5276 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 5289 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 5558 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 5474 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 5490 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 5482 of file pcbnew.py.

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

Definition at line 5696 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 5663 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 5647 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 5403 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 5431 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 5441 of file pcbnew.py.

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

Definition at line 5258 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 5571 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 5589 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 5581 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 5597 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 5398 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 5408 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 5317 of file pcbnew.py.

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

Definition at line 5642 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 5682 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 5673 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 5668 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 5655 of file pcbnew.py.

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

Definition at line 5533 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 5503 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 5253 of file pcbnew.py.

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

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

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

Definition at line 5513 of file pcbnew.py.

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

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

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

Definition at line 5360 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 5498 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 5303 of file pcbnew.py.

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

Definition at line 5606 of file pcbnew.py.

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

Definition at line 5331 of file pcbnew.py.

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

Definition at line 5336 of file pcbnew.py.

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

Definition at line 5553 of file pcbnew.py.

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

Definition at line 5701 of file pcbnew.py.

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

Definition at line 5691 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 5413 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 5449 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 5454 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 5464 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 5423 of file pcbnew.py.

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

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

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

Definition at line 5263 of file pcbnew.py.

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

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

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

Definition at line 5346 of file pcbnew.py.

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

Definition at line 5538 of file pcbnew.py.

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

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

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

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

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

Definition at line 5632 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 5611 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 5548 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 5523 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 5370 of file pcbnew.py.

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

Definition at line 5637 of file pcbnew.py.

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

Definition at line 5341 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 5393 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 5508 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 5375 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 5308 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 5351 of file pcbnew.py.

Member Data Documentation

pcbnew.SHAPE_POLY_SET.PM_FAST = _pcbnew.SHAPE_POLY_SET_PM_FAST
static

Definition at line 5471 of file pcbnew.py.

pcbnew.SHAPE_POLY_SET.PM_STRICTLY_SIMPLE = _pcbnew.SHAPE_POLY_SET_PM_STRICTLY_SIMPLE
static

Definition at line 5472 of file pcbnew.py.

pcbnew.SHAPE_POLY_SET.this

Definition at line 5244 of file pcbnew.py.


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