scala::Hkl Class Reference

reflection 'Miller' index More...

#include <hkl_datatypes.hh>

Inherits clipper::Vec3< int >.

List of all members.

Public Member Functions

 Hkl ()
 null constructor
 Hkl (const Vec3< int > &v)
 constructor: copy/convert
 Hkl (const int &h, const int &k, const int &l)
 constructor: from H,K,L
 Hkl (const Vec3< double > &d)
 constructor from double
 Hkl (const clipper::HKL &chkl)
 constructor from clipper::HKL
const int & h () const
 get h
const int & k () const
 get k
const int & l () const
 get l
int & h ()
 set h
int & k ()
 set k
int & l ()
 set l
bool IsGeneral () const
clipper::HKL HKL () const
 return clipper HKL
Vec3< Dtype > real () const
 return real version of hkl
Dtype invresolsq (const Scell &cell) const
 return inverse resolution squared for this reflection in given cell
Hkl change_basis (const ReindexOp &reindex_op) const
 change basis: new h' = h * reindex_op
bool change_basis (Hkl &Newhkl, const ReindexOp &reindex_op) const
 change basis: new h' = h * reindex_op. return false if indices are non-integral
Vec3< Dtype > orth (const Scell &cell) const
 return orthogonalised vector [B] h
std::string format () const
int code () const
 returned packed form as index code

Friends

Hkl operator- (const Hkl &h1)
Hkl operator+ (const Hkl &h1, const Hkl &h2)
Hkl operator- (const Hkl &h1, const Hkl &h2)
Hkl operator* (const int &s, const Hkl &h1)

Detailed Description

reflection 'Miller' index

Copied from Clipper::HKL with some simplifications


Member Function Documentation

std::string scala::Hkl::format (  )  const

return formatted String representation

bool scala::Hkl::IsGeneral (  )  const

true if not in any potential zero level


The documentation for this class was generated from the following files:
 All Classes Functions Variables Enumerations Friends
Generated on Tue Mar 1 11:22:31 2011 for Pointless by  doxygen 1.6.3