Class CoordInfo

  • Direct Known Subclasses:
    CBlkCoordInfo, PrecCoordInfo

    public abstract class CoordInfo
    extends Object
    This class is used to store the coordinates of objects such as code-blocks or precincts. As this is an abstract class, it cannot be used directly but derived classes have been created for code-blocks and packets (CBlkCoordInfo and PrecCoordInfo).
    See Also:
    PrecCoordInfo, CBlkCoordInfo
    • Field Detail

      • ulx

        public int ulx
        Horizontal upper left coordinate in the subband
      • uly

        public int uly
        Vertical upper left coordinate in the subband
      • w

        public int w
        Object's width
      • h

        public int h
        Object's height
    • Constructor Detail

      • CoordInfo

        public CoordInfo​(int ulx,
                         int uly,
                         int w,
                         int h)
        Constructor. Creates a CoordInfo object.
        Parameters:
        ulx - The horizontal upper left coordinate in the subband
        uly - The vertical upper left coordinate in the subband
        w - The width
        h - The height
      • CoordInfo

        public CoordInfo()
        Empty contructor
    • Method Detail

      • toString

        public String toString()
        Returns object's information in a String
        Overrides:
        toString in class Object
        Returns:
        String with object's information