public abstract class GeometryTypes
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
ALL
The
ALL constant defines all geometry types supported in JMap. |
static int |
ANNOTATION
Constant that defines the geometry type for the annotation geometry.
|
static java.lang.String |
ANNOTATION_NAME |
static int |
COMPLEX
Constant that defines the geometry type for the complex geometry.
|
static java.lang.String |
COMPLEX_NAME |
static int |
CURVE
Constant that defines the geometry type for the curve geometry.
|
static java.lang.String |
CURVE_NAME |
static int |
ELLIPSE
Constant that defines the geometry type for the ellipse geometry.
|
static java.lang.String |
ELLIPSE_NAME |
static int |
NONE
Constant that defines the geometry type for an undefined geometry.
|
static java.lang.String |
NONE_NAME |
static int |
POINT
Constant that defines the geometry type for the point geometry.
|
static java.lang.String |
POINT_NAME |
static int |
RASTER
Constant that defines the geometry type for the raster geometry.
|
static java.lang.String |
RASTER_NAME |
static int |
SURFACE
Constant that defines the geometry type for the surface geometry.
|
static java.lang.String |
SURFACE_NAME |
Constructor and Description |
---|
GeometryTypes() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getGeometryType(int geometryType)
Returns the geometry name associated to the specified geometry type.
|
static int |
getGeometryType(java.lang.String geometryType)
Returns the geometry type associated to the specified geometry name.
|
static void |
main(java.lang.String[] args) |
public static final int NONE
public static final int POINT
public static final int CURVE
public static final int SURFACE
public static final int ANNOTATION
public static final int RASTER
public static final int COMPLEX
public static final int ELLIPSE
public static final int ALL
ALL
constant defines all geometry types supported in JMap.public static final java.lang.String ANNOTATION_NAME
public static final java.lang.String CURVE_NAME
public static final java.lang.String COMPLEX_NAME
public static final java.lang.String POINT_NAME
public static final java.lang.String RASTER_NAME
public static final java.lang.String SURFACE_NAME
public static final java.lang.String ELLIPSE_NAME
public static final java.lang.String NONE_NAME
public static int getGeometryType(java.lang.String geometryType)
geometryType
- the geometry type.public static java.lang.String getGeometryType(int geometryType)
geometryType
- the geometry type.public static void main(java.lang.String[] args)