The class vector3d describes three dimensional vectors, given by their coordinates x, y, z and allows to calculate with them as comfortable as with real numbers.
Syntax
v = vector3d(x,y,z)
v = vector3d(x,y,z,'antipodal')
v = vector3d.byPolar(theta,rho)Input
| x,y,z | cart. coordinates |
Output
| v | vector3d |
Flags
| antipodal | consider vector as an axis |
Class Properties
| x, y, z | cart. coordinates |
| isNormalized | whether the vector is a direction |
| antipodal | whether the vector is an axis |
Dependent Class Properties
| theta | polar angle in radiant |
| rho | azimuth angle in radiant |
| resolution | mean distance between the points on the sphere |
| xyz | cart. coordinates as matrix |
Derived Classes
| Miller | crystal directions |
| S2Grid | spherical grid |
See also
VectorDefinition VectorsOperations VectorsAxes VectorsImport VectorsExport