| Home | Trees | Indices | Help | 
 | 
|---|
|  | 
 
A point in 2D space. Immutable.
| Instance Methods | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| norm | 
 | ||
| normalized | 
 | ||
| pos | 
 | ||
| 
 | |||
| 
 | |||
| Inherited from  Inherited from  | |||
| Static Methods | |||
| DPoint | 
 | ||
| Properties | |
| x | |
| y | |
| Inherited from  | |
| Method Details | 
| 
 hash(x) 
 | 
| 
 Raises an exception This class cannot be instantiated from Python 
 | 
| 
 repr(x) 
 | 
| 
 str(x) 
 | 
| 
 Converts polar to cartesian coordinates. angle is in radians with 0 being the positive x axis. Assuming that y points downward, angle is clockwise. 
 | 
| 
 Return the position of point rotated around the origin. getRotated(angle, pivot) -> pos Return the position of point rotated around pivot. 
 | 
| Property Details | 
| x
 | 
| y
 | 
| Home | Trees | Indices | Help | 
 | 
|---|
| Generated by Epydoc 3.0.1 on Fri Jan 8 16:09:00 2010 | http://epydoc.sourceforge.net |