Clipper
|
Crystallographic symmetry operator. More...
#include <symop.h>
Public Member Functions | |
Symop () | |
null constructor | |
Symop (const RTop<> &rt) | |
constructor: RTop | |
Symop (const ftype mat[4][4]) | |
constructor: from 4x4 matrix | |
String | format () const |
return formatted String representation |
Crystallographic symmetry operator.
This is identical to a fractional RTop, but has its own class since not all fractional RTops are symops. For a full list of methods, see clipper::RTop and clipper::RTop_frac
clipper::Symop::Symop | ( | const RTop<> & | rt | ) | [explicit] |
constructor: RTop
Construct a symmetry operator and initialise it to the supplied RTop. Translations are rounded to a basis of 48, and put on the range 0..1
mat | The RTop to use. |
References clipper::Util::intr(), clipper::Util::mod(), clipper::RTop< T >::rot(), clipper::RTop<>::rot(), clipper::RTop< T >::trn(), and clipper::RTop<>::trn().
clipper::Symop::Symop | ( | const ftype | mat[4][4] | ) | [explicit] |
constructor: from 4x4 matrix
Construct a symmetry operator and initialise it to the supplied matrix. Translations are rounded to a basis of 48, and put on the range 0..1
mat | The 4x4 matrix to use. The [i][3] elements contain the translation. |
References clipper::Util::intr(), clipper::Util::mod(), clipper::RTop<>::rot(), and clipper::RTop<>::trn().
String clipper::Symop::format | ( | ) | const |
return formatted String representation
Return formatted representation of the symmetry operator.
Reimplemented from clipper::RTop<>.
References clipper::Util::intr(), clipper::String::rational(), clipper::RTop<>::rot(), and clipper::RTop<>::trn().