public static enum SnappingRuleInfo.SnappingType extends Enum<SnappingRuleInfo.SnappingType>
| Enum Constant and Description |
|---|
CLOSEST_ENDPOINT
Closest endpoint.
|
NEAREST_POINT
Nearest point on the geometry.
|
| Modifier and Type | Method and Description |
|---|---|
static SnappingRuleInfo.SnappingType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SnappingRuleInfo.SnappingType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SnappingRuleInfo.SnappingType CLOSEST_ENDPOINT
public static final SnappingRuleInfo.SnappingType NEAREST_POINT
public static SnappingRuleInfo.SnappingType[] values()
for (SnappingRuleInfo.SnappingType c : SnappingRuleInfo.SnappingType.values()) System.out.println(c);
public static SnappingRuleInfo.SnappingType 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 Geosparc. All Rights Reserved.