![]() |
VR-Link C# API Documentation
|
Represents a 3D vector using three double-precision floating-point numbers. More...
Inheritance diagram for makVrl.TaitBryan:
Collaboration diagram for makVrl.TaitBryan:Public Member Functions | |
| TaitBryan (double value) | |
| Constructs a new instance. More... | |
| TaitBryan (double ps, double th, double ph) | |
| Constructs a new TaitBryan. More... | |
| TaitBryan (Vector3d v) | |
| Constructs a new TaitBryan instance from the given Vector3d. More... | |
| TaitBryan (Vector4d v) | |
| Constructs a new TaitBryan instance from the given Vector4d. More... | |
| TaitBryan (TaitBryan v) | |
| override string | ToString () |
| Returns a System.String that represents the current Vector3. More... | |
| override int | GetHashCode () |
| Returns the hashcode for this instance. More... | |
| override bool | Equals (object obj) |
| Indicates whether this instance and a specified object are equal. More... | |
| bool | Equals (TaitBryan other) |
| Indicates whether the current vector is equal to another vector. More... | |
Static Public Member Functions | |
| static | operator TaitBryan (Vector3d v) |
| static | operator TaitBryan (Vector3f v) |
| static bool | operator== (TaitBryan left, TaitBryan right) |
| Compares two instances for equality. More... | |
| static bool | operator!= (TaitBryan left, TaitBryan right) |
| Compares two instances for inequality. More... | |
| static double | Acosl (double arg) |
| static double | Asinl (double arg) |
| static void | BodyToRef_to_Euler (Matrix3d body2ref, ref TaitBryan e) |
| static void | Euler_to_BodyToRef (TaitBryan tb, ref Matrix3d HcW) |
| static TaitBryan | eulerToEuler (TaitBryan input, Matrix3d in2out) |
Public Attributes | |
| double | psi |
| The psi component of the TaitBryan. More... | |
| double | theta |
| The theta component of the TaitBryan. More... | |
| double | phi |
| The phi component of the TaitBryan. More... | |
Static Public Attributes | |
| static readonly Vector3d | Zero = new Vector3d(0, 0, 0) |
| Defines a zero-length Vector3. More... | |
| static readonly Vector3d | One = new Vector3d(1, 1, 1) |
| Defines an instance with all components set to 1. More... | |
| static readonly int | SizeInBytes = Marshal.SizeOf(new Vector3d()) |
| Defines the size of the Vector3d struct in bytes. More... | |
Properties | |
| double | this[int index] [get, set] |
| Gets or sets the value at the index of the Vector. More... | |
Static Private Attributes | |
| static string | listSeparator = System.Globalization.CultureInfo.CurrentCulture.TextInfo.ListSeparator |
Represents a 3D vector using three double-precision floating-point numbers.
|
inline |
Constructs a new instance.
| value | The value that will initialize this instance. |
References makVrl.TaitBryan.phi, makVrl.TaitBryan.psi, and makVrl.TaitBryan.theta.
Referenced by makVrl.TaitBryan.Equals(), makVrl.TaitBryan.eulerToEuler(), and makVrl.TaitBryan.operator TaitBryan().
|
inline |
Constructs a new TaitBryan.
| x | The psi component of the TaitBryan. |
| y | The theta component of the TaitBryan. |
| z | The phi component of the TaitBryan. |
References makVrl.TaitBryan.phi, makVrl.TaitBryan.psi, and makVrl.TaitBryan.theta.
|
inline |
Constructs a new TaitBryan instance from the given Vector3d.
| v | The Vector3d to copy components from. |
References makVrl.TaitBryan.phi, makVrl.TaitBryan.psi, and makVrl.TaitBryan.theta.
|
inline |
Constructs a new TaitBryan instance from the given Vector4d.
| v | The Vector4d to copy components from. |
References makVrl.TaitBryan.phi, makVrl.TaitBryan.psi, and makVrl.TaitBryan.theta.
|
inline |
References makVrl.TaitBryan.phi, makVrl.TaitBryan.psi, and makVrl.TaitBryan.theta.
|
inlinestatic |
Referenced by makVrl.TaitBryan.BodyToRef_to_Euler().
|
inlinestatic |
References makVrl.TaitBryan.Acosl().
Referenced by makVrl.TaitBryan.eulerToEuler().
|
inline |
Indicates whether this instance and a specified object are equal.
| obj | The object to compare to. |
References makVrl.TaitBryan.TaitBryan().
|
inline |
Indicates whether the current vector is equal to another vector.
| other | A vector to compare with this vector. |
References makVrl.TaitBryan.phi, makVrl.TaitBryan.psi, and makVrl.TaitBryan.theta.
Referenced by makVrl.TaitBryan.eulerToEuler().
|
inline |
Returns the hashcode for this instance.
References makVrl.TaitBryan.theta.
References makVrl.TaitBryan.TaitBryan(), makVrl.Vector3d.X, makVrl.Vector3d.Y, and makVrl.Vector3d.Z.
References makVrl.TaitBryan.TaitBryan(), makVrl.Vector3f.X, makVrl.Vector3f.Y, and makVrl.Vector3f.Z.
Compares two instances for inequality.
| left | The first instance. |
| right | The second instance. |
Compares two instances for equality.
| left | The first instance. |
| right | The second instance. |
|
inline |
Returns a System.String that represents the current Vector3.
References makVrl.TaitBryan.listSeparator, makVrl.TaitBryan.phi, makVrl.TaitBryan.psi, and makVrl.TaitBryan.theta.
|
staticprivate |
Referenced by makVrl.TaitBryan.ToString().
Defines an instance with all components set to 1.
| double makVrl.TaitBryan.phi |
The phi component of the TaitBryan.
Referenced by makVrl.TaitBryan.Equals(), makVrl.TaitBryan.TaitBryan(), and makVrl.TaitBryan.ToString().
| double makVrl.TaitBryan.psi |
The psi component of the TaitBryan.
Referenced by makVrl.TaitBryan.Equals(), makVrl.TaitBryan.TaitBryan(), and makVrl.TaitBryan.ToString().
|
static |
Defines the size of the Vector3d struct in bytes.
| double makVrl.TaitBryan.theta |
The theta component of the TaitBryan.
Referenced by makVrl.TaitBryan.Equals(), makVrl.TaitBryan.GetHashCode(), makVrl.TaitBryan.TaitBryan(), and makVrl.TaitBryan.ToString().
Defines a zero-length Vector3.
Referenced by makVrl.EntityStateRepository.EntityStateRepository().
|
getset |
Gets or sets the value at the index of the Vector.