| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<PointType>
org.shapelogic.util.PointType
public enum PointType
Enum for with types for Points. This could change quite a bit
| Enum Constant Summary | |
|---|---|
ARROW_JUNCTION
3 lines meet less than 180 degrees between all of them  | 
|
END_POINT
point is an end point, maybe later there should be a distinction between end points and have nothing else close by and end points that have close neighbors  | 
|
HARD_CORNER
If the point has a sharp angle for now 30 degrees is set as the limit  | 
|
SOFT_POINT
If it is not a hard point  | 
|
T_JUNCTION
3 lines meet 2 are collinear and the last is somewhat orthogonal  | 
|
U_JUNCTION
3 or more lines meets, U is for unknown  | 
|
UNKNOWN
Before a type is determined  | 
|
Y_JUNCTION
3 lines meet, not a T junction  | 
|
| Method Summary | |
|---|---|
 java.lang.String | 
getOhName()
 | 
static PointType | 
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.  | 
static PointType[] | 
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 PointType UNKNOWN
public static final PointType HARD_CORNER
public static final PointType SOFT_POINT
public static final PointType U_JUNCTION
public static final PointType T_JUNCTION
public static final PointType ARROW_JUNCTION
public static final PointType Y_JUNCTION
public static final PointType END_POINT
| Method Detail | 
|---|
public static PointType[] values()
for (PointType c : PointType.values()) System.out.println(c);
public static PointType 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 | ||||||||