See: Description
| Class | Description |
|---|---|
| AccelerationUnit |
Supported speed units.
|
| AngleUnit | |
| AreaUnit |
Supported area units.
|
| LengthUnit |
Supported length units.
|
| SpeedUnit |
Supported speed units.
|
| Unit |
Abstract interface for the supported units
|
For example, when computing a distance between two points and the result is required in meters, the unit LengthUnit.METER is used:
double distance = spatialService.getDistance(point1, point2, LengthUnit.METER);
© Copyright IBM 2017