public static enum Conic2D.Type extends Enum<Conic2D.Type>
| Enum Constant and Description |
|---|
CIRCLE
Circle
|
ELLIPSE
Ellipse
|
HYPERBOLA
Hyperbola
|
NOT_A_CONIC
Degenerate conic, for example a conic given by the equation
x^2+1=0) |
PARABOLA
Parabola
|
POINT
Single point
|
STRAIGHT_LINE
Straight Line
|
TWO_LINES
Union of two lines
|
| Modifier and Type | Method and Description |
|---|---|
static Conic2D.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Conic2D.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Conic2D.Type NOT_A_CONIC
x^2+1=0)public static final Conic2D.Type ELLIPSE
public static final Conic2D.Type HYPERBOLA
public static final Conic2D.Type PARABOLA
public static final Conic2D.Type CIRCLE
public static final Conic2D.Type STRAIGHT_LINE
public static final Conic2D.Type TWO_LINES
public static final Conic2D.Type POINT
public static Conic2D.Type[] values()
for (Conic2D.Type c : Conic2D.Type.values()) System.out.println(c);
public static Conic2D.Type 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 © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.