public enum GeometryType extends Enum<GeometryType> implements IEnum
| Enum Constant and Description |
|---|
CircularString
圆环
|
CompoundCurve
复合曲线
|
Cube
立方体
|
Curve
曲线
|
CurvePolygon
曲面
|
Envelope
矩形
|
GeometryCollection
几何集合
|
LinearRing
环
|
LineString
线段
|
MultiCurve
多曲线
|
MultiCurvePolygon
多曲面
|
MultiPoint
多点
|
MultiPolygon
复合多边形
|
Point
点
|
Polygon
多边形
|
Polyline
多线段
|
Unknown
未知
|
| Modifier and Type | Method and Description |
|---|---|
static GeometryType |
getByValue(Integer value) |
int |
getValue()
获取枚举值
|
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.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfgetByValue, getDescpublic static final GeometryType Unknown
public static final GeometryType Point
public static final GeometryType MultiPoint
public static final GeometryType LineString
public static final GeometryType Polyline
public static final GeometryType LinearRing
public static final GeometryType Polygon
public static final GeometryType MultiPolygon
public static final GeometryType Envelope
public static final GeometryType Cube
public static final GeometryType Curve
public static final GeometryType MultiCurve
public static final GeometryType CurvePolygon
public static final GeometryType MultiCurvePolygon
public static final GeometryType CircularString
public static final GeometryType CompoundCurve
public static final GeometryType GeometryCollection
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 getValue()
IEnumpublic static GeometryType getByValue(Integer value)
Copyright © 2025. All rights reserved.