JAL-4059 update Jmol and JSmol to 15.2.69 - revised Jalview classes interating with...
[jalview.git] / src / mc_view / Atom.java
index 3b4f409..2416270 100755 (executable)
  */
 package mc_view;
 
-import jalview.schemes.ResidueProperties;
-
 import java.awt.Color;
 
+import jalview.schemes.ResidueProperties;
+
 public class Atom
 {
-  public float x;
+  public double x;
 
-  public float y;
+  public double y;
 
-  public float z;
+  public double z;
 
   public int number;
 
@@ -60,9 +60,9 @@ public class Atom
 
   public int atomIndex;
 
-  public float occupancy = 0;
+  public double occupancy = 0;
 
-  public float tfactor = 0;
+  public double tfactor = 0;
 
   // need these if we ever want to export Atom data
   // public boolean tfacset=true,occset=true;
@@ -127,10 +127,10 @@ public class Atom
     return false;
   }
 
-  public Atom(float x, float y, float z)
+  public Atom(double x2, double y2, double z2)
   {
-    this.x = x;
-    this.y = y;
-    this.z = z;
+    this.x = x2;
+    this.y = y2;
+    this.z = z2;
   }
 }