KiCad Pcbnew Python Scripting
Loading...
Searching...
No Matches
pcbnew.wxPoint Class Reference
Inheritance diagram for pcbnew.wxPoint:

Public Member Functions

 __init__ (self, *args)
 
 __add__ (self, pt)
 
 __sub__ (self, pt)
 
 Set (self, x, y)
 
 Get (self)
 
 __eq__ (self, other)
 
 __ne__ (self, other)
 
 __str__ (self)
 
 __repr__ (self)
 
 __len__ (self)
 
 __getitem__ (self, index)
 
 __setitem__ (self, index, val)
 
 __nonzero__ (self)
 

Properties

 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
 
 x = property(_pcbnew.wxPoint_x_get, _pcbnew.wxPoint_x_set, doc=)
 
 y = property(_pcbnew.wxPoint_y_get, _pcbnew.wxPoint_y_set, doc=)
 

Detailed Description

Proxy of C++ wxPoint class.

Definition at line 632 of file pcbnew.py.

Constructor & Destructor Documentation

◆ __init__()

pcbnew.wxPoint.__init__ ( self,
* args )
    __init__(wxPoint self, int xx, int yy) -> wxPoint
    __init__(wxPoint self, double xx, double yy) -> wxPoint

Definition at line 640 of file pcbnew.py.

Member Function Documentation

◆ __add__()

pcbnew.wxPoint.__add__ ( self,
pt )
__add__(wxPoint self, wxPoint pt) -> wxPoint

Definition at line 648 of file pcbnew.py.

◆ __eq__()

pcbnew.wxPoint.__eq__ ( self,
other )

Definition at line 664 of file pcbnew.py.

◆ __getitem__()

pcbnew.wxPoint.__getitem__ ( self,
index )

Definition at line 669 of file pcbnew.py.

◆ __len__()

pcbnew.wxPoint.__len__ ( self)

Definition at line 668 of file pcbnew.py.

◆ __ne__()

pcbnew.wxPoint.__ne__ ( self,
other )

Definition at line 665 of file pcbnew.py.

◆ __nonzero__()

pcbnew.wxPoint.__nonzero__ ( self)

Definition at line 677 of file pcbnew.py.

◆ __repr__()

pcbnew.wxPoint.__repr__ ( self)

Definition at line 667 of file pcbnew.py.

◆ __setitem__()

pcbnew.wxPoint.__setitem__ ( self,
index,
val )

Definition at line 670 of file pcbnew.py.

◆ __str__()

pcbnew.wxPoint.__str__ ( self)

Definition at line 666 of file pcbnew.py.

◆ __sub__()

pcbnew.wxPoint.__sub__ ( self,
pt )
__sub__(wxPoint self, wxPoint pt) -> wxPoint

Definition at line 652 of file pcbnew.py.

◆ Get()

pcbnew.wxPoint.Get ( self)
Get(wxPoint self) -> PyObject *

Definition at line 660 of file pcbnew.py.

◆ Set()

pcbnew.wxPoint.Set ( self,
x,
y )
Set(wxPoint self, long x, long y)

Definition at line 656 of file pcbnew.py.

Property Documentation

◆ thisown

pcbnew.wxPoint.thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
static

Definition at line 635 of file pcbnew.py.

◆ x

pcbnew.wxPoint.x = property(_pcbnew.wxPoint_x_get, _pcbnew.wxPoint_x_set, doc=)
static

Definition at line 637 of file pcbnew.py.

◆ y

pcbnew.wxPoint.y = property(_pcbnew.wxPoint_y_get, _pcbnew.wxPoint_y_set, doc=)
static

Definition at line 638 of file pcbnew.py.


The documentation for this class was generated from the following file: