X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Frenderer%2FContactGeometry.java;h=9fd4de6cd02c2502ca94cfb106c4ab2c2d5059d4;hb=80b889f0cca49103e1b20ed806755a0719789906;hp=ad741ff3f7a8b9db277e3d88addd6bbe122e5fba;hpb=8288438dd58cfc2d1fe18a060afda0d647b85c32;p=jalview.git diff --git a/src/jalview/renderer/ContactGeometry.java b/src/jalview/renderer/ContactGeometry.java index ad741ff..9fd4de6 100644 --- a/src/jalview/renderer/ContactGeometry.java +++ b/src/jalview/renderer/ContactGeometry.java @@ -16,9 +16,9 @@ import jalview.renderer.ContactGeometry.contactInterval; */ public class ContactGeometry { - + final ContactListI contacts; - + final int pixels_step; final double contacts_per_pixel; @@ -29,7 +29,7 @@ public class ContactGeometry public ContactGeometry(final ContactListI contacts, int graphHeight) { - this.contacts=contacts; + this.contacts = contacts; this.graphHeight = graphHeight; contact_height = contacts.getContactHeight(); // fractional number of contacts covering each pixel @@ -70,14 +70,18 @@ public class ContactGeometry public final int pEnd; } + /** * * @param columnSelection * @param ci - * @param visibleOnly - when true, only test intersection of visible columns given matrix range - * @return true if the range on the matrix specified by ci intersects with selected columns in the ContactListI's reference frame. + * @param visibleOnly + * - when true, only test intersection of visible columns given + * matrix range + * @return true if the range on the matrix specified by ci intersects with + * selected columns in the ContactListI's reference frame. */ - + boolean intersects(contactInterval ci, ColumnSelection columnSelection, HiddenColumns hiddenColumns, boolean visibleOnly) {