|
| | __init__ (self, *args) |
| |
| | Collide (self, *args) |
| |
| | ClosestSegmentsFast (self, aOther, aPt0, aPt1) |
| |
| | Clear (self) |
| |
| | SetClosed (self, aClosed) |
| |
| | Width (self) |
| |
| | SegmentCount (self) |
| |
| | ShapeCount (self) |
| |
| | RemoveDuplicatePoints (self) |
| |
| | Simplify (self, aTolerance=0) |
| |
| | Simplify2 (self, aRemoveColinear=True) |
| |
| | PointCount (self) |
| |
| | Segment (self, aIndex) |
| |
| | CSegment (self, aIndex) |
| |
| | NextShape (self, aPointIndex) |
| |
| | SetPoint (self, aIndex, aPos) |
| |
| | CPoint (self, aIndex) |
| |
| | CPoints (self) |
| |
| | CLastPoint (self) |
| |
| | CArcs (self) |
| |
| | CShapes (self) |
| |
| | BBox (self, aClearance=0) |
| |
| | GenerateBBoxCache (self) |
| |
| | Reverse (self) |
| |
| | ClearArcs (self) |
| |
| | Length (self) |
| |
| | ReservePoints (self, aSize) |
| |
| | Append (self, *args) |
| |
| | Insert (self, *args) |
| |
| | Replace (self, *args) |
| |
| | Remove (self, *args) |
| |
| | RemoveShape (self, aPointIndex) |
| |
| | Find (self, aP, aThreshold=0) |
| |
| | FindSegment (self, aP, aThreshold=1) |
| |
| | Slice (self, *args) |
| |
| | Intersects (self, *args) |
| |
| | Intersect (self, *args) |
| |
| | PathLength (self, aP, aIndex=-1) |
| |
| | CheckClearance (self, aP, aDist) |
| |
| | SelfIntersecting (self) |
| |
| | SelfIntersectingWithArcs (self) |
| |
| | NearestSegment (self, aP) |
| |
| | NearestPoint (self, *args) |
| |
| | Format (self, aCplusPlus=True) |
| |
| | __ne__ (self, aRhs) |
| |
| | CompareGeometry (self, aOther) |
| |
| | Mirror (self, *args) |
| |
| | Rotate (self, *args) |
| |
| | PointAlong (self, aPathLength) |
| |
| | Area (self, aAbsolute=True) |
| |
| | Split (self, *args) |
| |
| | OffsetLine (self, aAmount, aCornerStrategy, aMaxError, aLeft, aRight, aSimplify=False) |
| |
| | ArcCount (self) |
| |
| | ArcIndex (self, aSegment) |
| |
| | Arc (self, aArc) |
| |
| | IsSharedPt (self, aIndex) |
| |
| | IsPtOnArc (self, aPtIndex) |
| |
| | IsArcSegment (self, aSegment) |
| |
| | IsArcStart (self, aIndex) |
| |
| | IsArcEnd (self, aIndex) |
| |
| | Distance (self, *args) |
| |
| | __init__ (self, *args, **kwargs) |
| |
| | SquaredDistance (self, aP, aOutlineOnly=False) |
| |
| | PointInside (self, aPt, aAccuracy=0, aUseBBoxCache=False) |
| |
| | PointOnEdge (self, aP, aAccuracy=0) |
| |
| | EdgeContainingPoint (self, aP, aAccuracy=0) |
| |
| | GetPoint (self, aIndex) |
| |
| | GetSegment (self, aIndex) |
| |
| | GetPointCount (self) |
| |
| | GetSegmentCount (self) |
| |
| | IsClosed (self) |
| |
| | GetCachedBBox (self) |
| |
| | __init__ (self, *args, **kwargs) |
| |
| | Clone (self) |
| |
| | GetClearance (self, aOther) |
| |
| | IsNull (self) |
| |
| | Centre (self) |
| |
| | NearestPoints (self, aOther, aPtThis, aPtOther) |
| |
| | TransformToPolygon (self, aBuffer, aError, aErrorLoc) |
| |
| | GetStart (self) |
| |
| | GetEnd (self) |
| |
| | GetWidth (self) |
| |
| | SetWidth (self, aWidth) |
| |
| | Move (self, aVector) |
| |
| | IsSolid (self) |
| |
| | Parse (self, aStream) |
| |
| | Cast (self) |
| |
| | __init__ (self, aType) |
| |
| | Type (self) |
| |
| | TypeName (self) |
| |
| | HasIndexableSubshapes (self) |
| |
| | GetIndexableSubshapeCount (self) |
| |
| | GetIndexableSubshapes (self, aSubshapes) |
| |
|
| | thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") |
| |
| | thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") |
| |
| | thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") |
| |
| | thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") |
| |
Proxy of C++ SHAPE_LINE_CHAIN class.
Definition at line 6505 of file pcbnew.py.
| 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, VECTOR_VECTOR2I aV, bool aClosed=False) -> SHAPE_LINE_CHAIN
__init__(SHAPE_LINE_CHAIN self, SHAPE_ARC aArc, bool aClosed=False, std::optional< int > aMaxError={}) -> SHAPE_LINE_CHAIN
__init__(SHAPE_LINE_CHAIN self, Clipper2Lib::Path64 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
Definition at line 6511 of file pcbnew.py.
| 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 aArc)
Append(SHAPE_LINE_CHAIN self, SHAPE_ARC aArc, int aMaxError)
Definition at line 6643 of file pcbnew.py.
| pcbnew.SHAPE_LINE_CHAIN.ClosestPoints |
( |
* | args | ) |
|
|
static |
ClosestPoints(SHAPE_LINE_CHAIN aOther, VECTOR2I aPt0, VECTOR2I aPt1) -> bool
ClosestPoints(SHAPE_LINE_CHAIN::point_citer const & aMyStart, SHAPE_LINE_CHAIN::point_citer const & aMyEnd, SHAPE_LINE_CHAIN::point_citer const & aOtherStart, SHAPE_LINE_CHAIN::point_citer const & aOtherEnd, VECTOR2I aPt0, VECTOR2I aPt1, int64_t & aDistSq) -> bool
Definition at line 6531 of file pcbnew.py.
| pcbnew.SHAPE_LINE_CHAIN.ClosestSegments |
( |
| aMyPrevPt, |
|
|
| aMyStart, |
|
|
| aMyEnd, |
|
|
| aOtherPrevPt, |
|
|
| aOtherStart, |
|
|
| aOtherEnd, |
|
|
| aPt0, |
|
|
| aPt1, |
|
|
| aDistSq ) |
|
static |
ClosestSegments(VECTOR2I aMyPrevPt, SHAPE_LINE_CHAIN::point_citer const & aMyStart, SHAPE_LINE_CHAIN::point_citer const & aMyEnd, VECTOR2I aOtherPrevPt, SHAPE_LINE_CHAIN::point_citer const & aOtherStart, SHAPE_LINE_CHAIN::point_citer const & aOtherEnd, VECTOR2I aPt0, VECTOR2I aPt1, int64_t & aDistSq) -> bool
Definition at line 6539 of file pcbnew.py.
| 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 aSeg, int aClearance=0, int * aActual=None, VECTOR2I aLocation=None) -> bool
Reimplemented from pcbnew.SHAPE_LINE_CHAIN_BASE.
Definition at line 6523 of file pcbnew.py.
| 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 aArc)
Insert(SHAPE_LINE_CHAIN self, size_t aVertex, SHAPE_ARC aArc, int aMaxError)
Definition at line 6653 of file pcbnew.py.
| pcbnew.SHAPE_LINE_CHAIN.Intersect |
( |
| self, |
|
|
* | args ) |
Intersect(SHAPE_LINE_CHAIN self, SEG aSeg, SHAPE_LINE_CHAIN::INTERSECTIONS & aIp) -> int
Intersect(SHAPE_LINE_CHAIN self, SHAPE_LINE_CHAIN aChain, SHAPE_LINE_CHAIN::INTERSECTIONS & aIp, bool aExcludeColinearAndTouching=False, BOX2I aChainBBox=None) -> int
Definition at line 6701 of file pcbnew.py.
| pcbnew.SHAPE_LINE_CHAIN.OffsetLine |
( |
| self, |
|
|
| aAmount, |
|
|
| aCornerStrategy, |
|
|
| aMaxError, |
|
|
| aLeft, |
|
|
| aRight, |
|
|
| aSimplify = False ) |
OffsetLine(SHAPE_LINE_CHAIN self, int aAmount, CORNER_STRATEGY aCornerStrategy, int aMaxError, SHAPE_LINE_CHAIN aLeft, SHAPE_LINE_CHAIN aRight, bool aSimplify=False) -> bool
Definition at line 6773 of file pcbnew.py.
| 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 6661 of file pcbnew.py.
| pcbnew.SHAPE_LINE_CHAIN.Slice |
( |
| self, |
|
|
* | args ) |
Slice(SHAPE_LINE_CHAIN self, int aStartIndex, int aEndIndex) -> SHAPE_LINE_CHAIN
Slice(SHAPE_LINE_CHAIN self, int aStartIndex, int aEndIndex, int aMaxError) -> SHAPE_LINE_CHAIN
Definition at line 6687 of file pcbnew.py.
| pcbnew.SHAPE_LINE_CHAIN.Split |
( |
| self, |
|
|
* | args ) |
Split(SHAPE_LINE_CHAIN self, VECTOR2I aP, bool aExact=False) -> int
Split(SHAPE_LINE_CHAIN self, VECTOR2I aStart, VECTOR2I aEnd, SHAPE_LINE_CHAIN aPre, SHAPE_LINE_CHAIN aMid, SHAPE_LINE_CHAIN aPost)
Definition at line 6766 of file pcbnew.py.