 
     unless @minCoord
       return { hasNext : false }
+
+    @addContour( @contourList[0] )
 
     minCoord2d = @get2DCoordinate(@minCoord)
     maxCoord2d = @get2DCoordinate(@maxCoord)

    @minCoord    = null

  addContour : (pos) ->
    
    @contourList.push(pos)
    @updateArea(pos)



class VolumeLayer

  MIN_DISTANCE : 2
  GRID_SIZE : 10
  
  constructor : (@plane, @thirdDimensionValue) ->
    
