public enum LineRelation extends java.lang.Enum<LineRelation>
| Enum Constant and Description |
|---|
COLLINEAR
Specifies that the two line segments are part of the same infinite line, and therefore
may share some or all their points.
|
DIVERGENT
Specifies that the two line segments have different angles, and therefore may share a
single point of intersection.
|
PARALLEL
Specifies that the two line segments are parallel displacements of each other, and
therefore cannot share any points.
|
| Modifier and Type | Method and Description |
|---|---|
static LineRelation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LineRelation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LineRelation PARALLEL
public static final LineRelation COLLINEAR
public static final LineRelation DIVERGENT
public static LineRelation[] values()
for (LineRelation c : LineRelation.values()) System.out.println(c);
public static LineRelation 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