Interface Shape2D

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static double epsilon
      Constant used for comparing doubles.
    • Field Detail

      • epsilon

        static final double epsilon
        Constant used for comparing doubles.
        See Also:
        Constant Field Values
    • Method Detail

      • contains

        boolean contains​(double x,
                         double y)
        Parameters:
        x - point x value
        y - point y value
        Returns:
        true if the specified point is inside; false otherwise.
      • isEmpty

        boolean isEmpty()
        Returns:
        true if the Shape is empty.