Home | Trees | Index | Help |
|
---|
Package wx :: Class Point2D |
|
object
--+
|
Point2D
Method Summary | |
---|---|
Point2D |
Create a w.Point2D object. |
bool |
Test for equality |
__getitem__(self,
index)
| |
Point2D | __iadd__(self,
pt)
|
Point2D | __idiv__(self,
pt)
|
Point2D | __imul__(self,
pt)
|
Point2D | __isub__(self,
pt)
|
__len__(self)
| |
bool |
Test for inequality |
Point2D |
the reflection of this point |
__nonzero__(self)
| |
__reduce__(self)
| |
__repr__(self)
| |
__setitem__(self,
index,
val)
| |
__str__(self)
| |
asTuple is deprecated, use Get instead | |
(x,y) |
Return x and y properties as a tuple. |
double | GetCrossProduct(self,
vec)
|
double | GetDistance(self,
pt)
|
double | GetDistanceSquare(self,
pt)
|
double | GetDotProduct(self,
vec)
|
(x,y) |
Convert to integer |
(x,y) |
Convert to integer |
double | GetVectorAngle(self)
|
double | GetVectorLength(self)
|
Normalize(self)
| |
Set(self,
x,
y)
| |
SetPolarCoordinates(self,
angle,
length)
| |
SetVectorAngle(self,
degrees)
| |
SetVectorLength(self,
length)
|
Property Summary | |
---|---|
x | |
y |
Class Variable Summary | |
---|---|
bool |
__safe_for_unpickling__ = True
|
Method Details |
---|
__init__(self,
x=0.0,
y=0.0)
Create a w.Point2D object. |
__eq__(self,
pt)
Test for equality |
__ne__(self, pt)Test for inequality
|
__neg__(self)the reflection of this point
|
asTuple(*args, **kwargs)asTuple is deprecated, useGet instead |
Get()Return x and y properties as a tuple.
|
GetFloor()Convert to integer
|
GetRounded()Convert to integer
|
Property Details |
---|
x
|
y
|
Class Variable Details |
---|
__safe_for_unpickling__
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1.20040428.rpd on Tue Apr 26 14:25:24 2005 | http://epydoc.sf.net |