Exemplo n.º 1
0
        /// <summary>
        /// Get cell from QR coordinates
        /// </summary>
        /// <param name="position"></param>
        /// <returns>Cell found</returns>
        /// <exception cref="ArgumentOutOfRangeException">if there's no cell in the given position</exception>
        public Cell GetCellAt(QRCoordinate position)
        {
            var positionRequested = CubeCoordinate.FromQr(position);

            var cell = GetCellAt(positionRequested);

            return(cell);
        }
Exemplo n.º 2
0
 /// <summary>
 /// Create cube coordinate from itself
 /// </summary>
 /// <returns>Cube座標オブジェクト</returns>
 public CubeCoordinate ToCube()
 {
     return(CubeCoordinate.FromQr(this));
 }