![]() |
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. | |
| TaitBryan (double ps, double th, double ph) | |
| Constructs a new TaitBryan. | |
| TaitBryan (Vector3d v) | |
| Constructs a new TaitBryan instance from the given Vector3d. | |
| TaitBryan (Vector4d v) | |
| Constructs a new TaitBryan instance from the given Vector4d. | |
| TaitBryan (TaitBryan v) | |
| override string | ToString () |
| Returns a System.String that represents the current Vector3. | |
| override int | GetHashCode () |
| Returns the hashcode for this instance. | |
| override bool | Equals (object obj) |
| Indicates whether this instance and a specified object are equal. | |
| bool | Equals (TaitBryan other) |
| Indicates whether the current vector is equal to another vector. | |
Static Public Member Functions | |
| static bool | operator== (TaitBryan left, TaitBryan right) |
| Compares two instances for equality. | |
| static bool | operator!= (TaitBryan left, TaitBryan right) |
| Compares two instances for inequality. | |
| 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. | |
| double | theta |
| The theta component of the TaitBryan. | |
| double | phi |
| The phi component of the TaitBryan. | |
Static Public Attributes | |
| static readonly Vector3d | Zero = new Vector3d(0, 0, 0) |
| Defines a zero-length Vector3. | |
| static readonly Vector3d | One = new Vector3d(1, 1, 1) |
| Defines an instance with all components set to 1. | |
| static readonly int | SizeInBytes = Marshal.SizeOf(new Vector3d()) |
| Defines the size of the Vector3d struct in bytes. | |
Properties | |
| double | this[int index] [get, set] |
| Gets or sets the value at the index of the Vector. | |
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.eulerToEuler().
|
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, makVrl.TaitBryan.theta, makVrl.Vector3d.X, makVrl.Vector3d.Y, and makVrl.Vector3d.Z.
|
inline |
Constructs a new TaitBryan instance from the given Vector4d.
| v | The Vector4d to copy components from. |
References makVrl.TaitBryan.phi, makVrl.TaitBryan.psi, makVrl.TaitBryan.theta, makVrl.Vector4d.X, makVrl.Vector4d.Y, and makVrl.Vector4d.Z.
|
inline |
References makVrl.TaitBryan.phi, makVrl.TaitBryan.psi, and makVrl.TaitBryan.theta.
References makVrl.Constants.copysign().
Referenced by makVrl.Smoother.approxEuler(), makVrl.DeadReckoner.deadReckonEuler(), and makVrl.TaitBryan.eulerToEuler().
|
inline |
Indicates whether this instance and a specified object are equal.
| obj | The object to compare to. |
Referenced by makVrl.TaitBryan.operator!=(), and makVrl.TaitBryan.operator==().
|
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.
References makVrl.TaitBryan.phi, makVrl.TaitBryan.psi, and makVrl.TaitBryan.theta.
Referenced by makVrl.TaitBryan.eulerToEuler(), and makVrl.DeadReckoner.setOrientation().
|
inline |
Returns the hashcode for this instance.
References makVrl.TaitBryan.phi, makVrl.TaitBryan.psi, and makVrl.TaitBryan.theta.
Compares two instances for inequality.
| left | The first instance. |
| right | The second instance. |
References makVrl.TaitBryan.Equals().
Compares two instances for equality.
| left | The first instance. |
| right | The second instance. |
References makVrl.TaitBryan.Equals().
|
inline |
Returns a System.String that represents the current Vector3.
References makVrl.TaitBryan.listSeparator, makVrl.TaitBryan.phi, makVrl.TaitBryan.psi, and makVrl.TaitBryan.theta.
Referenced by makVrl.EntityStateRepository.printDataToConsole().
|
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 TransmitterStateMessage.BeamAntennaPattern.deserialize(), EntityStateMessage.deserialize(), makVrl.TaitBryan.Equals(), makVrl.TaitBryan.Euler_to_BodyToRef(), makVrl.TaitBryan.GetHashCode(), makVrl.TopographicCoord.getTaitBryan(), f18.VehicleSim.init(), makVrl.TopographicCoord.rollFromGeocentric(), TransmitterStateMessage.BeamAntennaPattern.serialize(), EntityStateMessage.serialize(), makVrl.TaitBryan.TaitBryan(), and makVrl.TaitBryan.ToString().
| double makVrl.TaitBryan.psi |
The psi component of the TaitBryan.
Referenced by TransmitterStateMessage.BeamAntennaPattern.deserialize(), EntityStateMessage.deserialize(), makVrl.TaitBryan.Equals(), makVrl.TaitBryan.Euler_to_BodyToRef(), makVrl.TaitBryan.GetHashCode(), makVrl.TopographicCoord.getTaitBryan(), makVrl.TopographicCoord.headingFromGeocentric(), f18.VehicleSim.init(), TransmitterStateMessage.BeamAntennaPattern.serialize(), EntityStateMessage.serialize(), f18.VehicleSim.simTick(), 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 TransmitterStateMessage.BeamAntennaPattern.deserialize(), EntityStateMessage.deserialize(), makVrl.TaitBryan.Equals(), makVrl.TaitBryan.Euler_to_BodyToRef(), makVrl.TaitBryan.GetHashCode(), makVrl.TopographicCoord.getTaitBryan(), makVrl.TopographicCoord.pitchFromGeocentric(), TransmitterStateMessage.BeamAntennaPattern.serialize(), EntityStateMessage.serialize(), 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.