CARLA
Loading...
Searching...
No Matches
FDVector Struct Reference

#include <DVector.h>

Public Member Functions

 FDVector ()
 FDVector (const FIntVector &V)
 FDVector (const FVector &V)
 FDVector (double InX, double InY, double InZ)
 FDVector (float InX, float InY, float InZ)
FDVector operator* (float Scale) const
FDVector operator*= (double Scale)
FDVector operator*= (float Scale)
FDVector operator+ (const FDVector &V) const
FDVector & operator+= (float Scalar)
FDVector operator- (const FDVector &V) const
FDVector & operator-= (const FIntVector &V)
FDVector operator-= (const FIntVector &V) const
FDVector operator/ (float Scale) const
FDVector & operator= (const FDVector &Other)
bool operator== (const FDVector &Other)
double Size () const
double SizeSquared () const
FIntVector ToFIntVector () const
FVector ToFVector () const
FString ToString () const

Static Public Member Functions

static double Dist (const FDVector &V1, const FDVector &V2)
static double DistSquared (const FDVector &V1, const FDVector &V2)

Public Attributes

double X = 0.0
double Y = 0.0
double Z = 0.0

Detailed Description

Definition at line 10 of file DVector.h.

Constructor & Destructor Documentation

◆ FDVector() [1/5]

◆ FDVector() [2/5]

FDVector::FDVector ( float InX,
float InY,
float InZ )
inline

Definition at line 19 of file DVector.h.

References X, Y, and Z.

◆ FDVector() [3/5]

FDVector::FDVector ( double InX,
double InY,
double InZ )
inline

Definition at line 21 of file DVector.h.

References X, Y, and Z.

◆ FDVector() [4/5]

FDVector::FDVector ( const FVector & V)
inline

Definition at line 23 of file DVector.h.

References X, Y, and Z.

◆ FDVector() [5/5]

FDVector::FDVector ( const FIntVector & V)
inline

Definition at line 25 of file DVector.h.

References X, Y, and Z.

Member Function Documentation

◆ Dist()

double FDVector::Dist ( const FDVector & V1,
const FDVector & V2 )
inlinestatic

Definition at line 37 of file DVector.h.

References DistSquared(), and FDVector().

◆ DistSquared()

double FDVector::DistSquared ( const FDVector & V1,
const FDVector & V2 )
inlinestatic

Definition at line 42 of file DVector.h.

References FDVector(), X, Y, and Z.

Referenced by Dist().

◆ operator*()

FDVector FDVector::operator* ( float Scale) const
inline

Definition at line 114 of file DVector.h.

References FDVector(), X, Y, and Z.

◆ operator*=() [1/2]

FDVector FDVector::operator*= ( double Scale)
inline

Definition at line 127 of file DVector.h.

References FDVector().

◆ operator*=() [2/2]

FDVector FDVector::operator*= ( float Scale)
inline

Definition at line 119 of file DVector.h.

References FDVector().

◆ operator+()

FDVector FDVector::operator+ ( const FDVector & V) const
inline

Definition at line 77 of file DVector.h.

References FDVector(), X, Y, and Z.

◆ operator+=()

FDVector & FDVector::operator+= ( float Scalar)
inline

Definition at line 82 of file DVector.h.

References FDVector().

◆ operator-()

FDVector FDVector::operator- ( const FDVector & V) const
inline

Definition at line 90 of file DVector.h.

References FDVector(), X, Y, and Z.

◆ operator-=() [1/2]

FDVector & FDVector::operator-= ( const FIntVector & V)
inline

Definition at line 100 of file DVector.h.

References FDVector().

◆ operator-=() [2/2]

FDVector FDVector::operator-= ( const FIntVector & V) const
inline

Definition at line 95 of file DVector.h.

References FDVector(), X, Y, and Z.

◆ operator/()

FDVector FDVector::operator/ ( float Scale) const
inline

Definition at line 108 of file DVector.h.

References FDVector(), X, Y, and Z.

◆ operator=()

FDVector & FDVector::operator= ( const FDVector & Other)
inline

Definition at line 62 of file DVector.h.

References FDVector(), and Other.

◆ operator==()

bool FDVector::operator== ( const FDVector & Other)
inline

Definition at line 70 of file DVector.h.

References FDVector(), Other, X, Y, and Z.

◆ Size()

double FDVector::Size ( ) const
inline

Definition at line 27 of file DVector.h.

References X, Y, and Z.

◆ SizeSquared()

double FDVector::SizeSquared ( ) const
inline

Definition at line 32 of file DVector.h.

References X, Y, and Z.

◆ ToFIntVector()

FIntVector FDVector::ToFIntVector ( ) const
inline

Definition at line 57 of file DVector.h.

References X, Y, and Z.

◆ ToFVector()

FVector FDVector::ToFVector ( ) const
inline

◆ ToString()

FString FDVector::ToString ( ) const
inline

Definition at line 52 of file DVector.h.

References X, Y, and Z.

Referenced by ALargeMapManager::ConvertDormantToActiveActors(), and FDenseTile::InitializeTile().

Member Data Documentation

◆ X

◆ Y

◆ Z


The documentation for this struct was generated from the following file: