Serializable
, Comparable<PJ.Type>
public static enum PJ.Type extends Enum<PJ.Type>
PJ.getType()
.
In the Proj.4 library, a CRS can only be geographic, geocentric or projected,
without distinction between 2D and 3D CRS.Enum Constant | Description |
---|---|
GEOCENTRIC |
The CRS is of type
org.opengis.referencing.crs.GeocentricCRS . |
GEOGRAPHIC |
The CRS is of type
org.opengis.referencing.crs.GeographicCRS . |
PROJECTED |
The CRS is of type
org.opengis.referencing.crs.ProjectedCRS . |
Modifier and Type | Method | Description |
---|---|---|
static PJ.Type |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static PJ.Type[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PJ.Type GEOGRAPHIC
org.opengis.referencing.crs.GeographicCRS
.
The CRS can be two-dimensional or three-dimensional.public static final PJ.Type GEOCENTRIC
org.opengis.referencing.crs.GeocentricCRS
.
The CRS can only be three-dimensional.public static final PJ.Type PROJECTED
org.opengis.referencing.crs.ProjectedCRS
.
The CRS can be two-dimensional or three-dimensional.public static PJ.Type[] values()
for (PJ.Type c : PJ.Type.values()) System.out.println(c);
public static PJ.Type 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