|
def | __init__ (self, *args) |
|
def | BBox (self, aClearance=0) |
|
def | GetInflated (self, aOffset) |
|
def | Diagonal (self) |
|
def | MajorDimension (self) |
|
def | MinorDimension (self) |
|
def | Collide (self, *args) |
|
def | GetPosition (self) |
|
def | GetSize (self) |
|
def | GetWidth (self) |
|
def | GetHeight (self) |
|
def | Rotate (self, *args) |
|
def | Outline (self) |
|
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_RECT class.
Definition at line 6901 of file pcbnew.py.
◆ __init__()
def pcbnew.SHAPE_RECT.__init__ |
( |
|
self, |
|
|
* |
args |
|
) |
| |
__init__(SHAPE_RECT self) -> SHAPE_RECT
__init__(SHAPE_RECT self, BOX2I aBox) -> SHAPE_RECT
__init__(SHAPE_RECT self, int aX0, int aY0, int aW, int aH) -> SHAPE_RECT
__init__(SHAPE_RECT self, VECTOR2I aP0, int aW, int aH) -> SHAPE_RECT
__init__(SHAPE_RECT self, VECTOR2I aP0, VECTOR2I aP1) -> SHAPE_RECT
__init__(SHAPE_RECT self, SHAPE_RECT aOther) -> SHAPE_RECT
Reimplemented from pcbnew.SHAPE.
Definition at line 6907 of file pcbnew.py.
◆ BBox()
def pcbnew.SHAPE_RECT.BBox |
( |
|
self, |
|
|
|
aClearance = 0 |
|
) |
| |
◆ Collide()
def pcbnew.SHAPE_RECT.Collide |
( |
|
self, |
|
|
* |
args |
|
) |
| |
Collide(SHAPE_RECT self, SHAPE aShape, int aClearance, VECTOR2I aMTV) -> bool
Collide(SHAPE_RECT self, SHAPE aShape, int aClearance=0, int * aActual=None, VECTOR2I aLocation=None) -> bool
Collide(SHAPE_RECT self, SEG aSeg, int aClearance=0, int * aActual=None, VECTOR2I aLocation=None) -> bool
Reimplemented from pcbnew.SHAPE.
Definition at line 6938 of file pcbnew.py.
◆ Diagonal()
def pcbnew.SHAPE_RECT.Diagonal |
( |
|
self | ) |
|
Diagonal(SHAPE_RECT self) -> int
Definition at line 6926 of file pcbnew.py.
◆ Format()
def pcbnew.SHAPE_RECT.Format |
( |
|
self, |
|
|
|
aCplusPlus = True |
|
) |
| |
Format(SHAPE_RECT self, bool aCplusPlus=True) -> string
Reimplemented from pcbnew.SHAPE.
Definition at line 6970 of file pcbnew.py.
◆ GetHeight()
def pcbnew.SHAPE_RECT.GetHeight |
( |
|
self | ) |
|
GetHeight(SHAPE_RECT self) -> int
Definition at line 6958 of file pcbnew.py.
◆ GetInflated()
def pcbnew.SHAPE_RECT.GetInflated |
( |
|
self, |
|
|
|
aOffset |
|
) |
| |
GetInflated(SHAPE_RECT self, int aOffset) -> SHAPE_RECT
Definition at line 6922 of file pcbnew.py.
◆ GetPosition()
def pcbnew.SHAPE_RECT.GetPosition |
( |
|
self | ) |
|
GetPosition(SHAPE_RECT self) -> VECTOR2I
Definition at line 6946 of file pcbnew.py.
◆ GetSize()
def pcbnew.SHAPE_RECT.GetSize |
( |
|
self | ) |
|
GetSize(SHAPE_RECT self) -> VECTOR2I
Definition at line 6950 of file pcbnew.py.
◆ GetWidth()
def pcbnew.SHAPE_RECT.GetWidth |
( |
|
self | ) |
|
GetWidth(SHAPE_RECT self) -> int
Definition at line 6954 of file pcbnew.py.
◆ MajorDimension()
def pcbnew.SHAPE_RECT.MajorDimension |
( |
|
self | ) |
|
MajorDimension(SHAPE_RECT self) -> int
Definition at line 6930 of file pcbnew.py.
◆ MinorDimension()
def pcbnew.SHAPE_RECT.MinorDimension |
( |
|
self | ) |
|
MinorDimension(SHAPE_RECT self) -> int
Definition at line 6934 of file pcbnew.py.
◆ Outline()
def pcbnew.SHAPE_RECT.Outline |
( |
|
self | ) |
|
Outline(SHAPE_RECT self) -> SHAPE_LINE_CHAIN
Definition at line 6966 of file pcbnew.py.
◆ Rotate()
def pcbnew.SHAPE_RECT.Rotate |
( |
|
self, |
|
|
* |
args |
|
) |
| |
Rotate(SHAPE_RECT self, EDA_ANGLE aAngle, VECTOR2I aCenter={ 0, 0 })
Reimplemented from pcbnew.SHAPE.
Definition at line 6962 of file pcbnew.py.
◆ thisown
property pcbnew.SHAPE_RECT.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: