|
def | __init__ (self, *args, **kwargs) |
|
def | ConstructFromStartEndAngle (self, aStart, aEnd, aAngle, aWidth=0) |
|
def | ConstructFromStartEndCenter (self, aStart, aEnd, aCenter, aClockwise=False, aWidth=0) |
|
def | GetP0 (self) |
|
def | GetP1 (self) |
|
def | GetArcMid (self) |
|
def | GetCenter (self) |
|
def | BBox (self, aClearance=0) |
|
def | NearestPoint (self, aP) |
|
def | Collide (self, *args) |
|
def | IntersectLine (self, aSeg, aIpsBuffer) |
|
def | Intersect (self, *args) |
|
def | SetWidth (self, aWidth) |
|
def | GetWidth (self) |
|
def | Mirror (self, *args) |
|
def | Reverse (self) |
|
def | Reversed (self) |
|
def | GetRadius (self) |
|
def | GetChord (self) |
|
def | GetCentralAngle (self) |
|
def | GetStartAngle (self) |
|
def | GetEndAngle (self) |
|
def | GetLength (self) |
|
def | ConvertToPolyline (self, *args) |
|
def | __eq__ (self, aArc) |
|
def | IsCCW (self) |
|
def | IsClockwise (self) |
|
def | __init__ (self, *args, **kwargs) |
|
def | Clone (self) |
|
def | GetClearance (self, aOther) |
|
def | IsNull (self) |
|
def | Collide (self, *args) |
|
def | BBox (self, aClearance=0) |
|
def | Centre (self) |
|
def | Distance (self, aP) |
|
def | SquaredDistance (self, aP, aOutlineOnly=False) |
|
def | PointInside (self, aPt, aAccuracy=0, aUseBBoxCache=False) |
|
def | TransformToPolygon (self, aBuffer, aError, aErrorLoc) |
|
def | Rotate (self, *args) |
|
def | Move (self, aVector) |
|
def | IsSolid (self) |
|
def | Parse (self, aStream) |
|
def | Format (self, aCplusPlus=True) |
|
def | Cast (self) |
|
def | __init__ (self, aType) |
|
def | Type (self) |
|
def | TypeName (self) |
|
def | HasIndexableSubshapes (self) |
|
def | GetIndexableSubshapeCount (self) |
|
def | GetIndexableSubshapes (self, aSubshapes) |
|
|
property | thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") |
|
property | thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") |
|
property | thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") |
|
Proxy of C++ SHAPE_ARC class.
Definition at line 5820 of file pcbnew.py.
◆ __init__()
def pcbnew.SHAPE_ARC.__init__ |
( |
|
self, |
|
|
* |
aType, |
|
|
** |
kwargs |
|
) |
| |
__init__(SHAPE_BASE self, SHAPE_TYPE aType) -> SHAPE_BASE
Reimplemented from pcbnew.SHAPE.
Definition at line 5825 of file pcbnew.py.
◆ __eq__()
def pcbnew.SHAPE_ARC.__eq__ |
( |
|
self, |
|
|
|
aArc |
|
) |
| |
__eq__(SHAPE_ARC self, SHAPE_ARC aArc) -> bool
Definition at line 5937 of file pcbnew.py.
◆ BBox()
def pcbnew.SHAPE_ARC.BBox |
( |
|
self, |
|
|
|
aClearance = 0 |
|
) |
| |
◆ Collide()
def pcbnew.SHAPE_ARC.Collide |
( |
|
self, |
|
|
* |
args |
|
) |
| |
Collide(SHAPE_ARC self, SEG aSeg, int aClearance=0, int * aActual=None, VECTOR2I aLocation=None) -> bool
Collide(SHAPE_ARC self, VECTOR2I aP, int aClearance=0, int * aActual=None, VECTOR2I aLocation=None) -> bool
Collide(SHAPE_ARC self, SHAPE aShape, int aClearance=0, int * aActual=None, VECTOR2I aLocation=None) -> bool
Reimplemented from pcbnew.SHAPE.
Definition at line 5862 of file pcbnew.py.
◆ ConstructFromStartEndAngle()
def pcbnew.SHAPE_ARC.ConstructFromStartEndAngle |
( |
|
self, |
|
|
|
aStart, |
|
|
|
aEnd, |
|
|
|
aAngle, |
|
|
|
aWidth = 0 |
|
) |
| |
ConstructFromStartEndAngle(SHAPE_ARC self, VECTOR2I aStart, VECTOR2I aEnd, EDA_ANGLE aAngle, double aWidth=0) -> SHAPE_ARC
Definition at line 5830 of file pcbnew.py.
◆ ConstructFromStartEndCenter()
def pcbnew.SHAPE_ARC.ConstructFromStartEndCenter |
( |
|
self, |
|
|
|
aStart, |
|
|
|
aEnd, |
|
|
|
aCenter, |
|
|
|
aClockwise = False , |
|
|
|
aWidth = 0 |
|
) |
| |
ConstructFromStartEndCenter(SHAPE_ARC self, VECTOR2I aStart, VECTOR2I aEnd, VECTOR2I aCenter, bool aClockwise=False, double aWidth=0) -> SHAPE_ARC
Definition at line 5834 of file pcbnew.py.
◆ ConvertToPolyline()
def pcbnew.SHAPE_ARC.ConvertToPolyline |
( |
|
self, |
|
|
* |
args |
|
) |
| |
ConvertToPolyline(SHAPE_ARC self, double aAccuracy=SHAPE_ARC::DefaultAccuracyForPCB(), double * aEffectiveAccuracy=None) -> SHAPE_LINE_CHAIN
Definition at line 5933 of file pcbnew.py.
◆ DefaultAccuracyForPCB()
def pcbnew.SHAPE_ARC.DefaultAccuracyForPCB |
( |
| ) |
|
|
static |
DefaultAccuracyForPCB() -> double
Definition at line 5929 of file pcbnew.py.
◆ GetArcMid()
def pcbnew.SHAPE_ARC.GetArcMid |
( |
|
self | ) |
|
GetArcMid(SHAPE_ARC self) -> VECTOR2I
Definition at line 5846 of file pcbnew.py.
◆ GetCenter()
def pcbnew.SHAPE_ARC.GetCenter |
( |
|
self | ) |
|
GetCenter(SHAPE_ARC self) -> VECTOR2I
Definition at line 5850 of file pcbnew.py.
◆ GetCentralAngle()
def pcbnew.SHAPE_ARC.GetCentralAngle |
( |
|
self | ) |
|
GetCentralAngle(SHAPE_ARC self) -> EDA_ANGLE
Definition at line 5912 of file pcbnew.py.
◆ GetChord()
def pcbnew.SHAPE_ARC.GetChord |
( |
|
self | ) |
|
GetChord(SHAPE_ARC self) -> SEG
Definition at line 5908 of file pcbnew.py.
◆ GetEndAngle()
def pcbnew.SHAPE_ARC.GetEndAngle |
( |
|
self | ) |
|
GetEndAngle(SHAPE_ARC self) -> EDA_ANGLE
Definition at line 5920 of file pcbnew.py.
◆ GetLength()
def pcbnew.SHAPE_ARC.GetLength |
( |
|
self | ) |
|
GetLength(SHAPE_ARC self) -> double
Definition at line 5924 of file pcbnew.py.
◆ GetP0()
def pcbnew.SHAPE_ARC.GetP0 |
( |
|
self | ) |
|
GetP0(SHAPE_ARC self) -> VECTOR2I
Definition at line 5838 of file pcbnew.py.
◆ GetP1()
def pcbnew.SHAPE_ARC.GetP1 |
( |
|
self | ) |
|
GetP1(SHAPE_ARC self) -> VECTOR2I
Definition at line 5842 of file pcbnew.py.
◆ GetRadius()
def pcbnew.SHAPE_ARC.GetRadius |
( |
|
self | ) |
|
GetRadius(SHAPE_ARC self) -> double
Definition at line 5904 of file pcbnew.py.
◆ GetStartAngle()
def pcbnew.SHAPE_ARC.GetStartAngle |
( |
|
self | ) |
|
GetStartAngle(SHAPE_ARC self) -> EDA_ANGLE
Definition at line 5916 of file pcbnew.py.
◆ GetWidth()
def pcbnew.SHAPE_ARC.GetWidth |
( |
|
self | ) |
|
GetWidth(SHAPE_ARC self) -> int
Definition at line 5885 of file pcbnew.py.
◆ Intersect()
def pcbnew.SHAPE_ARC.Intersect |
( |
|
self, |
|
|
* |
args |
|
) |
| |
Intersect(SHAPE_ARC self, CIRCLE const & aArc, VECTOR_VECTOR2I aIpsBuffer) -> int
Intersect(SHAPE_ARC self, SHAPE_ARC aArc, VECTOR_VECTOR2I aIpsBuffer) -> int
Definition at line 5874 of file pcbnew.py.
◆ IntersectLine()
def pcbnew.SHAPE_ARC.IntersectLine |
( |
|
self, |
|
|
|
aSeg, |
|
|
|
aIpsBuffer |
|
) |
| |
IntersectLine(SHAPE_ARC self, SEG aSeg, VECTOR_VECTOR2I aIpsBuffer) -> int
Definition at line 5870 of file pcbnew.py.
◆ IsCCW()
def pcbnew.SHAPE_ARC.IsCCW |
( |
|
self | ) |
|
IsCCW(SHAPE_ARC self) -> bool
Definition at line 5941 of file pcbnew.py.
◆ IsClockwise()
def pcbnew.SHAPE_ARC.IsClockwise |
( |
|
self | ) |
|
IsClockwise(SHAPE_ARC self) -> bool
Definition at line 5945 of file pcbnew.py.
◆ Mirror()
def pcbnew.SHAPE_ARC.Mirror |
( |
|
self, |
|
|
* |
args |
|
) |
| |
Mirror(SHAPE_ARC self, VECTOR2I aRef, FLIP_DIRECTION aFlipDirection)
Mirror(SHAPE_ARC self, SEG axis)
Definition at line 5889 of file pcbnew.py.
◆ NearestPoint()
def pcbnew.SHAPE_ARC.NearestPoint |
( |
|
self, |
|
|
|
aP |
|
) |
| |
NearestPoint(SHAPE_ARC self, VECTOR2I aP) -> VECTOR2I
Definition at line 5858 of file pcbnew.py.
◆ Reverse()
def pcbnew.SHAPE_ARC.Reverse |
( |
|
self | ) |
|
Reverse(SHAPE_ARC self)
Definition at line 5896 of file pcbnew.py.
◆ Reversed()
def pcbnew.SHAPE_ARC.Reversed |
( |
|
self | ) |
|
Reversed(SHAPE_ARC self) -> SHAPE_ARC
Definition at line 5900 of file pcbnew.py.
◆ SetWidth()
def pcbnew.SHAPE_ARC.SetWidth |
( |
|
self, |
|
|
|
aWidth |
|
) |
| |
SetWidth(SHAPE_ARC self, int aWidth)
Definition at line 5881 of file pcbnew.py.
◆ thisown
property pcbnew.SHAPE_ARC.thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") |
|
static |
The documentation for this class was generated from the following file: