Package com.esri.core.geometry
Enum NonSimpleResult.Reason
- java.lang.Object
-
- java.lang.Enum<NonSimpleResult.Reason>
-
- com.esri.core.geometry.NonSimpleResult.Reason
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<NonSimpleResult.Reason>
- Enclosing class:
- NonSimpleResult
public static enum NonSimpleResult.Reason extends java.lang.Enum<NonSimpleResult.Reason>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Clustering
Non-simple, because not clustered properly, that is there are non-coincident vertices closer than tolerance.Cracking
Non-simple, because not cracked properly (intersecting segments, overlaping segments)CrossOver
Non-simple, because there are crossovers (self intersections that are not cracking case).DegenerateSegments
Non-simple, because there are degenerate segments.NotDetermined
This value is returned if the geometry "knows" through an internal state that it is non-simple.OGCDisconnectedInterior
Touching interioir rings make a disconnected point set from polygon interior (strong simple, but not OGC simple).OGCPolygonSelfTangency
There is a self tangency situation (strong simple, but not OGC simple) Only OperatorSimplifyOGC returns this.OGCPolylineSelfTangency
There is a self tangency or cross-over situation (strong simple, but not OGC simple) Only OperatorSimplifyOGC returns this.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.RingOrientation
Non-simple, because holes or exteriors have wrong orientation.Structure
non-simple, because the structure is bad (0 size path, for example).
-
Constructor Summary
Constructors Modifier Constructor Description private
Reason()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static NonSimpleResult.Reason
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static NonSimpleResult.Reason[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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.
-
-
Method Detail
-
values
public static NonSimpleResult.Reason[] 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 (NonSimpleResult.Reason c : NonSimpleResult.Reason.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NonSimpleResult.Reason 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 namejava.lang.NullPointerException
- if the argument is null
-
-