def to_ary type=0
      array = []
      if type == 0 or type == "w" # everytime true... for the moment
        array << @x << @y
        if @z != nil
          array << @z
        end
      else
        array << [@x] << [@y]
        if @z != nil
          array << [@z]
        end
      end
      return array
    end
def to_ary type=0
      array = []
      if type == 0 or type == "w" # everytime true... for the moment
        array << @x << @y
        if @z != nil
          array << @z
        end
      else
        array << [@x] << [@y]
        if @z != nil
          array << [@z]
        end
      end
      return array
    end
== Parameters:
 type::
   Optionnal. It specify the format of the array returned. It may be "h" (1) or "w" (0).
   * If it's "w" or 0, the Array will be [x,y]
   * If it's "h" or 1, the Array returned will be [[x],[y]]

 == Returns:
 Array or an Array of Array