Package geomss.geom

Enum IntersectType

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<IntersectType>

    public enum IntersectType
    extends java.lang.Enum<IntersectType>
    Indicates the type of intersection that resulted from certain intersection calculations.

    Modified by: Joseph A. Huwaldt

    Version:
    August 29, 2015
    Author:
    Joseph A. Huwaldt, Date: October 31, 2011
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      COINCIDENT
      The objects are coincident (the entire object intersects).
      DISJOINT
      There is no intersection.
      INTERSECT
      There is at least one intersection.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static IntersectType valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static IntersectType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Method Detail

      • values

        public static IntersectType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (IntersectType c : IntersectType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static IntersectType valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null