public enum GeometryType extends Enum<GeometryType>
Geometry types.| Enum Constant and Description |
|---|
CURVE |
GEOMETRYCOLLECTION |
LINE_STRING |
LINEARRING |
MULTILINESTRING |
MULTIPOINT |
MULTIPOLYGON |
POINT |
POLYGON |
SURFACE |
| Modifier and Type | Method and Description |
|---|---|
static GeometryType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GeometryType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GeometryType POINT
public static final GeometryType CURVE
public static final GeometryType SURFACE
public static final GeometryType GEOMETRYCOLLECTION
public static final GeometryType LINE_STRING
public static final GeometryType LINEARRING
public static final GeometryType POLYGON
public static final GeometryType MULTIPOINT
public static final GeometryType MULTIPOLYGON
public static final GeometryType MULTILINESTRING
public static GeometryType[] values()
for (GeometryType c : GeometryType.values()) System.out.println(c);
public static GeometryType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2015 geolatte.org. All rights reserved.