public enum PolygonLocation extends java.lang.Enum<PolygonLocation>
GeoUtils.pointInPolygon(org.kynosarges.tektosyne.geometry.PointD, org.kynosarges.tektosyne.geometry.PointD[]) algorithm.| Enum Constant and Description |
|---|
EDGE
Specifies that the point coincides with an edge of the polygon.
|
INSIDE
Specifies that the point is inside the polygon.
|
OUTSIDE
Specifies that the point is outside the polygon.
|
VERTEX
Specifies that the point coincides with a vertex of the polygon.
|
| Modifier and Type | Method and Description |
|---|---|
static PolygonLocation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PolygonLocation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PolygonLocation INSIDE
public static final PolygonLocation OUTSIDE
public static final PolygonLocation EDGE
public static final PolygonLocation VERTEX
public static PolygonLocation[] values()
for (PolygonLocation c : PolygonLocation.values()) System.out.println(c);
public static PolygonLocation 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 namejava.lang.NullPointerException - if the argument is null