Parameters
DenseVector
v
The vector to transform into a Quaternion
Type Quaternion
Namespace MathNet.Spatial.Euclidean
Parent ValueType
Interfaces IEquatable<Quaternion>, IFormattable, IXmlSerializable
http://en.wikipedia.org/wiki/Quaternion http://mathworld.wolfram.com/Quaternion.html http://web.cs.iastate.edu/~cs577/handouts/quaternion.pdf http://www.lce.hut.fi/~ssarkka/pub/quat.pdf
DenseVector
vThe vector to transform into a Quaternion
double
realThe rotation component of the Quaternion
double
imagXThe X-value of the vector component of the Quaternion
double
imagYThe Y-value of the vector component of the Quaternion
double
imagZThe Z-value of the vector component of the Quaternion
int
nan integer
double
xa double
double
the polynomial result
int
nan integer
double
xa double
double
the polynomial result
double
The distance between two quaternions.
Quaternion
otherThe unit vector to compare against.
double
toleranceA tolerance (epsilon) to adjust for floating point error
bool
true if the vectors are equal; otherwise false
double
lbaseA base
This algorithm is not very accurate and works only for normalized quaternions
double
powera number by which to raise the quaternion to
int
powera number by which to raise the quaternion to
string
a string representation of the quaternion
string
formatA format string to pass to the format provider
IFormatProvider
formatProvidera format provider
string
A string representation of the quaternion
To normalize a quaternion to a length of 1, use the Normalized method. All unit quaternions form a 3-sphere.
return Quaternion
|
return Quaternion
|