       b2 = 2*hx[1] + aa%2 - 1
       @test_left_right_top_bottom(aa,b2)
     @get_corner_fit()
-
+    @get_box_xy()
+    @report_metrics() if @metrics_report == true
+
+
+  report_metrics: () ->
     console.log("HexBox: left = "+@left)
     console.log("HexBox: right = "+@right)
     console.log("HexBox: top = "+@top)


  dot: (x,y) ->
    hex = @grid_model.get_hex(x,y)

#    if hex[0] in [6,7,8] and hex[1] in [3,4,5]
    if hex[0] > 0 and hex[0] < 25 and hex[1] > 0 and hex[1] < 11
      color = @get_dot_color(hex)
      @put_dot(x,y,color)

  constructor: (puzzle_app) ->
    @puzzle = puzzle_app
    @puzzle_view = @puzzle.puzzle_view
    @hex_box = @puzzle.hex_box

    @mode = null
    @context = null

    @dx = 108
    @dy = 18
    @colors = ["#cc5050","#5050cc","#50cccc","#50cc50","#cccc50","#cc50cc","#000000"]


