@JsType(isNative=true, namespace="Cesium", name="HeadingPitchRange") public class HeadingPitchRange extends Object
Modifier and Type | Field and Description |
---|---|
double |
heading
Heading is the rotation from the local north direction where a positive angle is increasing eastward.
|
double |
pitch
Pitch is the rotation from the local xy-plane.
|
double |
range
Range is the distance from the center of the local frame.
|
Constructor and Description |
---|
HeadingPitchRange()
Defines a heading angle, pitch angle, and range in a local frame.
|
HeadingPitchRange(double heading,
double pitch,
double range)
Defines a heading angle, pitch angle, and range in a local frame.
|
Modifier and Type | Method and Description |
---|---|
static HeadingPitchRange |
clone(HeadingPitchRange hpr)
Duplicates a HeadingPitchRange instance.
|
static HeadingPitchRange |
clone(HeadingPitchRange hpr,
HeadingPitchRange result)
Duplicates a HeadingPitchRange instance.
|
@JsProperty public double heading
@JsProperty public double pitch
@JsProperty public double range
@JsConstructor public HeadingPitchRange()
@JsConstructor public HeadingPitchRange(double heading, double pitch, double range)
heading
- The heading angle in radians. Default: 0.0pitch
- The pitch angle in radians. Default: 0.0range
- The distance from the center in meters. Default: 0.0public static HeadingPitchRange clone(HeadingPitchRange hpr)
hpr
- The HeadingPitchRange to duplicate.public static HeadingPitchRange clone(HeadingPitchRange hpr, HeadingPitchRange result)
hpr
- The HeadingPitchRange to duplicate.result
- The object onto which to store the result.Copyright © 2019. All rights reserved.