|
def | __init__ (self, *args) |
|
def | BBox (self, aClearance=0) |
|
def | Collide (self, *args) |
|
def | SetSeg (self, aSeg) |
|
def | GetSeg (self) |
|
def | SetWidth (self, aWidth) |
|
def | GetWidth (self) |
|
def | Rotate (self, *args) |
|
def | Is45Degree (self, *args) |
|
def | Format (self, aCplusPlus=True) |
|
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_SEGMENT class.
Definition at line 6952 of file pcbnew.py.
◆ __init__()
def pcbnew.SHAPE_SEGMENT.__init__ |
( |
|
self, |
|
|
* |
args |
|
) |
| |
__init__(SHAPE_SEGMENT self) -> SHAPE_SEGMENT
__init__(SHAPE_SEGMENT self, VECTOR2I aA, VECTOR2I aB, int aWidth=0) -> SHAPE_SEGMENT
__init__(SHAPE_SEGMENT self, SEG aSeg, int aWidth=0) -> SHAPE_SEGMENT
Reimplemented from pcbnew.SHAPE.
Definition at line 6958 of file pcbnew.py.
◆ BBox()
def pcbnew.SHAPE_SEGMENT.BBox |
( |
|
self, |
|
|
|
aClearance = 0 |
|
) |
| |
BBox(SHAPE_SEGMENT self, int aClearance=0) -> BOX2I
Reimplemented from pcbnew.SHAPE.
Definition at line 6967 of file pcbnew.py.
◆ Collide()
def pcbnew.SHAPE_SEGMENT.Collide |
( |
|
self, |
|
|
* |
args |
|
) |
| |
Collide(SHAPE_SEGMENT self, SHAPE aShape, int aClearance, VECTOR2I aMTV) -> bool
Collide(SHAPE_SEGMENT self, SHAPE aShape, int aClearance=0, int * aActual=None, VECTOR2I aLocation=None) -> bool
Collide(SHAPE_SEGMENT self, SEG aSeg, int aClearance=0, int * aActual=None, VECTOR2I aLocation=None) -> bool
Collide(SHAPE_SEGMENT self, VECTOR2I aP, int aClearance=0, int * aActual=None, VECTOR2I aLocation=None) -> bool
Reimplemented from pcbnew.SHAPE.
Definition at line 6971 of file pcbnew.py.
◆ Format()
def pcbnew.SHAPE_SEGMENT.Format |
( |
|
self, |
|
|
|
aCplusPlus = True |
|
) |
| |
Format(SHAPE_SEGMENT self, bool aCplusPlus=True) -> string
Reimplemented from pcbnew.SHAPE.
Definition at line 7004 of file pcbnew.py.
◆ GetSeg()
def pcbnew.SHAPE_SEGMENT.GetSeg |
( |
|
self | ) |
|
GetSeg(SHAPE_SEGMENT self) -> SEG
Definition at line 6984 of file pcbnew.py.
◆ GetWidth()
def pcbnew.SHAPE_SEGMENT.GetWidth |
( |
|
self | ) |
|
GetWidth(SHAPE_SEGMENT self) -> int
Definition at line 6992 of file pcbnew.py.
◆ Is45Degree()
def pcbnew.SHAPE_SEGMENT.Is45Degree |
( |
|
self, |
|
|
* |
args |
|
) |
| |
Is45Degree(SHAPE_SEGMENT self, EDA_ANGLE aTollerance=EDA_ANGLE( 1.0, DEGREES_T )) -> bool
Definition at line 7000 of file pcbnew.py.
◆ Rotate()
def pcbnew.SHAPE_SEGMENT.Rotate |
( |
|
self, |
|
|
* |
args |
|
) |
| |
Rotate(SHAPE_SEGMENT self, EDA_ANGLE aAngle, VECTOR2I aCenter={ 0, 0 })
Reimplemented from pcbnew.SHAPE.
Definition at line 6996 of file pcbnew.py.
◆ SetSeg()
def pcbnew.SHAPE_SEGMENT.SetSeg |
( |
|
self, |
|
|
|
aSeg |
|
) |
| |
SetSeg(SHAPE_SEGMENT self, SEG aSeg)
Definition at line 6980 of file pcbnew.py.
◆ SetWidth()
def pcbnew.SHAPE_SEGMENT.SetWidth |
( |
|
self, |
|
|
|
aWidth |
|
) |
| |
SetWidth(SHAPE_SEGMENT self, int aWidth)
Definition at line 6988 of file pcbnew.py.
◆ thisown
property pcbnew.SHAPE_SEGMENT.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: