Class ObjectWithEllipse

Object
ObjectWithEllipse

public final class ObjectWithEllipse extends Object
A pair containing an ObjectMask and its corresponding best-fit Ellipse.
  • Constructor Details

    • ObjectWithEllipse

      public ObjectWithEllipse(ObjectMask object, Ellipse mark)
      Creates a new ObjectWithEllipse instance.
      Parameters:
      object - The object mask.
      mark - The best-fit ellipse for the object.
  • Method Details

    • getObject

      public ObjectMask getObject()
      The object mask.
    • getMark

      public Ellipse getMark()
      The best-fit ellipse for the object.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object