Enum NonSimpleResult.Reason

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

public static enum NonSimpleResult.Reason extends Enum<NonSimpleResult.Reason>
  • 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
    Non-simple, because not clustered properly, that is there are non-coincident vertices closer than tolerance.
    Non-simple, because not cracked properly (intersecting segments, overlaping segments)
    Non-simple, because there are crossovers (self intersections that are not cracking case).
    Non-simple, because there are degenerate segments.
    This value is returned if the geometry "knows" through an internal state that it is non-simple.
    Touching interioir rings make a disconnected point set from polygon interior (strong simple, but not OGC simple).
    There is a self tangency situation (strong simple, but not OGC simple) Only OperatorSimplifyOGC returns this.
    There is a self tangency or cross-over situation (strong simple, but not OGC simple) Only OperatorSimplifyOGC returns this.
    The geometry is simple, but not strong-simple, because exteriors and holes are not in the correct order, and separation into sub polygons is not possible.
    Non-simple, because holes or exteriors have wrong orientation.
    non-simple, because the structure is bad (0 size path, for example).
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    private
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the enum constant of this type with the specified name.
    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

    • NotDetermined

      public static final NonSimpleResult.Reason NotDetermined
      This value is returned if the geometry "knows" through an internal state that it is non-simple. To make it determine the reason, use bForceTest == True.
    • Structure

      public static final NonSimpleResult.Reason Structure
      non-simple, because the structure is bad (0 size path, for example).
    • DegenerateSegments

      public static final NonSimpleResult.Reason DegenerateSegments
      Non-simple, because there are degenerate segments.
    • Clustering

      public static final NonSimpleResult.Reason Clustering
      Non-simple, because not clustered properly, that is there are non-coincident vertices closer than tolerance.
    • Cracking

      public static final NonSimpleResult.Reason Cracking
      Non-simple, because not cracked properly (intersecting segments, overlaping segments)
    • CrossOver

      public static final NonSimpleResult.Reason CrossOver
      Non-simple, because there are crossovers (self intersections that are not cracking case).
    • RingOrientation

      public static final NonSimpleResult.Reason RingOrientation
      Non-simple, because holes or exteriors have wrong orientation.
    • RingOrder

      public static final NonSimpleResult.Reason RingOrder
      The geometry is simple, but not strong-simple, because exteriors and holes are not in the correct order, and separation into sub polygons is not possible. Geometry needs to be resimplified with the bForceTest = true to fix this.
    • OGCPolylineSelfTangency

      public static final NonSimpleResult.Reason OGCPolylineSelfTangency
      There is a self tangency or cross-over situation (strong simple, but not OGC simple) Only OperatorSimplifyOGC returns this.
    • OGCPolygonSelfTangency

      public static final NonSimpleResult.Reason OGCPolygonSelfTangency
      There is a self tangency situation (strong simple, but not OGC simple) Only OperatorSimplifyOGC returns this.
    • OGCDisconnectedInterior

      public static final NonSimpleResult.Reason OGCDisconnectedInterior
      Touching interioir rings make a disconnected point set from polygon interior (strong simple, but not OGC simple). Only OperatorSimplifyOGC returns this.
  • Constructor Details

    • Reason

      private Reason()
  • Method Details

    • values

      public static NonSimpleResult.Reason[] 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 NonSimpleResult.Reason 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