Module org.jhotdraw8.geom
Package org.jhotdraw8.geom
Enum Class CubicCurveCharacteristics.Characteristics
java.lang.Object
java.lang.Enum<CubicCurveCharacteristics.Characteristics>
org.jhotdraw8.geom.CubicCurveCharacteristics.Characteristics
- All Implemented Interfaces:
Serializable,Comparable<CubicCurveCharacteristics.Characteristics>,Constable
- Enclosing class:
CubicCurveCharacteristics
public static enum CubicCurveCharacteristics.Characteristics
extends Enum<CubicCurveCharacteristics.Characteristics>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe curve is (almost) a line.The curve has 1 cusp at the singular point.The curve has 2 inflection points.The curve has a loop that intersects neither at t0 nor at t1 with the curve.The curve has a loop that intersects at t0 with the curve.The curve has a loop that intersects at t1 with the curve.The curve has 1 inflection point. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PLAIN_CURVE
-
SINGLE_INFLECTION
The curve has 1 inflection point. -
DOUBLE_INFLECTION
The curve has 2 inflection points. -
CUSP
The curve has 1 cusp at the singular point. -
LOOP
The curve has a loop that intersects neither at t0 nor at t1 with the curve. -
LOOP_AT_T_0
The curve has a loop that intersects at t0 with the curve. -
LOOP_AT_T_1
The curve has a loop that intersects at t1 with the curve. -
COLLINEAR
The curve is (almost) a line.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-