CSJ2K.j2k.codestream.reader.BitstreamReaderAgent.getTile C# (CSharp) Method

getTile() public method

Returns the indexes of the current tile. These are the horizontal and vertical indexes of the current tile.
public getTile ( Coord co ) : Coord
co Coord If not null this object is used to return the information. If /// null a new one is created and returned. /// ///
return Coord
        public Coord getTile(Coord co)
        {
            if (co != null)
            {
                co.x = ctX;
                co.y = ctY;
                return co;
            }
            else
            {
                return new Coord(ctX, ctY);
            }
        }