public enum GeometryType extends Enum<GeometryType>
Enum Constant and Description |
---|
CIRCULARSTRING |
GEOMETRYCOLLECTION |
LINESTRING |
MULTILINESTRING |
MULTIPOINT |
MULTIPOLYGON |
POINT |
POLYGON |
Modifier and Type | Method and Description |
---|---|
static GeometryType |
getFromCode(int code) |
int |
getTypeCode() |
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 LINESTRING
public static final GeometryType POLYGON
public static final GeometryType MULTIPOINT
public static final GeometryType MULTILINESTRING
public static final GeometryType MULTIPOLYGON
public static final GeometryType GEOMETRYCOLLECTION
public static final GeometryType CIRCULARSTRING
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 nullpublic int getTypeCode()
public static GeometryType getFromCode(int code)
Copyright © 1996–2022 Geotools. All rights reserved.