GeoOrientationUpdate (API Reference)
Class GeoOrientationUpdate
Describes geodetic orientation update with bearing and tilt.
Updating an orientation value can be skipped by setting null in an appriopriate field.
For example, if one wants bearing not to be updated set it to null.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionGeoOrientationUpdate(GeoOrientation orientation) Constructs a new GeoOrientationUpdate instance from a GeoOrientation instance.GeoOrientationUpdate(Double bearing, Double tilt) -
Method Summary
-
Field Details
-
bearing
Bearing in degrees. 0 is north up, positive is clockwise. A
nullvalue means that bearing is not updated and the current value is kept. -
tilt
Tilt in degrees. 0 is perpendicular to earth surface, a positive value turns the camera's nose up and changes the camera's location to ensure that the camera target is not changed. A
nullvalue means that tilt is not updated and the current value is kept.
-
-
Constructor Details
-
GeoOrientationUpdate
- Parameters:
bearing-Bearing in degrees. When the passed value is
nullbearing is not updated and the current value is kept. NaN value is converted tonull.tilt-Tilt in degrees. When the passed value is
nulltilt is not updated and the current value is kept. NaN value is converted tonull.
-
GeoOrientationUpdate
Constructs a new GeoOrientationUpdate instance from a GeoOrientation instance.
- Parameters:
orientation-A GeoOrientation instance used as a source for a GeoOrientationUpdate instance's values.
-
-
Method Details