code: private static boolean overlaps_(String scl, int dim_a, int dim_b) {
  		if (dim_a == dim_b) {
  			if (dim_a != 1) {
  				// Valid for area-area, Point-Point
  				if (scl.charAt(0) == 'T' && scl.charAt(1) == '*'
  						&& scl.charAt(2) == 'T' && scl.charAt(3) == '*'
  						&& scl.charAt(4) == '*' && scl.charAt(5) == '*'
  						&& scl.charAt(6) == 'T' && scl.charAt(7) == '*'
  						&& scl.charAt(8) == '*')
  					return true;
  
  				return false;
  			}
  
  			// Valid for Line-Line
  			if (scl.charAt(0) == '1' && scl.charAt(1) == '*'
  					&& scl.charAt(2) == 'T' && scl.charAt(3) == '*'
  					&& scl.charAt(4) == '*' && scl.charAt(5) == '*'
  					&& scl.charAt(6) == 'T' && scl.charAt(7) == '*'
  					&& scl.charAt(8) == '*')
  				return true;
  		}
  
  		return false;
  	}
docs: Checks whether the scl string is the overlaps relation.