This site has been permanently archived. The content on this site was last updated in 2019.
Stay organized with collections
Save and categorize content based on your preferences.
gvr_quatf
#include <gvr_types.h>
A floating point quaternion, in JPL format.
Summary
We use this simple struct in order not to impose a dependency on a particular math library. The user of this API is free to encapsulate this into any math library they want.
Public attributes
|
qw
|
float
qw is the scalar component.
|
qx
|
float
qx, qy, qz are the vector components.
|
qy
|
float
|
qz
|
float
|
Public attributes
qw
float gvr_quatf::qw
qw is the scalar component.
qx
float gvr_quatf::qx
qx, qy, qz are the vector components.
All rights reserved. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-09 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-09 UTC."],[[["\u003cp\u003e\u003ccode\u003egvr_quatf\u003c/code\u003e is a struct representing a floating-point quaternion in JPL format, used for rotations.\u003c/p\u003e\n"],["\u003cp\u003eThis struct avoids dependencies on specific math libraries, offering flexibility to users.\u003c/p\u003e\n"],["\u003cp\u003eIt comprises four float components: \u003ccode\u003eqw\u003c/code\u003e (scalar) and \u003ccode\u003eqx\u003c/code\u003e, \u003ccode\u003eqy\u003c/code\u003e, \u003ccode\u003eqz\u003c/code\u003e (vector components).\u003c/p\u003e\n"]]],["The `gvr_quatf` struct, defined in `gvr_types.h`, represents a floating-point quaternion in JPL format, using four `float` components. It contains a scalar component `qw` and vector components `qx`, `qy`, and `qz`. This structure avoids imposing a specific math library dependency, allowing users flexibility in their implementation. The struct's components are public attributes, each represented by a floating-point number.\n"],null,["# gvr_quatf Struct Reference\n\ngvr_quatf\n=========\n\n`#include \u003cgvr_types.h\u003e`\n\nA floating point quaternion, in JPL format.\n\nSummary\n-------\n\nWe use this simple struct in order not to impose a dependency on a particular math library. The user of this API is free to encapsulate this into any math library they want.\n\n| ### Public attributes ||\n|------------------------------------------------------------|-----------------------------------------------|\n| [qw](#structgvr__quatf_1ac618a47c7ae2aca63c312b0c80f3f7a9) | `float` qw is the scalar component. |\n| [qx](#structgvr__quatf_1aff514039b2c1b941fb46ddc4844e03a9) | `float` qx, qy, qz are the vector components. |\n| [qy](#structgvr__quatf_1a3bf66270d7b8eb5b1ee1f453b30634d1) | `float` |\n| [qz](#structgvr__quatf_1a735a518114905cd6250b19e3d8f6312f) | `float` |\n\nPublic attributes\n-----------------\n\n### qw\n\n```scdoc\nfloat gvr_quatf::qw\n``` \nqw is the scalar component. \n\n### qx\n\n```scdoc\nfloat gvr_quatf::qx\n``` \nqx, qy, qz are the vector components. \n\n### qy\n\n```scdoc\nfloat gvr_quatf::qy\n``` \n\n### qz\n\n```scdoc\nfloat gvr_quatf::qz\n```"]]