Package | Description |
---|---|
org.cesiumjs.cs.core | |
org.cesiumjs.cs.core.geometry.options | |
org.cesiumjs.cs.datasources.properties | |
org.cesiumjs.cs.datasources.properties.options |
Modifier and Type | Field and Description |
---|---|
Quaternion |
TranslationRotationScale.rotation
Gets or sets the (x, y, z, w) rotation to apply to the node.
|
Modifier and Type | Method and Description |
---|---|
static Quaternion |
Quaternion.add(Quaternion left,
Quaternion right,
Quaternion result)
Computes the componentwise sum of two quaternions.
|
Quaternion |
Quaternion.clone()
Duplicates this Quaternion instance.
|
static Quaternion |
Quaternion.clone(Quaternion quaternion)
Duplicates a Quaternion instance.
|
static Quaternion |
Quaternion.clone(Quaternion quaternion,
Quaternion result)
Duplicates a Quaternion instance.
|
static Quaternion |
Quaternion.computeInnerQuadrangle(Quaternion q0,
Quaternion q1,
Quaternion q2,
Quaternion result)
Computes an inner quadrangle point.
|
static Quaternion |
Quaternion.conjugate(Quaternion quaternion,
Quaternion result)
Computes the conjugate of the provided quaternion.
|
static Quaternion |
Quaternion.divideByScalar(Quaternion quaternion,
double scalar,
Quaternion result)
Divides the provided quaternion componentwise by the provided scalar.
|
static Quaternion |
Quaternion.exp(Cartesian3 cartesian,
Quaternion result)
The exponential quaternion function.
|
static Quaternion |
Quaternion.fastSlerp(Quaternion start,
Quaternion end,
double t,
Quaternion result)
Computes the spherical linear interpolation or extrapolation at t using the provided quaternions.
|
static Quaternion |
Quaternion.fastSquad(Quaternion q0,
Quaternion q1,
Quaternion s0,
Quaternion s1,
float t,
Quaternion result) |
static Quaternion |
Quaternion.fromAxisAngle(Cartesian3 axis,
double angle)
Computes a quaternion representing a rotation around an axis.
|
static Quaternion |
Quaternion.fromAxisAngle(Cartesian3 axis,
double angle,
Quaternion result)
Computes a quaternion representing a rotation around an axis.
|
static Quaternion |
Quaternion.fromHeadingPitchRoll(HeadingPitchRoll hpr,
Quaternion result)
Computes a rotation from the given heading, pitch and roll angles.
|
static Quaternion |
Quaternion.fromRotationMatrix(Matrix3 matrix)
Computes a Quaternion from the provided Matrix3 instance.
|
static Quaternion |
Quaternion.fromRotationMatrix(Matrix3 matrix,
Quaternion result)
Computes a Quaternion from the provided Matrix3 instance.
|
static Quaternion |
Transforms.headingPitchRollQuaternion(Cartesian3 origin,
HeadingPitchRoll headingPitchRoll)
Computes a quaternion from a reference frame with axes computed from the heading-pitch-roll angles centered at the
provided origin.
|
static Quaternion |
Transforms.headingPitchRollQuaternion(Cartesian3 origin,
HeadingPitchRoll headingPitchRoll,
Ellipsoid ellipsoid)
Computes a quaternion from a reference frame with axes computed from the heading-pitch-roll angles centered at the
provided origin.
|
static Quaternion |
Transforms.headingPitchRollQuaternion(Cartesian3 origin,
HeadingPitchRoll headingPitchRoll,
Ellipsoid ellipsoid,
Quaternion result)
Computes a quaternion from a reference frame with axes computed from the heading-pitch-roll angles centered at the
provided origin.
|
static Quaternion |
Transforms.headingPitchRollQuaternion(Cartesian3 origin,
HeadingPitchRoll headingPitchRoll,
Ellipsoid ellipsoid,
Transforms.LocalFrameToFixedFrame transform,
Quaternion result)
Computes a quaternion from a reference frame with axes computed from the heading-pitch-roll angles centered at the
provided origin.
|
static Quaternion |
Quaternion.IDENTITY()
An immutable Quaternion instance initialized to (0.0, 0.0, 0.0, 1.0).
|
static Quaternion |
Quaternion.inverse(Quaternion quaternion,
Quaternion result)
Computes the inverse of the provided quaternion.
|
static Quaternion |
Quaternion.lerp(Quaternion start,
Quaternion end,
double t,
Quaternion result)
Computes the linear interpolation or extrapolation at t using the provided quaternions.
|
static Quaternion |
Quaternion.multiply(Quaternion left,
Quaternion right,
Quaternion result)
Computes the product of two quaternions.
|
static Quaternion |
Quaternion.multiplyByScalar(Quaternion quaternion,
double scalar,
Quaternion result)
Multiplies the provided quaternion componentwise by the provided scalar.
|
static Quaternion |
Quaternion.negate(Quaternion quaternion,
Quaternion result)
Negates the provided quaternion.
|
static Quaternion |
Quaternion.normalize(Quaternion quaternion,
Quaternion result)
Computes the normalized form of the provided quaternion.
|
static Quaternion |
Quaternion.slerp(Quaternion start,
Quaternion end,
float t,
Quaternion result)
Computes the spherical linear interpolation or extrapolation at t using the provided quaternions.
|
static Quaternion |
Quaternion.squad(Quaternion q0,
Quaternion q1,
Quaternion s0,
Quaternion s1,
float t,
Quaternion result)
Computes the spherical quadrangle interpolation between quaternions.
|
static Quaternion |
Quaternion.subtract(Quaternion left,
Quaternion right,
Quaternion result)
Computes the componentwise difference of two quaternions.
|
static Quaternion |
Quaternion.unpack(double[] array)
Retrieves an instance from a packed array.
|
static Quaternion |
Quaternion.unpack(double[] array,
int startingIndex)
Retrieves an instance from a packed array.
|
static Quaternion |
Quaternion.unpack(double[] array,
int startingIndex,
Quaternion result)
Retrieves an instance from a packed array.
|
static Quaternion |
Quaternion.unpackInterpolationResult(double[] array,
double[] sourceArray)
Retrieves an instance from a packed array converted with convertPackedArrayForInterpolation.
|
static Quaternion |
Quaternion.unpackInterpolationResult(double[] array,
double[] sourceArray,
int startingIndex,
int lastIndex)
Retrieves an instance from a packed array converted with convertPackedArrayForInterpolation.
|
static Quaternion |
Quaternion.unpackInterpolationResult(double[] array,
double[] sourceArray,
int startingIndex,
int lastIndex,
Quaternion result)
Retrieves an instance from a packed array converted with convertPackedArrayForInterpolation.
|
static Quaternion |
Quaternion.ZERO()
An immutable Quaternion instance initialized to (0.0, 0.0, 0.0, 0.0).
|
Modifier and Type | Method and Description |
---|---|
static Quaternion |
Quaternion.add(Quaternion left,
Quaternion right,
Quaternion result)
Computes the componentwise sum of two quaternions.
|
static Quaternion |
Quaternion.clone(Quaternion quaternion)
Duplicates a Quaternion instance.
|
static Quaternion |
Quaternion.clone(Quaternion quaternion,
Quaternion result)
Duplicates a Quaternion instance.
|
static double |
Quaternion.computeAngle(Quaternion quaternion)
Computes the angle of rotation of the provided quaternion.
|
static Cartesian3 |
Quaternion.computeAxis(Quaternion quaternion,
Cartesian3 result)
Computes the axis of rotation of the provided quaternion.
|
static Quaternion |
Quaternion.computeInnerQuadrangle(Quaternion q0,
Quaternion q1,
Quaternion q2,
Quaternion result)
Computes an inner quadrangle point.
|
static Quaternion |
Quaternion.conjugate(Quaternion quaternion,
Quaternion result)
Computes the conjugate of the provided quaternion.
|
static Quaternion |
Quaternion.divideByScalar(Quaternion quaternion,
double scalar,
Quaternion result)
Divides the provided quaternion componentwise by the provided scalar.
|
static double |
Quaternion.dot(Quaternion left,
Quaternion right)
Computes the dot (scalar) product of two quaternions.
|
boolean |
Quaternion.equals(Quaternion right)
Compares this and the provided quaternion componentwise and returns true if they are equal, false otherwise.
|
static boolean |
Quaternion.equals(Quaternion left,
Quaternion right)
Compares the provided quaternions componentwise and returns true if they are equal, false otherwise.
|
boolean |
Quaternion.equalsEpsilon(Quaternion right,
double epsilon)
Compares this and the provided quaternion componentwise and returns true if they are within the provided epsilon, false otherwise.
|
static boolean |
Quaternion.equalsEpsilon(Quaternion left,
Quaternion right,
double epsilon)
Compares the provided quaternions componentwise and returns true if they are within the provided epsilon, false otherwise.
|
static Quaternion |
Quaternion.exp(Cartesian3 cartesian,
Quaternion result)
The exponential quaternion function.
|
static Quaternion |
Quaternion.fastSlerp(Quaternion start,
Quaternion end,
double t,
Quaternion result)
Computes the spherical linear interpolation or extrapolation at t using the provided quaternions.
|
static Quaternion |
Quaternion.fastSquad(Quaternion q0,
Quaternion q1,
Quaternion s0,
Quaternion s1,
float t,
Quaternion result) |
static Quaternion |
Quaternion.fromAxisAngle(Cartesian3 axis,
double angle,
Quaternion result)
Computes a quaternion representing a rotation around an axis.
|
static Quaternion |
Quaternion.fromHeadingPitchRoll(HeadingPitchRoll hpr,
Quaternion result)
Computes a rotation from the given heading, pitch and roll angles.
|
static HeadingPitchRoll |
HeadingPitchRoll.fromQuaternion(Quaternion quaternion)
Computes the heading, pitch and roll from a quaternion (see http://en.wikipedia.org/wiki/Conversion_between_quaternions_and_Euler_angles )
|
static Matrix3 |
Matrix3.fromQuaternion(Quaternion quaternion)
Computes a 3x3 rotation matrix from the provided quaternion.
|
static Matrix3 |
Matrix3.fromQuaternion(Quaternion quaternion,
Matrix3 result)
Computes a 3x3 rotation matrix from the provided quaternion.
|
static HeadingPitchRoll |
HeadingPitchRoll.fromQuaternion(Quaternion quaternion,
Quaternion result)
Computes the heading, pitch and roll from a quaternion (see http://en.wikipedia.org/wiki/Conversion_between_quaternions_and_Euler_angles )
|
static Quaternion |
Quaternion.fromRotationMatrix(Matrix3 matrix,
Quaternion result)
Computes a Quaternion from the provided Matrix3 instance.
|
static Matrix4 |
Matrix4.fromTranslationQuaternionRotationScale(Cartesian3 translation,
Quaternion rotation,
Cartesian3 scale)
Computes a Matrix4 instance from a translation, rotation, and scale (TRS) representation with the rotation represented as a quaternion.
|
static Matrix4 |
Matrix4.fromTranslationQuaternionRotationScale(Cartesian3 translation,
Quaternion rotation,
Cartesian3 scale,
Matrix4 result)
Computes a Matrix4 instance from a translation, rotation, and scale (TRS) representation with the rotation represented as a quaternion.
|
static Quaternion |
Transforms.headingPitchRollQuaternion(Cartesian3 origin,
HeadingPitchRoll headingPitchRoll,
Ellipsoid ellipsoid,
Quaternion result)
Computes a quaternion from a reference frame with axes computed from the heading-pitch-roll angles centered at the
provided origin.
|
static Quaternion |
Transforms.headingPitchRollQuaternion(Cartesian3 origin,
HeadingPitchRoll headingPitchRoll,
Ellipsoid ellipsoid,
Transforms.LocalFrameToFixedFrame transform,
Quaternion result)
Computes a quaternion from a reference frame with axes computed from the heading-pitch-roll angles centered at the
provided origin.
|
static Quaternion |
Quaternion.inverse(Quaternion quaternion,
Quaternion result)
Computes the inverse of the provided quaternion.
|
static Quaternion |
Quaternion.lerp(Quaternion start,
Quaternion end,
double t,
Quaternion result)
Computes the linear interpolation or extrapolation at t using the provided quaternions.
|
static Cartesian3 |
Quaternion.log(Quaternion quaternion,
Cartesian3 result)
The logarithmic quaternion function.
|
static double |
Quaternion.magnitude(Quaternion quaternion)
Computes magnitude for the provided quaternion.
|
static double |
Quaternion.magnitudeSquared(Quaternion quaternion)
Computes magnitude squared for the provided quaternion.
|
static Quaternion |
Quaternion.multiply(Quaternion left,
Quaternion right,
Quaternion result)
Computes the product of two quaternions.
|
static Quaternion |
Quaternion.multiplyByScalar(Quaternion quaternion,
double scalar,
Quaternion result)
Multiplies the provided quaternion componentwise by the provided scalar.
|
static Quaternion |
Quaternion.negate(Quaternion quaternion,
Quaternion result)
Negates the provided quaternion.
|
static Quaternion |
Quaternion.normalize(Quaternion quaternion,
Quaternion result)
Computes the normalized form of the provided quaternion.
|
static double[] |
Quaternion.pack(Quaternion value,
double[] array)
Stores the provided instance into the provided array.
|
static double[] |
Quaternion.pack(Quaternion value,
double[] array,
int startingIndex)
Stores the provided instance into the provided array.
|
static Quaternion |
Quaternion.slerp(Quaternion start,
Quaternion end,
float t,
Quaternion result)
Computes the spherical linear interpolation or extrapolation at t using the provided quaternions.
|
static Quaternion |
Quaternion.squad(Quaternion q0,
Quaternion q1,
Quaternion s0,
Quaternion s1,
float t,
Quaternion result)
Computes the spherical quadrangle interpolation between quaternions.
|
static Quaternion |
Quaternion.subtract(Quaternion left,
Quaternion right,
Quaternion result)
Computes the componentwise difference of two quaternions.
|
static Quaternion |
Quaternion.unpack(double[] array,
int startingIndex,
Quaternion result)
Retrieves an instance from a packed array.
|
static Quaternion |
Quaternion.unpackInterpolationResult(double[] array,
double[] sourceArray,
int startingIndex,
int lastIndex,
Quaternion result)
Retrieves an instance from a packed array converted with convertPackedArrayForInterpolation.
|
Constructor and Description |
---|
TranslationRotationScale(Cartesian3 translation,
Quaternion rotation,
Cartesian3 scale)
An affine transformation defined by a translation, rotation, and scale.
|
Modifier and Type | Field and Description |
---|---|
Quaternion |
FrustumOutlineGeometryOptions.orientation
The orientation of the frustum.
|
Constructor and Description |
---|
FrustumGeometryOptions(Frustum frustum,
Cartesian3 origin,
Quaternion orientation)
Options for
FrustumGeometry |
Modifier and Type | Field and Description |
---|---|
Property<Quaternion> |
NodeTransformationProperty.rotation
Gets or sets the Quaternion Property specifying the (x, y, z, w) rotation to apply to the node.
|
Modifier and Type | Field and Description |
---|---|
Property<Quaternion> |
NodeTransformationPropertyOptions.rotation
A Quaternion Property specifying the (x, y, z, w) rotation to apply to the node.
|
Copyright © 2019. All rights reserved.