Class for 3D (x,y,z) coordinates.
|
|
__mul__(self,
a)
Multiplication with either: a Float (scaling) a Coordinate (dot
product) or an AxisSystem (vector-matrix multiplication) |
source code
|
|
|
|
|
|
|
__div__(self,
a)
Division by Float: equivalent to 1/a multiplication |
source code
|
|
|
|
|
|
|
size(self)
The scalar length of the Coordinate |
source code
|
|
|
|
normalize(self)
Re-scale the Coordinate length to 1 , returns Vector |
source code
|
|
|
|
crossproduct(self,
v)
Returns a Coordinate perpendicular both to this one and to v |
source code
|
|
|
|
__xor__(self,
v)
Symbol ^, equivalent to crossproduct |
source code
|
|
|
|
|
|
|
__add__(self,
a)
Addition of another Coordinate |
source code
|
|
|
|
|
|
|
__sub__(self,
a)
Subtraction of another Coordinate |
source code
|
|
|
|
|
|
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__init__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|