package jalview.datamodel;
+import jalview.renderer.ContactGeometry.contactInterval;
+
public interface ContactListProviderI
{
*/
double getContactAt(int column);
+
+ /**
+ * Return positions in local reference corresponding to cStart and cEnd in matrix data
+ * @param cStart
+ * @param cEnd
+ * @return int[] { start, end (inclusive) for each contiguous segment}
+ */
+ default int[] getMappedPositionsFor(int cStart, int cEnd) {
+ return new int[] { cStart, cEnd};
+ }
+
}