#include <TwoVectors.h>
◆ FTwoVectors() [1/3]
| FTwoVectors::FTwoVectors |
( |
| ) |
|
|
inline |
◆ FTwoVectors() [2/3]
Creates and initializes a new instance with the specified vectors.
- Parameters
-
| In1 | The first Vector. |
| In2 | The second Vector. |
◆ FTwoVectors() [3/3]
Constructor.
- Parameters
-
| EForceInit | Force Init Enum |
◆ Equals()
Error-tolerant comparison.
- Parameters
-
| V | The other pair. |
| Tolerance | Error Tolerance. |
- Returns
- true if two pairs are equal within specified tolerance, false otherwise..
◆ GetMax()
Get the maximum value of all the vector coordinates.
- Returns
- The maximum value of all the vector coordinates.
◆ GetMin()
Get the minimum value of all the vector coordinates.
- Returns
- The minimum value of all the vector coordinates.
◆ operator!=()
Checks two pairs for inequality.
- Parameters
-
- Returns
- true if the two pairs are different, false otherwise..
◆ operator*() [1/2]
Gets result of multiplying two pairs of vectors.
- Parameters
-
| V | The pair to multiply with. |
- Returns
- Result of multiplication.
◆ operator*() [2/2]
Gets result of scaling pair of vectors.
- Parameters
-
- Returns
- Result of Scaling.
◆ operator*=() [1/2]
Multiply the pair by another.
- Parameters
-
- Returns
- Copy of the pair after multiplication.
◆ operator*=() [2/2]
Scale the pair.
- Parameters
-
- Returns
- Copy of the pair after scaling.
◆ operator+()
Gets result of addition of two pairs of vectors.
- Parameters
-
- Returns
- Result of addition.
◆ operator+=()
Add a pair to this.
- Parameters
-
- Returns
- Copy of the pair after addition.
◆ operator-() [1/2]
Get a negated copy of the pair.
- Returns
- A negated copy of the pair.
◆ operator-() [2/2]
Gets result of subtraction of two pairs of vectors.
- Parameters
-
- Returns
- Result of subtraction.
◆ operator-=()
Subtract a pair from this.
- Parameters
-
- Returns
- Copy of the pair after subtraction.
◆ operator/() [1/2]
Gets result of division of two pairs of vectors.
- Parameters
-
- Returns
- Result of division.
◆ operator/() [2/2]
Gets result of dividing pair of vectors.
- Parameters
-
- Returns
- Result of division.
◆ operator/=() [1/2]
Divide the pair by another.
- Parameters
-
- Returns
- Copy of the pair after multiplication.
◆ operator/=() [2/2]
Divide the pair.
- Parameters
-
- Returns
- Copy of the pair after division.
◆ operator==()
Checks two pairs for equality.
- Parameters
-
- Returns
- true if the two pairs are equal, false otherwise..
◆ operator[]()
Get a specific component from the pair.
- Parameters
-
| i | The index of the component, even indices are for the first vector, odd ones are for the second. Returns index 5 if out of range. |
- Returns
- Reference to the specified component.
◆ Serialize()
◆ ToString()
Get a textual representation of this two-vector.
- Returns
- A string describing the two-vector.
◆ operator<<
Serializes the two-vector.
- Parameters
-
| Ar | The archive to serialize into. |
| TwoVectors | The two-vector to serialize. |
- Returns
- Reference to the Archive after serialization.
◆ v1
◆ v2
The documentation for this struct was generated from the following file: