Enum Class InsideContourStatus

java.lang.Object
java.lang.Enum<InsideContourStatus>
net.algart.contours.InsideContourStatus
All Implemented Interfaces:
Serializable, Comparable<InsideContourStatus>, Constable

public enum InsideContourStatus extends Enum<InsideContourStatus>
  • Enum Constant Details

    • INSIDE

      public static final InsideContourStatus INSIDE
      Indicates that some point or object is a subset of the figure, lying strictly inside some contour, and does not contain points of this contour itself (i.e. at the boundary of this figure).
    • BOUNDARY

      public static final InsideContourStatus BOUNDARY
      Indicates that some point or set of points a subset of the contour (all points lies at some segments of this contour).
    • OUTSIDE

      public static final InsideContourStatus OUTSIDE
      Indicates that some point or object has no common points with the figure, lying inside some contour, and also with the contour itself (i.e. with the boundary of this figure).
  • Method Details

    • values

      public static InsideContourStatus[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static InsideContourStatus valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • isStrictlyInside

      public boolean isStrictlyInside()
    • isBoundary

      public boolean isBoundary()
    • isStrictlyOutside

      public boolean isStrictlyOutside()
    • matchesStatus

      public boolean matchesStatus(double information)
    • isStrictlyInside

      public static boolean isStrictlyInside(double information)
    • isBoundary

      public static boolean isBoundary(double information)
    • isStrictlyOutside

      public static boolean isStrictlyOutside(double information)
    • getInsideSectionWidth

      public static double getInsideSectionWidth(double insideStatus)
    • isHorizontalBoundary

      public static boolean isHorizontalBoundary(double boundaryStatus)
    • isLeftBoundary

      public static boolean isLeftBoundary(double boundaryStatus)
    • isRightBoundary

      public static boolean isRightBoundary(double boundaryStatus)
    • isNormalLeftRightBoundary

      public static boolean isNormalLeftRightBoundary(double boundaryStatus)
    • isDegeneratedLeftRightBoundary

      public static boolean isDegeneratedLeftRightBoundary(double boundaryStatus)
    • getBoundarySectionSecondEnd

      public static double getBoundarySectionSecondEnd(double boundaryStatus)
    • valueOfInformation

      public static InsideContourStatus valueOfInformation(double information)