public static enum IntersectionIdentifier.Return extends Enum<IntersectionIdentifier .Return >
| Enum Constant and Description |
|---|
T1_T2
This return type stores 2 double values: the first is the t-value from the first segment, and the second is the t-value from the second segment.
|
X_Y
This return type stores 2 double values: an x-coordinate and a y-coordinate.
|
X_Y_T1_T2
This return type stores 4 double values: an x-coordinate, a y-coordinate, the t-value from the first segment, and the t-value from the second segment.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getLength()
|
static IntersectionIdentifier |
valueOf(String
Returns the enum constant of this type with the specified name.
|
static IntersectionIdentifier |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final IntersectionIdentifier.Return X_Y
public static final IntersectionIdentifier.Return X_Y_T1_T2
public static final IntersectionIdentifier.Return T1_T2
public static IntersectionIdentifier.Return [] values()
for (IntersectionIdentifier.Return c : IntersectionIdentifier.Return.values()) System.out.println(c);
public static IntersectionIdentifier.Return valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null
public int getLength()