Enum Class IntersectionStatus

java.lang.Object
java.lang.Enum<IntersectionStatus>
org.jhotdraw8.geom.intersect.IntersectionStatus
All Implemented Interfaces:
Serializable, Comparable<IntersectionStatus>, Constable

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

    • INTERSECTION

      public static final IntersectionStatus INTERSECTION
      Shape 1 intersects with shape 2.
    • NO_INTERSECTION

      public static final IntersectionStatus NO_INTERSECTION
      Shape 1 does not intersect with shape 2.
    • NO_INTERSECTION_INSIDE

      public static final IntersectionStatus NO_INTERSECTION_INSIDE
      Shape 1 does not intersect with shape 2, and shape 1 is inside of shape 2.
    • NO_INTERSECTION_OUTSIDE

      public static final IntersectionStatus NO_INTERSECTION_OUTSIDE
      Shape 1 does not intersect with shape 2, and shape 1 is outside of shape 2.
    • NO_INTERSECTION_INSIDE_AND_OUTSIDE

      public static final IntersectionStatus NO_INTERSECTION_INSIDE_AND_OUTSIDE
      Shape 1 does not intersect with shape 2, and shape 1 is inside and outside of shape 2.
    • NO_INTERSECTION_TANGENT

      public static final IntersectionStatus NO_INTERSECTION_TANGENT
      Shape 1 does not intersect with shape 2, and shape 1 is tangent to shape 2.
    • NO_INTERSECTION_COINCIDENT

      public static final IntersectionStatus NO_INTERSECTION_COINCIDENT
      Shape 1 does not intersect with shape 2, and shape 1 is coincident with shape 2.
    • NO_INTERSECTION_PARALLEL

      public static final IntersectionStatus NO_INTERSECTION_PARALLEL
      Shape 1 does not intersect with shape 2, and shape 1 is parallel to shape 2.
  • Method Details

    • values

      public static IntersectionStatus[] 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 IntersectionStatus 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