public enum GeometryType extends Enum<GeometryType>
| Enum Constant and Description |
|---|
CURVE
type for
ICurve |
ELLIPSE
type for
ILegacyEllipse |
LEGACY_ARC
type for
ILegacyArc |
LEGACY_TEXT
type for
ILegacyText |
LINE_STRING
type for
ILineString |
MULTI_CURVE
type for
IMultiCurve |
MULTI_FEATURE_GEOMETRY
type for
IMultiFeatureGeometry |
MULTI_POINT
type for
IMultiPoint |
MULTI_POLYGON
type for
IMultiPolygon |
POINT
type for
IPoint |
POLYGON
type for
IPolygon |
RECTANGLE
type for
IRectangle |
RING
type for
IRing |
ROUNDED_RECTANGLE
type for
ILegacyRoundedRectangle |
| Modifier and Type | Field and Description |
|---|---|
static Set<GeometryType> |
ALL_CURVE_SEGMENT_TYPE
Identifies all the types that are considered curve segments.
|
static Set<GeometryType> |
ALL_FEATURE_GEOMETRY_TYPE
Identifies all the types that can be the geometry of a feature.
|
static Set<GeometryType> |
ALL_FIRST_CLASS_FEATURE_GEOMETRY_TYPE
Identifies all of the types that are considered first class
feature geometry types.
|
static Set<GeometryType> |
ALL_GEOMETRY_WITH_AREA_TYPE
Identifies all the types that have area.
|
static Set<GeometryType> |
ALL_GEOMETRY_WITH_LENGTH_TYPE
Identifies all the types that have length.
|
static Set<GeometryType> |
ALL_GEOMETRY_WITH_PERIMETER_TYPE
Identifies all the types that have perimeter.
|
static Set<GeometryType> |
ALL_LEGACY_GEOMETRY_TYPE
Identifies all of the types that are considered MapInfo legacy
geometry types.
|
static Set<GeometryType> |
ALL_NON_FEATURE_GEOMETRY_TYPE
Identifies all the types that are not feature geometry types.
|
static Set<GeometryType> |
MULTI_FEATURE_GEOMETRY_CONTENTS_TYPE
Identifies all the types that can be contained by an
IMultiFeatureGeometry. |
| 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
IPointpublic static final GeometryType MULTI_POINT
IMultiPointpublic static final GeometryType MULTI_CURVE
IMultiCurvepublic static final GeometryType MULTI_POLYGON
IMultiPolygonpublic static final GeometryType MULTI_FEATURE_GEOMETRY
IMultiFeatureGeometrypublic static final GeometryType RECTANGLE
IRectanglepublic static final GeometryType ROUNDED_RECTANGLE
ILegacyRoundedRectanglepublic static final GeometryType ELLIPSE
ILegacyEllipsepublic static final GeometryType LEGACY_TEXT
ILegacyTextpublic static final GeometryType LEGACY_ARC
ILegacyArcpublic static final GeometryType POLYGON
IPolygonpublic static final GeometryType CURVE
ICurvepublic static final GeometryType RING
IRingpublic static final GeometryType LINE_STRING
ILineStringpublic static final Set<GeometryType> ALL_FEATURE_GEOMETRY_TYPE
GeometryType.ALL_FIRST_CLASS_FEATURE_GEOMETRY_TYPE and
GeometryType.ALL_LEGACY_GEOMETRY_TYPE.public static final Set<GeometryType> ALL_FIRST_CLASS_FEATURE_GEOMETRY_TYPE
GeometryType.POINT, GeometryType.MULTI_POINT,
GeometryType.MULTI_CURVE, GeometryType.MULTI_POLYGON,
GeometryType.MULTI_FEATURE_GEOMETRYpublic static final Set<GeometryType> ALL_LEGACY_GEOMETRY_TYPE
GeometryType.RECTANGLE, GeometryType.ROUNDED_RECTANGLE,
GeometryType.ELLIPSE, GeometryType.LEGACY_ARC, GeometryType.LEGACY_TEXTpublic static final Set<GeometryType> ALL_CURVE_SEGMENT_TYPE
GeometryType.LINE_STRINGpublic static final Set<GeometryType> MULTI_FEATURE_GEOMETRY_CONTENTS_TYPE
IMultiFeatureGeometry.
This set consists of GeometryType.POINT, GeometryType.MULTI_POINT,
GeometryType.MULTI_CURVE, GeometryType.MULTI_POLYGONpublic static final Set<GeometryType> ALL_NON_FEATURE_GEOMETRY_TYPE
GeometryType.LINE_STRING, GeometryType.CURVE,
GeometryType.RING, GeometryType.POLYGONpublic static final Set<GeometryType> ALL_GEOMETRY_WITH_LENGTH_TYPE
GeometryType.LINE_STRING, GeometryType.CURVE,
GeometryType.MULTI_CURVEpublic static final Set<GeometryType> ALL_GEOMETRY_WITH_PERIMETER_TYPE
GeometryType.RING, GeometryType.POLYGON,
GeometryType.MULTI_POLYGON, GeometryType.RECTANGLE,
GeometryType.ROUNDED_RECTANGLE,
GeometryType.ELLIPSEpublic static final Set<GeometryType> ALL_GEOMETRY_WITH_AREA_TYPE
GeometryType.RING, GeometryType.POLYGON,
GeometryType.MULTI_POLYGON, GeometryType.RECTANGLE,
GeometryType.ROUNDED_RECTANGLE,
GeometryType.ELLIPSEpublic 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 null