public final class ElevationAngle extends Angle
CoordinateSystems.angle(AxisDirection, AxisDirection)
,
Serialized FormDefined in the sis-utility
module
Modifier and Type | Field and Description |
---|---|
static ElevationAngle |
NADIR
An elevation angle of -90° for an imaginary point directly below a location.
|
static ElevationAngle |
ZENITH
An elevation angle of 90° for an imaginary point directly above a location.
|
Constructor and Description |
---|
ElevationAngle(double ε)
Constructs a new elevation angle with the specified angular value.
|
ElevationAngle(String string)
Constructs a newly allocated
ElevationAngle object that contain the angular value
represented by the string. |
public static final ElevationAngle ZENITH
NADIR
direction.public static final ElevationAngle NADIR
ZENITH
direction.public ElevationAngle(double ε)
ε
- Elevation angle value in decimal degrees.public ElevationAngle(String string) throws NumberFormatException
ElevationAngle
object that contain the angular value
represented by the string. The string should represent an angle in either fractional degrees
(e.g. 45.5°) or degrees with minutes and seconds (e.g. 45°30').string
- A string to be converted to an ElevationAngle
.NumberFormatException
- if the string does not contain a parsable angle,
or represents an elevation angle.Copyright © 2010–2014 The Apache Software Foundation. All rights reserved.