|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<LineType> org.shapelogic.util.LineType
public enum LineType
Enum for with types for Lines. This could change quite a bit.
Enum Constant Summary | |
---|---|
CONCAVE_ARCH
Means that this is an arch and that it is concave compared to 1 or both neighbor points, meaning they are on the same side of the line as the arch |
|
CURVE_ARCH
only on one side of a line between the start and end point |
|
INFLECTION_POINT
This line contains an inflection point, meaning the end points have different signed direction changes |
|
STRAIGHT
Not completely straight |
|
STRAIGHT_MULTI_LINE
For multi lines, if 2 lines are added together |
|
UNKNOWN
|
|
WAVE
On both sides of a line between the start and end point this is the rest category for lines |
|
WHOLE_CIRCLE
Multi lines or polygon, is a circle |
Method Summary | |
---|---|
java.lang.String |
getOhName()
|
static LineType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static LineType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, 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 LineType UNKNOWN
public static final LineType STRAIGHT
public static final LineType CURVE_ARCH
public static final LineType WAVE
public static final LineType CONCAVE_ARCH
public static final LineType INFLECTION_POINT
public static final LineType STRAIGHT_MULTI_LINE
public static final LineType WHOLE_CIRCLE
Method Detail |
---|
public static LineType[] values()
for (LineType c : LineType.values()) System.out.println(c);
public static LineType 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 nullpublic java.lang.String getOhName()
getOhName
in interface OHInterface
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |