|
def | __init__ (self, *args) |
|
def | SetMaximum (self) |
|
def | Centre (self) |
|
def | Move (self, aMoveVector) |
|
def | Normalize (self) |
|
def | Contains (self, *args) |
|
def | GetSize (self) |
|
def | GetX (self) |
|
def | GetY (self) |
|
def | GetOrigin (self) |
|
def | GetPosition (self) |
|
def | GetEnd (self) |
|
def | GetWidth (self) |
|
def | GetHeight (self) |
|
def | GetRight (self) |
|
def | GetBottom (self) |
|
def | GetLeft (self) |
|
def | GetTop (self) |
|
def | GetCenter (self) |
|
def | GetSizeMax (self) |
|
def | SetOrigin (self, *args) |
|
def | SetSize (self, *args) |
|
def | Offset (self, *args) |
|
def | GetWithOffset (self, aMoveVector) |
|
def | SetX (self, val) |
|
def | SetY (self, val) |
|
def | SetWidth (self, val) |
|
def | SetHeight (self, val) |
|
def | SetEnd (self, *args) |
|
def | Intersect (self, aRect) |
|
def | Intersects (self, *args) |
|
def | IntersectsCircle (self, aCenter, aRadius) |
|
def | IntersectsCircleEdge (self, aCenter, aRadius, aWidth) |
|
def | Format (self) |
|
def | Inflate (self, *args) |
|
def | GetInflated (self, *args) |
|
def | Merge (self, *args) |
|
def | GetBoundingBoxRotated (self, aRotCenter, aAngle) |
|
def | GetArea (self) |
|
def | Diagonal (self) |
|
def | SquaredDiagonal (self) |
|
def | SquaredDistance (self, *args) |
|
def | Distance (self, *args) |
|
def | ClosestPointTo (self, aPoint) |
|
def | FarthestPointTo (self, aPoint) |
|
def | __eq__ (self, aOther) |
|
def | __ne__ (self, aOther) |
|
def | IsValid (self) |
|
|
property | thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") |
|
Proxy of C++ BOX2< VECTOR2I > class.
Definition at line 5011 of file pcbnew.py.
◆ __init__()
def pcbnew.BOX2I.__init__ |
( |
|
self, |
|
|
* |
args |
|
) |
| |
__init__(BOX2I self) -> BOX2I
__init__(BOX2I self, VECTOR2I aPos, VECTOR2L aSize=BOX2< VECTOR2I >::SizeVec(0, 0)) -> BOX2I
Definition at line 5017 of file pcbnew.py.
◆ __eq__()
def pcbnew.BOX2I.__eq__ |
( |
|
self, |
|
|
|
aOther |
|
) |
| |
__eq__(BOX2I self, BOX2I aOther) -> bool
Definition at line 5245 of file pcbnew.py.
◆ __ne__()
def pcbnew.BOX2I.__ne__ |
( |
|
self, |
|
|
|
aOther |
|
) |
| |
__ne__(BOX2I self, BOX2I aOther) -> bool
Definition at line 5249 of file pcbnew.py.
◆ ByCenter()
def pcbnew.BOX2I.ByCenter |
( |
|
aCenter, |
|
|
|
aSize |
|
) |
| |
|
static |
ByCenter(VECTOR2I aCenter, VECTOR2L aSize) -> BOX2I
Definition at line 5030 of file pcbnew.py.
◆ ByCorners()
def pcbnew.BOX2I.ByCorners |
( |
|
aCorner1, |
|
|
|
aCorner2 |
|
) |
| |
|
static |
ByCorners(VECTOR2I aCorner1, VECTOR2I aCorner2) -> BOX2I
Definition at line 5025 of file pcbnew.py.
◆ Centre()
def pcbnew.BOX2I.Centre |
( |
|
self | ) |
|
Centre(BOX2I self) -> VECTOR2I
Definition at line 5038 of file pcbnew.py.
◆ ClosestPointTo()
def pcbnew.BOX2I.ClosestPointTo |
( |
|
self, |
|
|
|
aPoint |
|
) |
| |
ClosestPointTo(BOX2I self, VECTOR2I aPoint) -> VECTOR2I
Definition at line 5237 of file pcbnew.py.
◆ Contains()
def pcbnew.BOX2I.Contains |
( |
|
self, |
|
|
* |
args |
|
) |
| |
Contains(BOX2I self, VECTOR2I aPoint) -> bool
Contains(BOX2I self, BOX2< VECTOR2< int > >::coord_type x, BOX2< VECTOR2< int > >::coord_type y) -> bool
Contains(BOX2I self, BOX2I aRect) -> bool
Definition at line 5050 of file pcbnew.py.
◆ Diagonal()
def pcbnew.BOX2I.Diagonal |
( |
|
self | ) |
|
Diagonal(BOX2I self) -> BOX2< VECTOR2< int > >::ecoord_type
Definition at line 5215 of file pcbnew.py.
◆ Distance()
def pcbnew.BOX2I.Distance |
( |
|
self, |
|
|
* |
args |
|
) |
| |
Distance(BOX2I self, VECTOR2I aP) -> BOX2< VECTOR2< int > >::ecoord_type
Distance(BOX2I self, BOX2I aBox) -> BOX2< VECTOR2< int > >::ecoord_type
Definition at line 5230 of file pcbnew.py.
◆ FarthestPointTo()
def pcbnew.BOX2I.FarthestPointTo |
( |
|
self, |
|
|
|
aPoint |
|
) |
| |
FarthestPointTo(BOX2I self, VECTOR2I aPoint) -> VECTOR2I
Definition at line 5241 of file pcbnew.py.
◆ Format()
def pcbnew.BOX2I.Format |
( |
|
self | ) |
|
Format(BOX2I self) -> string
Definition at line 5182 of file pcbnew.py.
◆ GetArea()
def pcbnew.BOX2I.GetArea |
( |
|
self | ) |
|
GetArea(BOX2I self) -> BOX2< VECTOR2< int > >::ecoord_type
Definition at line 5211 of file pcbnew.py.
◆ GetBottom()
def pcbnew.BOX2I.GetBottom |
( |
|
self | ) |
|
GetBottom(BOX2I self) -> BOX2< VECTOR2< int > >::coord_type
Definition at line 5094 of file pcbnew.py.
◆ GetBoundingBoxRotated()
def pcbnew.BOX2I.GetBoundingBoxRotated |
( |
|
self, |
|
|
|
aRotCenter, |
|
|
|
aAngle |
|
) |
| |
GetBoundingBoxRotated(BOX2I self, VECTOR2I aRotCenter, EDA_ANGLE aAngle) -> BOX2I
Definition at line 5207 of file pcbnew.py.
◆ GetCenter()
def pcbnew.BOX2I.GetCenter |
( |
|
self | ) |
|
GetCenter(BOX2I self) -> VECTOR2I
Definition at line 5106 of file pcbnew.py.
◆ GetEnd()
def pcbnew.BOX2I.GetEnd |
( |
|
self | ) |
|
GetEnd(BOX2I self) -> VECTOR2I
Definition at line 5078 of file pcbnew.py.
◆ GetHeight()
def pcbnew.BOX2I.GetHeight |
( |
|
self | ) |
|
GetHeight(BOX2I self) -> BOX2< VECTOR2< int > >::size_type
Definition at line 5086 of file pcbnew.py.
◆ GetInflated()
def pcbnew.BOX2I.GetInflated |
( |
|
self, |
|
|
* |
args |
|
) |
| |
GetInflated(BOX2I self, BOX2< VECTOR2< int > >::coord_type aDx, BOX2< VECTOR2< int > >::coord_type aDy) -> BOX2I
GetInflated(BOX2I self, BOX2< VECTOR2< int > >::coord_type aDelta) -> BOX2I
Definition at line 5193 of file pcbnew.py.
◆ GetLeft()
def pcbnew.BOX2I.GetLeft |
( |
|
self | ) |
|
GetLeft(BOX2I self) -> BOX2< VECTOR2< int > >::coord_type
Definition at line 5098 of file pcbnew.py.
◆ GetOrigin()
def pcbnew.BOX2I.GetOrigin |
( |
|
self | ) |
|
GetOrigin(BOX2I self) -> VECTOR2I
Definition at line 5070 of file pcbnew.py.
◆ GetPosition()
def pcbnew.BOX2I.GetPosition |
( |
|
self | ) |
|
GetPosition(BOX2I self) -> VECTOR2I
Definition at line 5074 of file pcbnew.py.
◆ GetRight()
def pcbnew.BOX2I.GetRight |
( |
|
self | ) |
|
GetRight(BOX2I self) -> BOX2< VECTOR2< int > >::coord_type
Definition at line 5090 of file pcbnew.py.
◆ GetSize()
def pcbnew.BOX2I.GetSize |
( |
|
self | ) |
|
GetSize(BOX2I self) -> VECTOR2L
Definition at line 5058 of file pcbnew.py.
◆ GetSizeMax()
def pcbnew.BOX2I.GetSizeMax |
( |
|
self | ) |
|
GetSizeMax(BOX2I self) -> int
Definition at line 5110 of file pcbnew.py.
◆ GetTop()
def pcbnew.BOX2I.GetTop |
( |
|
self | ) |
|
GetTop(BOX2I self) -> BOX2< VECTOR2< int > >::coord_type
Definition at line 5102 of file pcbnew.py.
◆ GetWidth()
def pcbnew.BOX2I.GetWidth |
( |
|
self | ) |
|
GetWidth(BOX2I self) -> BOX2< VECTOR2< int > >::size_type
Definition at line 5082 of file pcbnew.py.
◆ GetWithOffset()
def pcbnew.BOX2I.GetWithOffset |
( |
|
self, |
|
|
|
aMoveVector |
|
) |
| |
GetWithOffset(BOX2I self, VECTOR2I aMoveVector) -> BOX2I
Definition at line 5135 of file pcbnew.py.
◆ GetX()
def pcbnew.BOX2I.GetX |
( |
|
self | ) |
|
GetX(BOX2I self) -> BOX2< VECTOR2< int > >::coord_type
Definition at line 5062 of file pcbnew.py.
◆ GetY()
def pcbnew.BOX2I.GetY |
( |
|
self | ) |
|
GetY(BOX2I self) -> BOX2< VECTOR2< int > >::coord_type
Definition at line 5066 of file pcbnew.py.
◆ Inflate()
def pcbnew.BOX2I.Inflate |
( |
|
self, |
|
|
* |
args |
|
) |
| |
Inflate(BOX2I self, BOX2< VECTOR2< int > >::coord_type dx, BOX2< VECTOR2< int > >::coord_type dy) -> BOX2I
Inflate(BOX2I self, BOX2< VECTOR2< int > >::coord_type aDelta) -> BOX2I
Definition at line 5186 of file pcbnew.py.
◆ Intersect()
def pcbnew.BOX2I.Intersect |
( |
|
self, |
|
|
|
aRect |
|
) |
| |
Intersect(BOX2I self, BOX2I aRect) -> BOX2I
Definition at line 5162 of file pcbnew.py.
◆ Intersects()
def pcbnew.BOX2I.Intersects |
( |
|
self, |
|
|
* |
args |
|
) |
| |
Intersects(BOX2I self, BOX2I aRect) -> bool
Intersects(BOX2I self, VECTOR2I aPoint1, VECTOR2I aPoint2) -> bool
Intersects(BOX2I self, BOX2I aRect, EDA_ANGLE aRotation) -> bool
Definition at line 5166 of file pcbnew.py.
◆ IntersectsCircle()
def pcbnew.BOX2I.IntersectsCircle |
( |
|
self, |
|
|
|
aCenter, |
|
|
|
aRadius |
|
) |
| |
IntersectsCircle(BOX2I self, VECTOR2I aCenter, int const aRadius) -> bool
Definition at line 5174 of file pcbnew.py.
◆ IntersectsCircleEdge()
def pcbnew.BOX2I.IntersectsCircleEdge |
( |
|
self, |
|
|
|
aCenter, |
|
|
|
aRadius, |
|
|
|
aWidth |
|
) |
| |
IntersectsCircleEdge(BOX2I self, VECTOR2I aCenter, int const aRadius, int const aWidth) -> bool
Definition at line 5178 of file pcbnew.py.
◆ IsValid()
def pcbnew.BOX2I.IsValid |
( |
|
self | ) |
|
IsValid(BOX2I self) -> bool
Definition at line 5253 of file pcbnew.py.
◆ Merge()
def pcbnew.BOX2I.Merge |
( |
|
self, |
|
|
* |
args |
|
) |
| |
Merge(BOX2I self, BOX2I aRect) -> BOX2I
Merge(BOX2I self, VECTOR2I aPoint) -> BOX2I
Definition at line 5200 of file pcbnew.py.
◆ Move()
def pcbnew.BOX2I.Move |
( |
|
self, |
|
|
|
aMoveVector |
|
) |
| |
Move(BOX2I self, VECTOR2I aMoveVector)
Definition at line 5042 of file pcbnew.py.
◆ Normalize()
def pcbnew.BOX2I.Normalize |
( |
|
self | ) |
|
Normalize(BOX2I self) -> BOX2I
Definition at line 5046 of file pcbnew.py.
◆ Offset()
def pcbnew.BOX2I.Offset |
( |
|
self, |
|
|
* |
args |
|
) |
| |
Offset(BOX2I self, BOX2< VECTOR2< int > >::coord_type dx, BOX2< VECTOR2< int > >::coord_type dy)
Offset(BOX2I self, VECTOR2I offset)
Definition at line 5128 of file pcbnew.py.
◆ SetEnd()
def pcbnew.BOX2I.SetEnd |
( |
|
self, |
|
|
* |
args |
|
) |
| |
SetEnd(BOX2I self, BOX2< VECTOR2< int > >::coord_type x, BOX2< VECTOR2< int > >::coord_type y)
SetEnd(BOX2I self, VECTOR2I pos)
Definition at line 5155 of file pcbnew.py.
◆ SetHeight()
def pcbnew.BOX2I.SetHeight |
( |
|
self, |
|
|
|
val |
|
) |
| |
SetHeight(BOX2I self, BOX2< VECTOR2< int > >::size_type val)
Definition at line 5151 of file pcbnew.py.
◆ SetMaximum()
def pcbnew.BOX2I.SetMaximum |
( |
|
self | ) |
|
SetMaximum(BOX2I self)
Definition at line 5034 of file pcbnew.py.
◆ SetOrigin()
def pcbnew.BOX2I.SetOrigin |
( |
|
self, |
|
|
* |
args |
|
) |
| |
SetOrigin(BOX2I self, VECTOR2I pos)
SetOrigin(BOX2I self, BOX2< VECTOR2< int > >::coord_type x, BOX2< VECTOR2< int > >::coord_type y)
Definition at line 5114 of file pcbnew.py.
◆ SetSize()
def pcbnew.BOX2I.SetSize |
( |
|
self, |
|
|
* |
args |
|
) |
| |
SetSize(BOX2I self, VECTOR2L size)
SetSize(BOX2I self, BOX2< VECTOR2< int > >::size_type w, BOX2< VECTOR2< int > >::size_type h)
Definition at line 5121 of file pcbnew.py.
◆ SetWidth()
def pcbnew.BOX2I.SetWidth |
( |
|
self, |
|
|
|
val |
|
) |
| |
SetWidth(BOX2I self, BOX2< VECTOR2< int > >::size_type val)
Definition at line 5147 of file pcbnew.py.
◆ SetX()
def pcbnew.BOX2I.SetX |
( |
|
self, |
|
|
|
val |
|
) |
| |
SetX(BOX2I self, BOX2< VECTOR2< int > >::coord_type val)
Definition at line 5139 of file pcbnew.py.
◆ SetY()
def pcbnew.BOX2I.SetY |
( |
|
self, |
|
|
|
val |
|
) |
| |
SetY(BOX2I self, BOX2< VECTOR2< int > >::coord_type val)
Definition at line 5143 of file pcbnew.py.
◆ SquaredDiagonal()
def pcbnew.BOX2I.SquaredDiagonal |
( |
|
self | ) |
|
SquaredDiagonal(BOX2I self) -> BOX2< VECTOR2< int > >::ecoord_type
Definition at line 5219 of file pcbnew.py.
◆ SquaredDistance()
def pcbnew.BOX2I.SquaredDistance |
( |
|
self, |
|
|
* |
args |
|
) |
| |
SquaredDistance(BOX2I self, VECTOR2I aP) -> BOX2< VECTOR2< int > >::ecoord_type
SquaredDistance(BOX2I self, BOX2I aBox) -> BOX2< VECTOR2< int > >::ecoord_type
Definition at line 5223 of file pcbnew.py.
◆ thisown
property pcbnew.BOX2I.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: