Clipper
Public Member Functions | Static Public Member Functions
clipper::RTop_frac Class Reference

Fractional operator class. More...

#include <symop.h>

Inheritance diagram for clipper::RTop_frac:
clipper::RTop<> clipper::Symop

List of all members.

Public Member Functions

 RTop_frac ()
 null constructor
 RTop_frac (const RTop<> &o)
 constructor: copy/convert
 RTop_frac (const Mat33<> &r)
 constructor: from rotation
 RTop_frac (const String &strop)
 constructor: from string description
 RTop_frac (const Mat33<> &r, const Vec3<> &t)
 constructor: from rotation and translation
RTop_orth rtop_orth (const Cell &cell) const
 fractional-orthogonal conversion
RTop_frac inverse () const
 inverse operator

Static Public Member Functions

static RTop_frac identity ()
 return identity operator
static RTop_frac null ()
 return null (uninitialised) operator

Detailed Description

Fractional operator class.

This class is used for any RT-operator which operates on fractional coordinates. For a full list of methods, see clipper::RTop


Constructor & Destructor Documentation

clipper::RTop_frac::RTop_frac ( const String strop) [explicit]

constructor: from string description

Construct an RT operator from a string description, e.g. 1/2x,z-y+2/3,x '*' is optional for multiplication, commas are compulsory.

References clipper::Message::message(), clipper::String::rational(), clipper::RTop<>::rot(), clipper::String::split(), and clipper::RTop<>::trn().


Member Function Documentation

RTop_orth clipper::RTop_frac::rtop_orth ( const Cell cell) const

fractional-orthogonal conversion

Parameters:
cellThe cell concerned
Returns:
The transformed coordinate.

References clipper::Cell::matrix_frac(), and clipper::Cell::matrix_orth().

RTop_frac clipper::RTop_frac::inverse ( ) const

inverse operator

Returns:
The inverse of the operator.

Reimplemented from clipper::RTop<>.

References RTop_frac().

Referenced by clipper::Spgr_descr::Symop_codes::init_hall().

RTop_frac clipper::RTop_frac::identity ( ) [static]

return identity operator

Returns:
The identity operator.

Reimplemented from clipper::RTop<>.

References RTop_frac().

Referenced by clipper::Spgr_descr::Symop_codes::init_hall().

RTop_frac clipper::RTop_frac::null ( ) [static]

return null (uninitialised) operator

Returns:
The null (uninitialised) operator.

Reimplemented from clipper::RTop<>.

References RTop_frac().


The documentation for this class was generated from the following files: