Struct Rotor3
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
Assembly: AxCommon.dll
public struct Rotor3 : IEquatable<Rotor3>
Constructors
|
Improve this Doc
View Source
Declaration
public Rotor3(Vector3 from, Vector3 to)
Parameters
Type |
Name |
Description |
OpenToolkit.Mathematics.Vector3 |
from |
|
OpenToolkit.Mathematics.Vector3 |
to |
|
|
Improve this Doc
View Source
Declaration
public Rotor3(float a, in BiVector3d bv)
Parameters
Type |
Name |
Description |
System.Single |
a |
|
BiVector3d |
bv |
|
|
Improve this Doc
View Source
Declaration
public Rotor3(float a, float xy, float xz, float yz)
Parameters
Type |
Name |
Description |
System.Single |
a |
|
System.Single |
xy |
|
System.Single |
xz |
|
System.Single |
yz |
|
Fields
|
Improve this Doc
View Source
Declaration
Field Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
Declaration
Field Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
Declaration
Field Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
Declaration
Field Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
Declaration
public static readonly Rotor3 Identity
Field Value
Properties
|
Improve this Doc
View Source
Declaration
public BiVector3d BiVector { get; }
Property Value
|
Improve this Doc
View Source
Declaration
public float Length { get; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
Declaration
public float LengthSquared { get; }
Property Value
Type |
Description |
System.Single |
|
Methods
|
Improve this Doc
View Source
Declaration
public static Rotor3 Conjugate(in Rotor3 r)
Parameters
Type |
Name |
Description |
Rotor3 |
r |
|
Returns
|
Improve this Doc
View Source
Declaration
public static void Conjugate(in Rotor3 r, out Rotor3 c)
Parameters
|
Improve this Doc
View Source
Declaration
public bool Equals(Rotor3 other)
Parameters
Type |
Name |
Description |
Rotor3 |
other |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Geometric product. This will create a rotor with double the angle from a to b.
Declaration
public static Rotor3 Geo(in Vector3 a, in Vector3 b)
Parameters
Type |
Name |
Description |
OpenToolkit.Mathematics.Vector3 |
a |
|
OpenToolkit.Mathematics.Vector3 |
b |
|
Returns
|
Improve this Doc
View Source
Geometric product. This will create a rotor with double the angle from a to b.
Declaration
public static void Geo(in Vector3 a, in Vector3 b, out Rotor3 res)
Parameters
Type |
Name |
Description |
OpenToolkit.Mathematics.Vector3 |
a |
|
OpenToolkit.Mathematics.Vector3 |
b |
|
Rotor3 |
res |
|
|
Improve this Doc
View Source
Declaration
public static Rotor3 Multiply(in Rotor3 a, in Rotor3 b)
Parameters
Returns
|
Improve this Doc
View Source
Declaration
public static void Multiply(in Rotor3 a, in Rotor3 b, out Rotor3 res)
Parameters
|
Improve this Doc
View Source
Declaration
public static Rotor3 Normalize(in Rotor3 rot)
Parameters
Type |
Name |
Description |
Rotor3 |
rot |
|
Returns
|
Improve this Doc
View Source
Declaration
public static void Normalize(in Rotor3 rot, out Rotor3 res)
Parameters
|
Improve this Doc
View Source
Declaration
public static Vector3 Rotate(in Rotor3 r, in Vector3 v)
Parameters
Type |
Name |
Description |
Rotor3 |
r |
|
OpenToolkit.Mathematics.Vector3 |
v |
|
Returns
Type |
Description |
OpenToolkit.Mathematics.Vector3 |
|
|
Improve this Doc
View Source
Declaration
public static void Rotate(in Rotor3 p, in Vector3 x, out Vector3 r)
Parameters
Type |
Name |
Description |
Rotor3 |
p |
|
OpenToolkit.Mathematics.Vector3 |
x |
|
OpenToolkit.Mathematics.Vector3 |
r |
|
|
Improve this Doc
View Source
Declaration
public static Matrix3 ToMatrix3(in Rotor3 rot)
Parameters
Type |
Name |
Description |
Rotor3 |
rot |
|
Returns
Type |
Description |
OpenToolkit.Mathematics.Matrix3 |
|
|
Improve this Doc
View Source
Declaration
public static void ToMatrix3(in Rotor3 rot, out Matrix3 res)
Parameters
Type |
Name |
Description |
Rotor3 |
rot |
|
OpenToolkit.Mathematics.Matrix3 |
res |
|
Operators
|
Improve this Doc
View Source
Declaration
public static bool operator ==(in Rotor3 a, in Rotor3 b)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Declaration
public static bool operator !=(in Rotor3 a, in Rotor3 b)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Declaration
public static Rotor3 operator *(in Rotor3 a, in Rotor3 b)
Parameters
Returns
|
Improve this Doc
View Source
Declaration
public static Vector3 operator *(in Rotor3 rot, in Vector3 vec)
Parameters
Type |
Name |
Description |
Rotor3 |
rot |
|
OpenToolkit.Mathematics.Vector3 |
vec |
|
Returns
Type |
Description |
OpenToolkit.Mathematics.Vector3 |
|
Implements
System.IEquatable<T>