Struct BiVector4d
A four dimentional bi-vector i.e. a line.
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
Assembly: AxCommon.dll
Constructors
|
Improve this Doc
View Source
Declaration
public BiVector4d(float xy, float yz, float zx, float wx, float wy, float wz)
Parameters
Type |
Name |
Description |
System.Single |
xy |
|
System.Single |
yz |
|
System.Single |
zx |
|
System.Single |
wx |
|
System.Single |
wy |
|
System.Single |
wz |
|
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
Field Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
Declaration
Field Value
Type |
Description |
System.Single |
|
Properties
|
Improve this Doc
View Source
Declaration
public float Magnitude { get; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
Declaration
public float MagnitudeSqr { get; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
Declaration
public BiVector3d Moment { get; }
Property Value
|
Improve this Doc
View Source
Declaration
public Vector3 Tangent { get; }
Property Value
Type |
Description |
OpenToolkit.Mathematics.Vector3 |
|
Methods
|
Improve this Doc
View Source
Declaration
public static void AntiWedge(in BiVector4d bv1, in BiVector4d bv2, out float f)
Parameters
|
Improve this Doc
View Source
Normalizes a BiVector4 so that the norm one.
This does not normalize the "weight" of the represented line.
Declaration
public static void Normalize(ref BiVector4d bv)
Parameters
Type |
Name |
Description |
BiVector4d |
bv |
The BiVector to normalize.
|
|
Improve this Doc
View Source
Declaration
public static void Normalize(in BiVector4d bv, out BiVector4d result)
Parameters
|
Improve this Doc
View Source
Normalizes the tangent direction for this line while keeping it's position in space the same.
Declaration
public static void NormalizeWeight(ref BiVector4d bv)
Parameters
Type |
Name |
Description |
BiVector4d |
bv |
The BiVector4 to normalize the weight of.
|
|
Improve this Doc
View Source
Declaration
public static void NormalizeWeight(in BiVector4d bv, out BiVector4d result)
Parameters
|
Improve this Doc
View Source
Calcualtes the signed minimum distance between two lines.
Declaration
public static float SignedMinDist(in BiVector4d bv1, in BiVector4d bv2)
Parameters
Returns
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
Creates a AntiVector4 (plane) from a BiVector4 (line) and a Vector4 (point).
Assuming there is no linear dependancy between the line and the point.
Declaration
public static void Wedge(in BiVector4d bv, in Vector4 v, out AntiVector4d tv)
Parameters
Type |
Name |
Description |
BiVector4d |
bv |
The BiVector4 (line).
|
OpenToolkit.Mathematics.Vector4 |
v |
The Vector4 (point).
|
AntiVector4d |
tv |
The result AntiVector4 (plane).
|