FCartesianCoordinates

Using double precision maths from the Geometry plugin.

Windows
MacOS
Linux

References

Module

GeoReferencing

Header

/Engine/Plugins/Runtime/GeoReferencing/Source/GeoReferencing/Public/CartesianCoordinates.h

Include

#include "CartesianCoordinates.h"

Syntax

[USTRUCT](Programming/UnrealArchitecture/Reference/Structs)([BlueprintType](Programming/UnrealArchitecture/Reference/Structs/Specifiers/BlueprintType))
struct FCartesianCoordinates

Remarks

PEER_REVIEW - I used an Fxxx instead of UObject-based as I thought it was cheaper memorywise, but I needed to add a BP_FL to make the conversions since Fstruct can't contain UFUNCTIONS. Is that a good choice ?

Variables

Name Description

Public variable

double

 

X

Public variable

double

 

Y

Public variable

double

 

Z

Constructors

Name Description

Public function

FCartesianCoordinates()

Public function

FCartesianCoordinates

(
    const FVector3d& Coordinates
)

Public function

FCartesianCoordinates

(
    const FVector4d& Coordinates
)

Public function

FCartesianCoordinates

(
    double InX,
    double InY,
    double InZ
)

Functions

Name Description

Public function

FText

 

ToCompactText

(
    int32 IntegralDigits
)

Public function

void

 

ToFloatApproximation

(
    float& OutX,
    float& OutY,
    float& OutZ
)

Public function

FText

 

ToFullText

(
    int32 IntegralDigits
)

Public function

void

 

ToSeparateTexts

(
    FText& OutX,
    FText& OutY,
    FText& OutZ,
    int32 IntegralDigits
)

Public function Const

FVector3d

 

ToVector3d()

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss