public enum GeometryType extends Enum<GeometryType>
| Enum Constant and Description |
|---|
CIRCULARSTRING
Circular String, Curve sub type
|
COMPOUNDCURVE
Compound Curve, Curve sub type
|
CURVE
The base type for all 1-dimensional geometry types.
|
CURVEPOLYGON
A planar surface defined by an exterior ring and zero or more interior
ring.
|
GEOMETRY
The root of the geometry type hierarchy
|
GEOMETRYCOLLECTION
A collection of zero or more Geometry instances.
|
LINESTRING
A Curve that connects two or more points in space.
|
MULTICURVE
A restricted form of GeometryCollection where each Geometry in the
collection must be of type Curve.
|
MULTILINESTRING
A restricted form of MultiCurve where each Curve in the collection must
be of type LineString.
|
MULTIPOINT
A restricted form of GeometryCollection where each Geometry in the
collection must be of type Point.
|
MULTIPOLYGON
A restricted form of MultiSurface where each Surface in the collection
must be of type Polygon.
|
MULTISURFACE
A restricted form of GeometryCollection where each Geometry in the
collection must be of type Surface.
|
POINT
A single location in space.
|
POLYGON
A restricted form of CurvePolygon where each ring is defined as a simple,
closed LineString.
|
POLYHEDRALSURFACE
Contiguous collection of polygons which share common boundary segments.
|
SURFACE
The base type for all 2-dimensional geometry types.
|
TIN
A tetrahedron (4 triangular faces), corner at the origin and each unit
coordinate digit.
|
TRIANGLE
Triangle
|
| Modifier and Type | Method and Description |
|---|---|
static GeometryType |
fromName(String name)
Get the Geometry Type from the name, ignoring case
|
String |
getName()
Get the name, just use the enum name since they are the same
|
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 GEOMETRY
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 final GeometryType COMPOUNDCURVE
public static final GeometryType CURVEPOLYGON
public static final GeometryType MULTICURVE
public static final GeometryType MULTISURFACE
public static final GeometryType CURVE
public static final GeometryType SURFACE
public static final GeometryType POLYHEDRALSURFACE
public static final GeometryType TIN
public static final GeometryType TRIANGLE
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 String getName()
public static GeometryType fromName(String name)
name - geometry type nameCopyright © 2019 National Geospatial-Intelligence Agency. All rights reserved.