Package | Description |
---|---|
org.geotools.measure |
Measures (like angles) and their
formatter.
|
Modifier and Type | Field and Description |
---|---|
static AngleFormat.RoundingMethod |
AngleFormat.DEFAULT_ROUNDING_METHOD
The default rounding method (ROUND_HALF_EVEN).
|
Modifier and Type | Method and Description |
---|---|
static AngleFormat.RoundingMethod |
AngleFormat.getDefaultRoundingMethod()
Get the default rounding method.
|
static AngleFormat.RoundingMethod |
AngleFormat.getRoundingMethod()
Get the rounding method being used by this instance.
|
static AngleFormat.RoundingMethod |
AngleFormat.RoundingMethod.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AngleFormat.RoundingMethod[] |
AngleFormat.RoundingMethod.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static void |
AngleFormat.setDefaultRoundingMethod(AngleFormat.RoundingMethod method)
Set the default rounding method for all instances of this class to use when the last
significant digit of a value is 5.
|
void |
AngleFormat.setRoundingMethod(AngleFormat.RoundingMethod method)
Set the rounding method for this instance to use when the last significant digit of a value
is 5.
|
Copyright © 1996–2019 Geotools. All rights reserved.