45 fCenterX(0),fCenterY(0),fCenterZ(0),
46 fCenterBaseX(0),fCenterBaseY(0),fCenterBaseZ(0),
47 fCenterSugarX(0),fCenterSugarY(0),fCenterSugarZ(0),
48 fCenterPhosphateX(0),fCenterPhosphateY(0),fCenterPhosphateZ(0),
51 for (
int i = 0; i < 33; ++i )
60 double Bx,
double By,
double Bz,
61 double Sx,
double Sy,
double Sz,
62 double Px,
double Py,
double Pz)
69 for (
int i = 0; i < 33; ++i )
Definition of the Barycenter class.
void SetNext(Barycenter *)
Set the next Barycenter.
Barycenter * fpNext
Header of the next Molecule (usage before vector)
double fCenterBaseY
"Y coordinate" of this Base Barycenter
void SetDistance(int i, double)
Set the distance between atom i and nucleotide barycenter.
double fCenterPhosphateX
"X coordinate" of this Phosphate Barycenter
Barycenter()
First constructor.
double fCenterSugarY
"Y coordinate" of this Sugar Barycenter
Barycenter * GetNext()
Get the next Barycenter.
double fCenterSugarX
"X coordinate" of this Sugar Barycenter
double fCenterZ
"Z coordinate" of this nucelotide Barycenter
double fCenterBaseX
"X coordinate" of this Base Barycenter
double fCenterBaseZ
"Z coordinate" of this Base Barycenter
double GetRadius()
Get the distance between the farther atom and nucleotide barycenter.
double fCenterSugarZ
"Z coordinate" of this Sugar Barycenter
void SetRadius(double)
Set the distance between the farther atom and nucleotide barycenter.
double fCenterPhosphateY
"Y coordinate" of this Phosphate Barycenter
int fBaryNum
Barycenter number.
double fCenterPhosphateZ
"Z coordinate" of this Phosphate Barycenter
int GetID()
Get the first.
double fCenterY
"Y coordinate" of this nucelotide Barycenter
double GetDistance(int i)
Get the distance between atom i and nucleotide barycenter.
double fDistanceTab[33]
distance table [0..32] (11 hydrogens!)
double fCenterX
"X coordinate" of this nucelotide Barycenter