|
Clipper
|
map coordinate: this is like Coord_grid, but non-integer More...
#include <coords.h>
Public Member Functions | |
| Coord_map () | |
| null constructor | |
| Coord_map (const Vec3<> &v) | |
| constructor: copy/convert | |
| Coord_map (const Coord_grid &c) | |
| constructor: from Coord_grid | |
| Coord_map (const ftype &u, const ftype &v, const ftype &w) | |
| constructor: from u,v,w | |
| Coord_frac | coord_frac (const Grid &g) const |
| grid-fractional coordinate conversion More... | |
| Coord_grid | coord_grid () const |
| return integer Coord_grid nearest this coordinate | |
| Coord_grid | floor () const |
| return integer Coord_grid below this coordinate | |
| Coord_grid | ceil () const |
| return integer Coord_grid above this coordinate | |
| const ftype & | u () const |
| get u | |
| const ftype & | v () const |
| get v | |
| const ftype & | w () const |
| get w | |
| String | format () const |
| return formatted String representation More... | |
Public Member Functions inherited from clipper::Vec3<> | |
| Vec3 () | |
| null constructor | |
| Vec3 (const ftype &v0, const ftype &v1, const ftype &v2) | |
| constructor: from individual values | |
| Vec3 (const Vec3< TT > &v) | |
| constructor: copy/convert | |
| bool | equals (const Vec3< ftype > &v, const ftype &tol) const |
| test equality | |
| const ftype & | operator[] (const int &i) const |
| get element | |
| ftype & | operator[] (const int &i) |
| set element | |
| Vec3< ftype > | 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< ftype > & | operator+= (const Vec3< ftype > &v) |
| add another vector to this one | |
| const Vec3< ftype > & | operator-= (const Vec3< ftype > &v) |
| subtract another vector from this one | |
Friends | |
| Coord_map | operator- (const Coord_map &u1) |
| Coord_map | operator+ (const Coord_map &u1, const Coord_map &u2) |
| Coord_map | operator- (const Coord_map &u1, const Coord_map &u2) |
| Coord_map | operator* (const ftype &s, const Coord_map &u1) |
Additional Inherited Members | |
Static Public Member Functions inherited from clipper::Vec3<> | |
| static Vec3< ftype > | zero () |
| return zero vector | |
| static Vec3< ftype > | null () |
| return null vector (only valid for floating point types) | |
| static ftype | dot (const Vec3< ftype > &v1, const Vec3< ftype > &v2) |
| Vector dot product (equivalent to *) | |
| static Vec3< ftype > | cross (const Vec3< ftype > &v1, const Vec3< ftype > &v2) |
| Vector cross product. | |
map coordinate: this is like Coord_grid, but non-integer
|
inline |
grid-fractional coordinate conversion
| g | The grid concerned |
| String clipper::Coord_map::format | ( | ) | const |
return formatted String representation
1.8.13