Clipper
Public Member Functions
clipper::Coord_reci_frac Class Reference

fractional reciprocal coordinate (i.e. non-integer hkl) More...

#include <coords.h>

Inheritance diagram for clipper::Coord_reci_frac:
clipper::Vec3<>

List of all members.

Public Member Functions

 Coord_reci_frac ()
 null constructor
 Coord_reci_frac (const Vec3<> &v)
 constructor: copy/convert
 Coord_reci_frac (const ftype &us, const ftype &vs, const ftype &ws)
 constructor: from u,v,w
 Coord_reci_frac (const HKL &hkl)
 constructor: from HKL
HKL hkl () const
 round to HKL
ftype invresolsq (const Cell &cell) const
 return inverse resolution squared for this reflection in given cell
const ftypeus () const
 get u*
const ftypevs () const
 get v*
const ftypews () const
 get w*
Coord_reci_orth coord_reci_orth (const Cell &cell) const
 fractional-orthogonal reciprocal space coordinate conversion
Coord_reci_frac transform (const RTop_frac &op) const
 return transformed coordinate
String format () const
 return formatted String representation

Detailed Description

fractional reciprocal coordinate (i.e. non-integer hkl)


Member Function Documentation

ftype clipper::Coord_reci_frac::invresolsq ( const Cell cell) const [inline]

return inverse resolution squared for this reflection in given cell

Parameters:
cellThe cell concerned
Returns:
The inverse resolution squared.

References clipper::Metric_tensor::lengthsq(), and clipper::Cell::metric_reci().

Coord_reci_orth clipper::Coord_reci_frac::coord_reci_orth ( const Cell cell) const [inline]

fractional-orthogonal reciprocal space coordinate conversion

Parameters:
cellThe cell concerned
Returns:
The transformed coordinate.

References clipper::Cell::matrix_frac().

Referenced by clipper::HKL::coord_reci_orth().

String clipper::Coord_reci_frac::format ( ) const

return formatted String representation

Returns:
The formatted text string

Reimplemented from clipper::Vec3<>.

References us(), vs(), and ws().


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