Class CoordInfo

  • Direct Known Subclasses:
    CBlkCoordInfo, PrecCoordInfo

    public abstract class CoordInfo
    extends java.lang.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 Summary

      Fields 
      Modifier and Type Field Description
      int h
      Object's height
      int ulx
      Horizontal upper left coordinate in the subband
      int uly
      Vertical upper left coordinate in the subband
      int w
      Object's width
    • Constructor Summary

      Constructors 
      Constructor Description
      CoordInfo()
      Empty contructor
      CoordInfo​(int ulx, int uly, int w, int h)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String toString()
      Returns object's information in a String
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • 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 java.lang.String toString()
        Returns object's information in a String
        Overrides:
        toString in class java.lang.Object
        Returns:
        String with object's information