public final class PrecisionType extends CodeList<PrecisionType>
Modifier and Type | Field and Description |
---|---|
static PrecisionType |
DOUBLE
Floating precision corresponds to the standard Java double-precision floating-point
representation, which is based on the IEEE-754 standard.
|
static PrecisionType |
FIXED
Fixed precision indicates that coordinates have a fixed number of decimal places.
|
static PrecisionType |
FLOAT
Floating single precision corresponds to the standard Java single-precision floating-point
representation, which is based on the IEEE-754 standard.
|
Modifier and Type | Method and Description |
---|---|
PrecisionType[] |
family()
Returns the list of enumerations of the same kind than this enum.
|
boolean |
isFloating()
Returns
true if PrecisionModelType is a represented using floating point
arithmatic (rather then a grid). |
static PrecisionType |
valueOf(String code)
Returns the precision type that matches the given string, or returns a new one if none match
it.
|
static PrecisionType[] |
values()
Returns the list of
PrecisionModelType s. |
public static final PrecisionType FIXED
public static final PrecisionType DOUBLE
public static final PrecisionType FLOAT
public boolean isFloating()
true
if PrecisionModelType
is a represented using floating point
arithmatic (rather then a grid).public static PrecisionType[] values()
PrecisionModelType
s.public PrecisionType[] family()
family
in class CodeList<PrecisionType>
public static PrecisionType valueOf(String code)
code
- The name of the code to fetch or to create.Copyright © 1996–2023 Geotools. All rights reserved.