public enum DistanceMode extends java.lang.Enum<DistanceMode>
Distance measure mode
| Enum Constant and Description |
|---|
Geodesic
Geodesic mode, the shortest distance along the Earth's ellipsoid, the default mode
|
Planar
Plane mode, two-point straight-line distance, valid only when it is projected system.
|
| Modifier and Type | Method and Description |
|---|---|
static DistanceMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DistanceMode[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final DistanceMode Geodesic
public static final DistanceMode Planar
public static DistanceMode[] values()
for (DistanceMode c : DistanceMode.values())
System.out.println(c);
public static DistanceMode valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null