*/
public class ContactGeometry
{
-
+
final ContactListI contacts;
-
+
final int pixels_step;
final double contacts_per_pixel;
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
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)
{