Enum Geometry.Type

java.lang.Object
java.lang.Enum<Geometry.Type>
com.esri.core.geometry.Geometry.Type
All Implemented Interfaces:
Serializable, Comparable<Geometry.Type>, java.lang.constant.Constable
Enclosing class:
Geometry

public static enum Geometry.Type extends Enum<Geometry.Type>
The type of this geometry.
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    The value representing an envelope as geometry type.
    The value representing a line as geometry type.
    The value representing a multipoint as geometry type.
    The value representing a point as geometry type.
    The value representing a polygon as geometry type.
    The value representing a polyline as geometry type.
    Used to indicate that the geometry type is not known before executing a method.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private int
     
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    private
    Type(int val)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    intToType(int geometryType)
     
    int
    Returns the integer representation of the enumeration value.
    Returns the enum constant of this type with the specified name.
    static Geometry.Type[]
    Returns an array containing the constants of this enum type, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • Unknown

      public static final Geometry.Type Unknown
      Used to indicate that the geometry type is not known before executing a method.
    • Point

      public static final Geometry.Type Point
      The value representing a point as geometry type.
    • Line

      public static final Geometry.Type Line
      The value representing a line as geometry type.
    • Envelope

      public static final Geometry.Type Envelope
      The value representing an envelope as geometry type.
    • MultiPoint

      public static final Geometry.Type MultiPoint
      The value representing a multipoint as geometry type.
    • Polyline

      public static final Geometry.Type Polyline
      The value representing a polyline as geometry type.
    • Polygon

      public static final Geometry.Type Polygon
      The value representing a polygon as geometry type.
  • Field Details

    • enumValue

      private int enumValue
  • Constructor Details

    • Type

      private Type(int val)
  • Method Details

    • values

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

      public static Geometry.Type valueOf(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:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • value

      public int value()
      Returns the integer representation of the enumeration value.
    • intToType

      public static Geometry.Type intToType(int geometryType)