public enum DatelineRule extends Enum<DatelineRule>
Enum Constant and Description |
---|
ccwRect
For rectangular polygons, the point order is interpreted as being counter-clockwise (CCW).
|
none
No polygon will cross the dateline.
|
width180
Adjacent points with an x (longitude) difference that spans more than half way around the
globe will be interpreted as going the other (shorter) way, and thus cross the dateline.
|
Modifier and Type | Method and Description |
---|---|
static DatelineRule |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DatelineRule[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DatelineRule none
public static final DatelineRule width180
public static final DatelineRule ccwRect
width180
rule instead. The CCW rule is specified by OGC Simple Features
Specification v. 1.2.0 section 6.1.11.1.public static DatelineRule[] values()
for (DatelineRule c : DatelineRule.values()) System.out.println(c);
public static DatelineRule 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 © 2015. All rights reserved.