VR-Link C# API Documentation
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Events Macros Pages
List of all members | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Properties | Static Private Attributes
makVrl.TaitBryan Struct Reference

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

Detailed Description

Represents a 3D vector using three double-precision floating-point numbers.

Constructor & Destructor Documentation

makVrl.TaitBryan.TaitBryan ( double  value)
inline

Constructs a new instance.

Parameters
valueThe value that will initialize this instance.

References makVrl.TaitBryan.phi, makVrl.TaitBryan.psi, and makVrl.TaitBryan.theta.

Referenced by makVrl.TaitBryan.eulerToEuler().

makVrl.TaitBryan.TaitBryan ( double  ps,
double  th,
double  ph 
)
inline

Constructs a new TaitBryan.

Parameters
xThe psi component of the TaitBryan.
yThe theta component of the TaitBryan.
zThe phi component of the TaitBryan.

References makVrl.TaitBryan.phi, makVrl.TaitBryan.psi, and makVrl.TaitBryan.theta.

makVrl.TaitBryan.TaitBryan ( Vector3d  v)
inline

Constructs a new TaitBryan instance from the given Vector3d.

Parameters
vThe 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.

makVrl.TaitBryan.TaitBryan ( Vector4d  v)
inline

Constructs a new TaitBryan instance from the given Vector4d.

Parameters
vThe 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.

makVrl.TaitBryan.TaitBryan ( TaitBryan  v)
inline

Member Function Documentation

static void makVrl.TaitBryan.BodyToRef_to_Euler ( Matrix3d  body2ref,
ref TaitBryan  e 
)
inlinestatic
override bool makVrl.TaitBryan.Equals ( object  obj)
inline

Indicates whether this instance and a specified object are equal.

Parameters
objThe object to compare to.
Returns
True if the instances are equal; false otherwise.

Referenced by makVrl.TaitBryan.operator!=(), and makVrl.TaitBryan.operator==().

bool makVrl.TaitBryan.Equals ( TaitBryan  other)
inline

Indicates whether the current vector is equal to another vector.

Parameters
otherA vector to compare with this vector.
Returns
true if the current vector is equal to the vector parameter; otherwise, false.

References makVrl.TaitBryan.phi, makVrl.TaitBryan.psi, and makVrl.TaitBryan.theta.

static void makVrl.TaitBryan.Euler_to_BodyToRef ( TaitBryan  tb,
ref Matrix3d  HcW 
)
inlinestatic
static TaitBryan makVrl.TaitBryan.eulerToEuler ( TaitBryan  input,
Matrix3d  in2out 
)
inlinestatic
override int makVrl.TaitBryan.GetHashCode ( )
inline

Returns the hashcode for this instance.

Returns
A System.Int32 containing the unique hashcode for this instance.

References makVrl.TaitBryan.phi, makVrl.TaitBryan.psi, and makVrl.TaitBryan.theta.

static bool makVrl.TaitBryan.operator!= ( TaitBryan  left,
TaitBryan  right 
)
inlinestatic

Compares two instances for inequality.

Parameters
leftThe first instance.
rightThe second instance.
Returns
True, if left does not equa lright; false otherwise.

References makVrl.TaitBryan.Equals().

static bool makVrl.TaitBryan.operator== ( TaitBryan  left,
TaitBryan  right 
)
inlinestatic

Compares two instances for equality.

Parameters
leftThe first instance.
rightThe second instance.
Returns
True, if left equals right; false otherwise.

References makVrl.TaitBryan.Equals().

override string makVrl.TaitBryan.ToString ( )
inline

Returns a System.String that represents the current Vector3.

Returns

References makVrl.TaitBryan.listSeparator, makVrl.TaitBryan.phi, makVrl.TaitBryan.psi, and makVrl.TaitBryan.theta.

Referenced by makVrl.EntityStateRepository.printDataToConsole().

Member Data Documentation

string makVrl.TaitBryan.listSeparator = System.Globalization.CultureInfo.CurrentCulture.TextInfo.ListSeparator
staticprivate
readonly Vector3d makVrl.TaitBryan.One = new Vector3d(1, 1, 1)
static

Defines an instance with all components set to 1.

double makVrl.TaitBryan.phi
double makVrl.TaitBryan.psi
readonly int makVrl.TaitBryan.SizeInBytes = Marshal.SizeOf(new Vector3d())
static

Defines the size of the Vector3d struct in bytes.

double makVrl.TaitBryan.theta
readonly Vector3d makVrl.TaitBryan.Zero = new Vector3d(0, 0, 0)
static

Defines a zero-length Vector3.

Referenced by makVrl.EntityStateRepository.EntityStateRepository().

Property Documentation

double makVrl.TaitBryan.this[int index]
getset

Gets or sets the value at the index of the Vector.


The documentation for this struct was generated from the following file:

Document ID: Generated on Fri Dec 2 02:42:08 EST 2016 from SVN revision 171416
Copyright © 2005-2016 VT MÄK. All Rights Reserved (www.mak.com)