![]() |
Ark Server API (ASE) - Wiki
|
#include <IntVector.h>
Collaboration diagram for FIntVector:Public Member Functions | |
| FIntVector () | |
| FIntVector (int32 InX, int32 InY, int32 InZ) | |
| FIntVector (int32 InValue) | |
| FIntVector (FVector InVector) | |
| FORCEINLINE | FIntVector (EForceInit) |
| const int32 & | operator() (int32 ComponentIndex) const |
| int32 & | operator() (int32 ComponentIndex) |
| const int32 & | operator[] (int32 ComponentIndex) const |
| int32 & | operator[] (int32 ComponentIndex) |
| bool | operator== (const FIntVector &Other) const |
| bool | operator!= (const FIntVector &Other) const |
| FIntVector & | operator*= (int32 Scale) |
| FIntVector & | operator/= (int32 Divisor) |
| FIntVector & | operator+= (const FIntVector &Other) |
| FIntVector & | operator-= (const FIntVector &Other) |
| FIntVector & | operator= (const FIntVector &Other) |
| FIntVector | operator* (int32 Scale) const |
| FIntVector | operator/ (int32 Divisor) const |
| FIntVector | operator+ (const FIntVector &Other) const |
| FIntVector | operator- (const FIntVector &Other) const |
| bool | IsZero () const |
| float | GetMax () const |
| float | GetMin () const |
| int32 | Size () const |
Static Public Member Functions | |
| static FIntVector | DivideAndRoundUp (FIntVector lhs, int32 Divisor) |
| static int32 | Num () |
Public Attributes | |
| int32 | X |
| int32 | Y |
| int32 | Z |
Static Public Attributes | |
| static const FIntVector | ZeroValue |
| static const FIntVector | NoneValue |
Structure for integer vectors in 3-d space.
Definition at line 16 of file IntVector.h.
| FORCEINLINE FIntVector::FIntVector | ( | ) |
Default constructor (no initialization).
Definition at line 246 of file IntVector.h.
Creates and initializes a new instance with the specified coordinates.
| InX | The x-coordinate. |
| InY | The y-coordinate. |
| InZ | The z-coordinate. |
Definition at line 250 of file IntVector.h.
Here is the caller graph for this function:
|
explicit |
Constructor
| InValue | replicated to all components |
Definition at line 257 of file IntVector.h.
|
explicit |
|
explicit |
|
static |
Divide an int point and round up the result.
| lhs | The int point being divided. |
| Divisor | What to divide the int point by. |
Definition at line 379 of file IntVector.h.
Here is the call graph for this function:| FORCEINLINE float FIntVector::GetMax | ( | ) | const |
Gets the maximum value in the point.
Definition at line 385 of file IntVector.h.
Here is the call graph for this function:| FORCEINLINE float FIntVector::GetMin | ( | ) | const |
Gets the minimum value in the point.
Definition at line 391 of file IntVector.h.
Here is the call graph for this function:| FORCEINLINE bool FIntVector::IsZero | ( | ) | const |
Is vector equal to zero.
Definition at line 411 of file IntVector.h.
Here is the call graph for this function:
|
static |
Gets the number of components a point has.
Definition at line 397 of file IntVector.h.
| FORCEINLINE bool FIntVector::operator!= | ( | const FIntVector & | Other | ) | const |
Compares points for inequality.
| Other | The other int point being compared. |
Definition at line 300 of file IntVector.h.
Gets specific component of a point.
| ComponentIndex | Index of point component. |
Definition at line 277 of file IntVector.h.
Gets specific component of a point.
| ComponentIndex | Index of point component. |
Definition at line 271 of file IntVector.h.
| FORCEINLINE FIntVector FIntVector::operator* | ( | int32 | Scale | ) | const |
Gets the result of scaling on this point.
| Scale | What to multiply the point by. |
Definition at line 356 of file IntVector.h.
Here is the call graph for this function:| FORCEINLINE FIntVector & FIntVector::operator*= | ( | int32 | Scale | ) |
Scales this point.
| Scale | What to multiply the point by. |
Definition at line 306 of file IntVector.h.
Here is the caller graph for this function:| FORCEINLINE FIntVector FIntVector::operator+ | ( | const FIntVector & | Other | ) | const |
Gets the result of addition on this point.
| Other | The other point to add to this. |
Definition at line 368 of file IntVector.h.
Here is the call graph for this function:| FORCEINLINE FIntVector & FIntVector::operator+= | ( | const FIntVector & | Other | ) |
Adds to this point.
| Other | The point to add to this point. |
Definition at line 326 of file IntVector.h.
Here is the caller graph for this function:| FORCEINLINE FIntVector FIntVector::operator- | ( | const FIntVector & | Other | ) | const |
Gets the result of subtraction from this point.
| Other | The other point to subtract from this. |
Definition at line 373 of file IntVector.h.
Here is the call graph for this function:| FORCEINLINE FIntVector & FIntVector::operator-= | ( | const FIntVector & | Other | ) |
Subtracts from this point.
| Other | The point to subtract from this point. |
Definition at line 336 of file IntVector.h.
Here is the caller graph for this function:| FORCEINLINE FIntVector FIntVector::operator/ | ( | int32 | Divisor | ) | const |
Gets the result of division on this point.
| Divisor | What to divide the point by. |
Definition at line 362 of file IntVector.h.
Here is the call graph for this function:| FORCEINLINE FIntVector & FIntVector::operator/= | ( | int32 | Divisor | ) |
Divides this point.
| Divisor | What to divide the point by. |
Definition at line 316 of file IntVector.h.
Here is the caller graph for this function:| FORCEINLINE FIntVector & FIntVector::operator= | ( | const FIntVector & | Other | ) |
Assigns another point to this one.
| Other | The point to assign this point from. |
Definition at line 346 of file IntVector.h.
| FORCEINLINE bool FIntVector::operator== | ( | const FIntVector & | Other | ) | const |
Compares points for equality.
| Other | The other int point being compared. |
Definition at line 294 of file IntVector.h.
Here is the caller graph for this function:Gets specific component of a point.
| ComponentIndex | Index of point component. |
Definition at line 289 of file IntVector.h.
Gets specific component of a point.
| ComponentIndex | Index of point component. |
Definition at line 283 of file IntVector.h.
| FORCEINLINE int32 FIntVector::Size | ( | ) | const |
Gets the distance of this point from (0,0,0).
Definition at line 403 of file IntVector.h.
Here is the call graph for this function:
|
static |
An int point with INDEX_NONE values.
Definition at line 33 of file IntVector.h.
| int32 FIntVector::X |
Holds the point's x-coordinate.
Definition at line 19 of file IntVector.h.
| int32 FIntVector::Y |
Holds the point's y-coordinate.
Definition at line 22 of file IntVector.h.
| int32 FIntVector::Z |
Holds the point's z-coordinate.
Definition at line 25 of file IntVector.h.
|
static |
An int point with zeroed values.
Definition at line 30 of file IntVector.h.