public static enum Line2d.IntersectionType extends Enum<Line2d.IntersectionType>
Enum Constant and Description |
---|
COINCIDENT
Co-incident line (on top of each other)
|
INTERSECTING
Intersecting line (lines that cross)
|
NOT_INTERESECTING
non-intersecting line
|
PARALLEL
Parallel line
|
Modifier and Type | Method and Description |
---|---|
static Line2d.IntersectionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Line2d.IntersectionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Line2d.IntersectionType INTERSECTING
public static final Line2d.IntersectionType PARALLEL
public static final Line2d.IntersectionType COINCIDENT
public static final Line2d.IntersectionType NOT_INTERESECTING
public static Line2d.IntersectionType[] values()
for (Line2d.IntersectionType c : Line2d.IntersectionType.values()) System.out.println(c);
public static Line2d.IntersectionType 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 null