|
| Coord_grid () |
| null constructor
|
|
| Coord_grid (const Vec3< int > v) |
| constructor: copy/convert
|
|
| Coord_grid (const int &u, const int &v, const int &w) |
| constructor: from u,v,w
|
|
| Coord_grid (const Grid &g, const int &index) |
| constructor: from a grid and an index in that grid
|
|
const int & | u () const |
| get u
|
|
const int & | v () const |
| get v
|
|
const int & | w () const |
| get w
|
|
int & | u () |
| set u
|
|
int & | v () |
| set v
|
|
int & | w () |
| set w
|
|
Coord_map | coord_map () const |
| convert to Coord_map More...
|
|
Coord_frac | coord_frac (const Grid_sampling &g) const |
| convert to Coord_frac using given Grid_sampling More...
|
|
Coord_grid | transform (const Isymop &op) const |
| return transformed coordinate
|
|
Coord_grid | unit (const Grid_sampling &g) const |
| reduce to unit box: (0..nu-1, 0..nv-1, 0..nw-1) More...
|
|
const Coord_grid & | next (const Grid &g) |
| increment in storage order (see index()) More...
|
|
const Coord_grid & | next (const Grid_range &g) |
| increment in storage order (see index()) More...
|
|
bool | last (const Grid &g) const |
| test if done in storage order (see index()) More...
|
|
bool | last (const Grid_range &g) const |
| test if done in storage order (see index()) More...
|
|
int | index (const Grid &g) const |
| grid indexing operator More...
|
|
void | deindex (const Grid &g, const int &index) |
| grid deindexing operator More...
|
|
String | format () const |
| return formatted String representation More...
|
|
| Vec3 () |
| null constructor
|
|
| Vec3 (const int &v0, const int &v1, const int &v2) |
| constructor: from individual values
|
|
| Vec3 (const Vec3< TT > &v) |
| constructor: copy/convert
|
|
bool | equals (const Vec3< int > &v, const int &tol) const |
| test equality
|
|
const int & | operator[] (const int &i) const |
| get element
|
|
int & | operator[] (const int &i) |
| set element
|
|
Vec3< int > | 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< int > & | operator+= (const Vec3< int > &v) |
| add another vector to this one
|
|
const Vec3< int > & | operator-= (const Vec3< int > &v) |
| subtract another vector from this one
|
|