X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2FMCview%2FBond.java;h=5f162b0f2393b631a6f6acd9e34bc7c71e8bb149;hb=05cc1e453976137138e0d24ba0264b8e5f35b628;hp=17f66bba2f5ab5028bdfcb9ac0061ebe34e70c53;hpb=588042b69abf8e60bcc950b24c283933c7dd422f;p=jalview.git diff --git a/src/MCview/Bond.java b/src/MCview/Bond.java index 17f66bb..5f162b0 100755 --- a/src/MCview/Bond.java +++ b/src/MCview/Bond.java @@ -26,10 +26,10 @@ public class Bond { float[] end; Color startCol; Color endCol; - public myAtom at1; - public myAtom at2; + public Atom at1; + public Atom at2; - public Bond(float[] start, float[] end, myAtom at1, myAtom at2) { + public Bond(float[] start, float[] end, Atom at1, Atom at2) { this.start = start; this.end = end; this.startCol = at1.color; @@ -55,12 +55,6 @@ public class Bond { this.endCol = bond.endCol; } - public void print() { - System.out.println("Start " + start[0] + " " + start[1] + " " + - start[2]); - System.out.println("End " + end[0] + " " + end[1] + " " + end[2]); - } - public float length() { float len = ((end[0] - start[0]) * (end[0] - start[0])) + ((end[1] - start[1]) * (end[1] - start[1])) +