Struct Omnitree.Vector<A1, A2, A3, A4, A5>
Represents a 5D vector.
Namespace: Towel.DataStructures
Assembly: Towel.dll
Syntax
public struct Vector<A1, A2, A3, A4, A5>
Type Parameters
Name | Description |
---|---|
A1 | The generic type of the 1 dimension. |
A2 | The generic type of the 2 dimension. |
A3 | The generic type of the 3 dimension. |
A4 | The generic type of the 4 dimension. |
A5 | The generic type of the 5 dimension. |
Constructors
| Improve this Doc View SourceVector(A1, A2, A3, A4, A5)
A location along each axis.
Declaration
public Vector(A1 axis1, A2 axis2, A3 axis3, A4 axis4, A5 axis5)
Parameters
Type | Name | Description |
---|---|---|
A1 | axis1 | The location along axis 1. |
A2 | axis2 | The location along axis 2. |
A3 | axis3 | The location along axis 3. |
A4 | axis4 | The location along axis 4. |
A5 | axis5 | The location along axis 5. |
Fields
| Improve this Doc View SourceAxis1
The value along axis 1.
Declaration
public A1 Axis1
Field Value
Type | Description |
---|---|
A1 |
Axis2
The value along axis 2.
Declaration
public A2 Axis2
Field Value
Type | Description |
---|---|
A2 |
Axis3
The value along axis 3.
Declaration
public A3 Axis3
Field Value
Type | Description |
---|---|
A3 |
Axis4
The value along axis 4.
Declaration
public A4 Axis4
Field Value
Type | Description |
---|---|
A4 |
Axis5
The value along axis 5.
Declaration
public A5 Axis5
Field Value
Type | Description |
---|---|
A5 |
Properties
| Improve this Doc View SourceDefault
Returns a vector with defaulted values.
Declaration
public static Omnitree.Vector<A1, A2, A3, A4, A5> Default { get; }
Property Value
Type | Description |
---|---|
Omnitree.Vector<A1, A2, A3, A4, A5> |