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 | |
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 | |
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) |
map coordinate: this is like Coord_grid, but non-integer
Coord_frac clipper::Coord_map::coord_frac | ( | const Grid & | g | ) | const [inline] |
grid-fractional coordinate conversion
g | The grid concerned |
References clipper::Grid::nu(), clipper::Grid::nv(), clipper::Grid::nw(), u(), v(), and w().
String clipper::Coord_map::format | ( | ) | const |
return formatted String representation
Reimplemented from clipper::Vec3<>.