| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
Coordinate --+
|
Vector
Spyder-generated class
module tarantula
file /home/sjoerd/Spyder-devel/tarantula/Tarantula.spy
Fork of Coordinate that ensures a length of 1
http://www.spyderware.nl/wiki/classes/Vector
>>> assert abs(x**2+y**2+z**2 - 1) < 0.001 >>>
>>> MIN x -1 MAX x 1 DEFAULT x 0 MIN y -1 MAX y 1 DEFAULT y 0 MIN z -1 MAX z 1 DEFAULT z 0 >>>
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from |
|||
|
|||
| Delete | (form) | ||
| Inherited from Coordinate | |||
|---|---|---|---|
| Float | x | ||
| Float | y | ||
| Float | z | ||
|
|||
|
Inherited from |
|||
|
|||
Multiplication with either: a Float (scaling) a Coordinate (dot product) or an AxisSystem (vector-matrix multiplication)
|
Inline multiplication
|
Division by Float: equivalent to 1/a multiplication
|
Inline division by Float
|
The scalar length of the Coordinate
|
Re-scale the Coordinate length to 1 , returns Vector
|
Returns a Coordinate perpendicular both to this one and to v
|
Symbol ^, equivalent to crossproduct
|
Negation, returns -self
|
Addition of another Coordinate
|
Inline addition
|
Subtraction of another Coordinate
|
Inline subtraction
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Mon May 10 22:45:19 2010 | http://epydoc.sourceforge.net |