Package com.esri.core.geometry
Enum NonSimpleResult.Reason
- All Implemented Interfaces:
Serializable
,Comparable<NonSimpleResult.Reason>
,java.lang.constant.Constable
- Enclosing class:
NonSimpleResult
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionNon-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 -
Method Summary
Modifier and TypeMethodDescriptionstatic NonSimpleResult.Reason
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 Details
-
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
non-simple, because the structure is bad (0 size path, for example). -
DegenerateSegments
Non-simple, because there are degenerate segments. -
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). -
RingOrientation
Non-simple, because holes or exteriors have wrong orientation. -
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
There is a self tangency or cross-over situation (strong simple, but not OGC simple) Only OperatorSimplifyOGC returns this. -
OGCPolygonSelfTangency
There is a self tangency situation (strong simple, but not OGC simple) Only OperatorSimplifyOGC returns this. -
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
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
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 nameNullPointerException
- if the argument is null
-