public enum IntersectionLocation extends java.lang.Enum<IntersectionLocation>
Enum Constant and Description |
---|
FIRST_POINT
A line's first point
|
LAST_POINT
A line's last point
|
MID_POINT
Some point in the middle of a line's segment
|
SEGMENT_POINT
Some start or end segment point in a line except the start and end line's point
|
Modifier and Type | Field and Description |
---|---|
static java.util.EnumSet<IntersectionLocation> |
EXTREMEPOINT_INTERSECTIONS
Locations at the extreme points of a line
|
static java.util.EnumSet<IntersectionLocation> |
MIDPOINT_INTERSECTIONS
Locations in middle points of a line
|
Modifier and Type | Method and Description |
---|---|
static IntersectionLocation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IntersectionLocation[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final IntersectionLocation FIRST_POINT
public static final IntersectionLocation LAST_POINT
public static final IntersectionLocation SEGMENT_POINT
public static final IntersectionLocation MID_POINT
public static final java.util.EnumSet<IntersectionLocation> EXTREMEPOINT_INTERSECTIONS
public static final java.util.EnumSet<IntersectionLocation> MIDPOINT_INTERSECTIONS
public static IntersectionLocation[] values()
for (IntersectionLocation c : IntersectionLocation.values()) System.out.println(c);
public static IntersectionLocation 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