public enum EnumLineProperty extends Enum<EnumLineProperty>
This enumeration allows user to know how polygon's points are connected. The enumeration can be of three kind :
STRAIGHT : A straight line is connecting each point. The associated projection is the
IdentityProjection
. Use this if you're interested in polygonal computation speed.
GREAT_CIRCLE : A great circle line is the shortest way to connect two points on a sphere (or on ellipsoid). Its associated projection method is a Gnomonic projection.
STRAIGHT_RHUMB_LINE : A straight rhumb line is a line of constant direction (constant bearing). The
Mercator
projection basically satisfied this property and all rhumb lines are shown as straight lines.
Enum Constant and Description |
---|
GREAT_CIRCLE
Great circle line property.
|
NONE
No particular property
|
STRAIGHT
Straight line property.
|
STRAIGHT_RHUMB_LINE
Rhumb line property.
|
Modifier and Type | Method and Description |
---|---|
String |
getName()
Get the line property's name.
|
static EnumLineProperty |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EnumLineProperty[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnumLineProperty STRAIGHT
public static final EnumLineProperty GREAT_CIRCLE
public static final EnumLineProperty STRAIGHT_RHUMB_LINE
public static final EnumLineProperty NONE
public static EnumLineProperty[] values()
for (EnumLineProperty c : EnumLineProperty.values()) System.out.println(c);
public static EnumLineProperty 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 nullpublic String getName()
Copyright © 2021 CNES. All rights reserved.