15#ifndef _RBTPRINCIPALAXES_H_
16#define _RBTPRINCIPALAXES_H_
18#include "rxdock/Atom.h"
19#include "rxdock/Config.h"
21#include <nlohmann/json.hpp>
23using json = nlohmann::json;
33 : com(0.0, 0.0, 0.0), axis1(1.0, 0.0, 0.0), axis2(0.0, 1.0, 0.0),
34 axis3(0.0, 0.0, 1.0), moment1(1.0), moment2(1.0), moment3(1.0) {}
47typedef std::vector<PrincipalAxes> PrincipalAxesList;
48typedef PrincipalAxesList::iterator PrincipalAxesListIter;
49typedef PrincipalAxesList::const_iterator PrincipalAxesListConstIter;
52RBTDLL_EXPORT
PrincipalAxes GetPrincipalAxesOfAtoms(
const AtomList &atomList);
55RBTDLL_EXPORT
PrincipalAxes GetPrincipalAxesOfAtoms(
const CoordList &coordList);
61Quat AlignPrincipalAxesOfAtoms(AtomList &atomList,
63 bool bAlignCOM =
true);
Definition PrincipalAxes.h:29