Clustering de Proteine
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
atom.h
Go to the documentation of this file.
1 #ifndef ATOM_H
2 #define ATOM_H
3 struct Point
4 {
5  float x,y,z;
6  Point(float x,float y,float z)
7  {
8  this->x = x;
9  this->y = y;
10  this->z = z;
11  }
12 };
13 
14 class Atom
15 {
16  int snum;
17  char name[5];
18  char alt;
19  char resname[4];
20  char chain;
21  int resnum;
22  char insertion_residue_code;
23  float x,y,z;
24  float occupancy, tempFactor;
25  char segID[5];
26  char element[3];
27  char charge[3];
28 public:
29  Atom();
30  Atom(int snum,char name[5],char alt,char resname[4],char chain,int resnum,char insertion_residue_code,Point coord,
31  float occupancy,float tempFactor,char segID[5],char element[3],char charge[3]);
32  void set_cartesian_coords(Point coord);
34 };
35 
36 #endif // ATOM_H