public static enum NonSimpleResult.Reason extends Enum<NonSimpleResult.Reason>
| Enum Constant and Description | 
|---|
| ClusteringNon-simple, because not clustered properly, that is there are non-coincident vertices closer than tolerance. | 
| CrackingNon-simple, because not cracked properly (intersecting segments, overlaping segments) | 
| CrossOverNon-simple, because there are crossovers (self intersections that are not cracking case). | 
| DegenerateSegmentsNon-simple, because there are degenerate segments. | 
| NotDeterminedThis value is returned if the geometry "knows" through an internal state that it is non-simple. | 
| OGCDisconnectedInteriorTouching interioir rings make a disconnected point set from polygon interior
 (strong simple, but not OGC simple). | 
| OGCPolygonSelfTangencyThere is a self tangency situation (strong simple, but not OGC simple)
 Only OperatorSimplifyOGC returns this. | 
| OGCPolylineSelfTangencyThere is a self tangency or cross-over situation (strong simple, but not OGC simple)
 Only OperatorSimplifyOGC returns this. | 
| RingOrderThe 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. | 
| RingOrientationNon-simple, because holes or exteriors have wrong orientation. | 
| Structurenon-simple, because the structure is bad (0 size path, for example). | 
| Modifier and Type | Method and Description | 
|---|---|
| static NonSimpleResult.Reason | valueOf(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. | 
public static final NonSimpleResult.Reason NotDetermined
public static final NonSimpleResult.Reason Structure
public static final NonSimpleResult.Reason DegenerateSegments
public static final NonSimpleResult.Reason Clustering
public static final NonSimpleResult.Reason Cracking
public static final NonSimpleResult.Reason CrossOver
public static final NonSimpleResult.Reason RingOrientation
public static final NonSimpleResult.Reason RingOrder
public static final NonSimpleResult.Reason OGCPolylineSelfTangency
public static final NonSimpleResult.Reason OGCPolygonSelfTangency
public static final NonSimpleResult.Reason OGCDisconnectedInterior
public static NonSimpleResult.Reason[] values()
for (NonSimpleResult.Reason c : NonSimpleResult.Reason.values()) System.out.println(c);
public static NonSimpleResult.Reason valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2018. All rights reserved.