|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<Conic2D.Type> math.geom2d.conic.Conic2D.Type
public static enum Conic2D.Type
The different types of conic.
Enum Constant Summary | |
---|---|
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 |
Method Summary | |
---|---|
static Conic2D.Type |
valueOf(java.lang.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. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
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
Method Detail |
---|
public static Conic2D.Type[] values()
for (Conic2D.Type c : Conic2D.Type.values()) System.out.println(c);
public static Conic2D.Type 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 name
java.lang.NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |