Class FaceImageInfo.FeaturePoint

    • Constructor Detail

      • FeaturePoint

        public FeaturePoint​(int type,
                            int majorCode,
                            int minorCode,
                            int x,
                            int y)
        Constructs a new feature point.
        Parameters:
        type - feature point type
        majorCode - major code
        minorCode - minor code
        x - X-coordinate
        y - Y-coordinate
    • Method Detail

      • getMajorCode

        public int getMajorCode()
        Returns the major code of this point.
        Returns:
        major code
      • getMinorCode

        public int getMinorCode()
        Returns the minor code of this point.
        Returns:
        minor code
      • getType

        public int getType()
        Returns the type of this point.
        Returns:
        type
      • getX

        public int getX()
        Returns the X-coordinate of this point.
        Returns:
        X-coordinate
      • getY

        public int getY()
        Returns the Y-coordinate of this point.
        Returns:
        Y-coordinate
      • toString

        public String toString()
        Generates a textual representation of this point.
        Overrides:
        toString in class Object
        Returns:
        a textual representation of this point
        See Also:
        Object.toString()