public static enum NonSimpleResult.Reason extends Enum<NonSimpleResult.Reason>
Enum Constant and 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).
|
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.