|
| Coord_reci_orth () |
| null constructor
|
|
| Coord_reci_orth (const Vec3<> &v) |
| constructor: copy/convert
|
|
| Coord_reci_orth (const ftype &xs, const ftype &ys, const ftype &zs) |
| constructor: from x*,y*,z*
|
|
const ftype & | xs () const |
| get x*
|
|
const ftype & | ys () const |
| get y*
|
|
const ftype & | zs () const |
| get z*
|
|
ftype | invresolsq () const |
| return inverse resolution squared for this coord More...
|
|
Coord_reci_frac | coord_reci_frac (const Cell &cell) const |
| orthogonal-fractional reciprocal space coordinate conversion More...
|
|
Coord_reci_orth | transform (const RTop_orth &op) const |
| return transformed coordinate
|
|
String | format () const |
| return formatted String representation More...
|
|
| Vec3 () |
| null constructor
|
|
| Vec3 (const T &v0, const T &v1, const T &v2) |
| constructor: from individual values
|
|
template<class TT > |
| Vec3 (const Vec3< TT > &v) |
| constructor: copy/convert
|
|
bool | equals (const Vec3< T > &v, const T &tol) const |
| test equality
|
|
const T & | operator[] (const int &i) const |
| get element
|
|
T & | operator[] (const int &i) |
| set element
|
|
Vec3< T > | unit () const |
| return unit vector with same direction as this vector
|
|
bool | is_null () const |
| test for null vector
|
|
String | format () const |
| return formatted String representation
|
|
const Vec3< T > & | operator+= (const Vec3< T > &v) |
| add another vector to this one
|
|
const Vec3< T > & | operator-= (const Vec3< T > &v) |
| subtract another vector from this one
|
|
orthogonal reciprocal coordinate (length of which is invresolsq)