wx.Point2D¶
Class Hierarchy¶
Inheritance diagram for class Point2D:
Methods Summary¶Get() . (x,y) |
|
Returns an immutable representation of the |
|
Properties Summary¶See |
|
See |
|
See |
|
A public C++ attribute of type Double . |
|
A public C++ attribute of type Double . |
Class API¶Possible constructors:
Point2DDouble() -> None
Point2DDouble(x, y) -> None
Point2DDouble(pt) -> None
Point2DDouble(pt) -> None
__init__ (self)
None
__init__ (self, x, y)
x (wx.Double)
y (wx.Double)
None
__init__ (self, pt)
pt (Point2DDouble)
None
__init__ (self, pt)
pt (wx.Point)
None
Get() . (x,y)
Return the x and y properties as a tuple.
Any
vec (Point2DDouble)
float
pt (Point2DDouble)
float
pt (Point2DDouble)
float
vec (Point2DDouble)
float
Tuple[int, int]
Returns an immutable representation of the wx.Point2D object, based on namedtuple.
This new object is hashable and can be used as a dictionary key,
be added to sets, etc. It can be converted back into a real wx.Point2D
with a simple statement like this: obj = wx.Point2D(imObj).
Tuple[int, int]
float
float
None
degrees (wx.Double)
None
length (wx.Double)
None
pt (Point2DDouble)
bool
pt (Point2DDouble)
Point2DDouble
pt (Point2DDouble)
Point2DDouble
Point2DDouble
pt (Point2DDouble)
Point2DDouble
pt (Point2DDouble)
Point2DDouble
pt (Point2DDouble)
bool
See GetVectorAngle and SetVectorAngle
See GetVectorLength and SetVectorLength
A public C++ attribute of type Double .
A public C++ attribute of type Double .