The three coordinates can be extracted by indexing.
|
__add__(self,
other)
|
|
__cmp__(self,
other)
|
|
__copy__(self,
memo=None)
|
|
__deepcopy__(self,
memo=None)
|
|
__div__(self,
other)
|
|
__getitem__(self,
index)
|
|
__getstate__(self)
|
|
__init__(self,
x=None,
y=None,
z=None)
There are two supported calling patterns:
|
|
__len__(self)
|
|
__mul__(self,
other)
|
|
__neg__(self)
|
|
__radd__(self,
other)
|
|
__rdiv__(self,
other)
|
|
__repr__(self)
|
|
__rmul__(self,
other)
|
|
__rsub__(self,
other)
|
|
__setstate__(self,
state)
|
|
__str__(self)
|
|
__sub__(self,
other)
|
float
|
angle(self,
other)
Returns
the angle to other
|
Scientific.Geometry.Tensor
|
asTensor(self)
Returns
an equivalent rank-1 tensor object
|
Vector
|
cross(self,
other)
Returns
cross product with other
|
Scientific.Geometry.Tensor
|
dyadicProduct(self,
other)
Returns
the dyadic product with other
|
type of vector elements
|
length(self)
Returns
the length (norm) of the vector
|
Vector
|
normal(self)
Returns
a normalized (length 1) copy of the vector
|
type of vector elements
|
x(self)
Returns
the x coordinate
|
type of vector elements
|
y(self)
Returns
the y coordinate
|
type of vector elements
|
z(self)
Returns
the z coordinate
|