1 |
#ifndef __MOLOCATOR_H__ |
2 |
#define __MOLOCATOR_H__ |
3 |
|
4 |
#include "Atom.hpp" |
5 |
#include "MoleculeStamp.hpp" |
6 |
|
7 |
|
8 |
class MoLocator{ |
9 |
|
10 |
public: |
11 |
|
12 |
MoLocator( MoleculeStamp* theStamp ); |
13 |
~MoLocator(); |
14 |
|
15 |
void placeMol( double pos[3], double ornt[3][3], Atom** atomArray, |
16 |
int atomIndex ); |
17 |
double getMaxLength( void ) { return maxLength; } |
18 |
|
19 |
private: |
20 |
|
21 |
void calcRefCoords( void ); |
22 |
void rotMe( double r[3], double A[3][3] ); |
23 |
|
24 |
MoleculeStamp* myStamp; |
25 |
double *myCoords; |
26 |
double maxLength; |
27 |
int nAtoms; |
28 |
}; |
29 |
|
30 |
|
31 |
#endif |