|
FORCEINLINE void | DiagnosticCheckNaN () const |
|
FORCEINLINE void | DiagnosticCheckNaN (const TCHAR *Message) const |
|
FORCEINLINE | TVector () |
|
FORCEINLINE | TVector (T InF) |
|
FORCEINLINE constexpr | TVector (T InF, TVectorConstInit) |
|
FORCEINLINE | TVector (T InX, T InY, T InZ) |
|
FORCEINLINE | TVector (const TVector2< T > V, T InZ) |
|
FORCEINLINE | TVector (const UE::Math::TVector4< T > &V) |
|
| TVector (const FLinearColor &InColor) |
|
template<typename IntType > |
| TVector (TIntVector3< IntType > InVector) |
|
template<typename IntType > |
| TVector (TIntPoint< IntType > A) |
|
FORCEINLINE | TVector (EForceInit) |
|
FORCEINLINE TVector< T > | operator^ (const TVector< T > &V) const |
|
FORCEINLINE TVector< T > | Cross (const TVector< T > &V2) const |
|
FORCEINLINE T | operator| (const TVector< T > &V) const |
|
FORCEINLINE T | Dot (const TVector< T > &V) const |
|
FORCEINLINE TVector< T > | operator+ (const TVector< T > &V) const |
|
FORCEINLINE TVector< T > | operator- (const TVector< T > &V) const |
|
template<typename FArg , TEMPLATE_REQUIRES(std::is_arithmetic< FArg >::value) > |
FORCEINLINE TVector< T > | operator- (FArg Bias) const |
|
template<typename FArg , TEMPLATE_REQUIRES(std::is_arithmetic< FArg >::value) > |
FORCEINLINE TVector< T > | operator+ (FArg Bias) const |
|
template<typename FArg , TEMPLATE_REQUIRES(std::is_arithmetic< FArg >::value) > |
FORCEINLINE TVector< T > | operator* (FArg Scale) const |
|
template<typename FArg , TEMPLATE_REQUIRES(std::is_arithmetic< FArg >::value) > |
TVector< T > | operator/ (FArg Scale) const |
|
FORCEINLINE TVector< T > | operator* (const TVector< T > &V) const |
|
FORCEINLINE TVector< T > | operator/ (const TVector< T > &V) const |
|
bool | operator== (const TVector< T > &V) const |
|
bool | operator!= (const TVector< T > &V) const |
|
bool | Equals (const TVector< T > &V, T Tolerance=UE_KINDA_SMALL_NUMBER) const |
|
bool | AllComponentsEqual (T Tolerance=UE_KINDA_SMALL_NUMBER) const |
|
FORCEINLINE TVector< T > | operator- () const |
|
FORCEINLINE TVector< T > | operator+= (const TVector< T > &V) |
|
FORCEINLINE TVector< T > | operator-= (const TVector< T > &V) |
|
template<typename FArg , TEMPLATE_REQUIRES(std::is_arithmetic< FArg >::value) > |
FORCEINLINE TVector< T > | operator*= (FArg Scale) |
|
template<typename FArg , TEMPLATE_REQUIRES(std::is_arithmetic< FArg >::value) > |
TVector< T > | operator/= (FArg Scale) |
|
TVector< T > | operator*= (const TVector< T > &V) |
|
TVector< T > | operator/= (const TVector< T > &V) |
|
T & | operator[] (int32 Index) |
|
T | operator[] (int32 Index) const |
|
T & | Component (int32 Index) |
|
T | Component (int32 Index) const |
|
T | GetComponentForAxis (EAxis::Type Axis) const |
|
void | SetComponentForAxis (EAxis::Type Axis, T Component) |
|
void | Set (T InX, T InY, T InZ) |
|
T | GetMax () const |
|
T | GetAbsMax () const |
|
T | GetMin () const |
|
T | GetAbsMin () const |
|
TVector< T > | ComponentMin (const TVector< T > &Other) const |
|
TVector< T > | ComponentMax (const TVector< T > &Other) const |
|
TVector< T > | GetAbs () const |
|
T | Size () const |
|
T | Length () const |
|
T | SizeSquared () const |
|
T | SquaredLength () const |
|
T | Size2D () const |
|
T | SizeSquared2D () const |
|
bool | IsNearlyZero (T Tolerance=UE_KINDA_SMALL_NUMBER) const |
|
bool | IsZero () const |
|
FORCEINLINE bool | IsUnit (T LengthSquaredTolerance=UE_KINDA_SMALL_NUMBER) const |
|
bool | IsNormalized () const |
|
bool | Normalize (T Tolerance=UE_SMALL_NUMBER) |
|
FORCEINLINE TVector< T > | GetUnsafeNormal () const |
|
TVector< T > | GetSafeNormal (T Tolerance=UE_SMALL_NUMBER, const TVector< T > &ResultIfZero=ZeroVector) const |
|
TVector< T > | GetSafeNormal2D (T Tolerance=UE_SMALL_NUMBER, const TVector< T > &ResultIfZero=ZeroVector) const |
|
void | ToDirectionAndLength (TVector< T > &OutDir, double &OutLength) const |
|
void | ToDirectionAndLength (TVector< T > &OutDir, float &OutLength) const |
|
FORCEINLINE TVector< T > | GetSignVector () const |
|
TVector< T > | Projection () const |
|
FORCEINLINE TVector< T > | GetUnsafeNormal2D () const |
|
TVector< T > | GridSnap (const T &GridSz) const |
|
TVector< T > | BoundToCube (T Radius) const |
|
TVector< T > | BoundToBox (const TVector< T > &Min, const TVector< T > &Max) const |
|
TVector< T > | GetClampedToSize (T Min, T Max) const |
|
TVector< T > | GetClampedToSize2D (T Min, T Max) const |
|
TVector< T > | GetClampedToMaxSize (T MaxSize) const |
|
TVector< T > | GetClampedToMaxSize2D (T MaxSize) const |
|
void | AddBounded (const TVector< T > &V, T Radius=MAX_int16) |
|
TVector< T > | Reciprocal () const |
|
bool | IsUniform (T Tolerance=UE_KINDA_SMALL_NUMBER) const |
|
TVector< T > | MirrorByVector (const TVector< T > &MirrorNormal) const |
|
TVector< T > | MirrorByPlane (const TPlane< T > &Plane) const |
|
TVector< T > | RotateAngleAxis (const T AngleDeg, const TVector< T > &Axis) const |
|
TVector< T > | RotateAngleAxisRad (const T AngleRad, const TVector< T > &Axis) const |
|
FORCEINLINE T | CosineAngle2D (TVector< T > B) const |
|
FORCEINLINE TVector< T > | ProjectOnTo (const TVector< T > &A) const |
|
FORCEINLINE TVector< T > | ProjectOnToNormal (const TVector< T > &Normal) const |
|
TRotator< T > | ToOrientationRotator () const |
|
TQuat< T > | ToOrientationQuat () const |
|
FORCEINLINE UE::Math::TRotator< T > | Rotation () const |
|
void | FindBestAxisVectors (TVector< T > &Axis1, TVector< T > &Axis2) const |
|
void | UnwindEuler () |
|
bool | ContainsNaN () const |
|
FString | ToString () const |
|
FText | ToText () const |
|
FString | ToCompactString () const |
|
FText | ToCompactText () const |
|
bool | InitFromString (const FString &InSourceString) |
|
bool | InitFromCompactString (const FString &InSourceString) |
|
TVector2< T > | UnitCartesianToSpherical () const |
|
T | HeadingAngle () const |
|
bool | Serialize (FStructuredArchive::FSlot Slot) |
|
bool | SerializeFromMismatchedTag (FName StructTag, FStructuredArchive::FSlot Slot) |
|
bool | NetSerialize (FArchive &Ar, class UPackageMap *Map, bool &bOutSuccess) |
|
template<typename FArg , TEMPLATE_REQUIRES(!std::is_same_v< T, FArg >) > |
| TVector (const TVector< FArg > &From) |
|
template<typename IntType > |
FORCEINLINE | TVector (TIntVector3< IntType > InVector) |
|
template<typename IntType > |
FORCEINLINE | TVector (TIntPoint< IntType > A) |
|
|
static TVector< T > | Zero () |
|
static TVector< T > | One () |
|
static TVector< T > | UnitX () |
|
static TVector< T > | UnitY () |
|
static TVector< T > | UnitZ () |
|
static FORCEINLINE TVector< T > | CrossProduct (const TVector< T > &A, const TVector< T > &B) |
|
static FORCEINLINE T | DotProduct (const TVector< T > &A, const TVector< T > &B) |
|
static TVector< T > | SlerpVectorToDirection (TVector< T > &V, TVector< T > &Direction, T Alpha) |
|
static TVector< T > | SlerpNormals (TVector< T > &NormalA, TVector< T > &NormalB, T Alpha) |
|
static void | CreateOrthonormalBasis (TVector< T > &XAxis, TVector< T > &YAxis, TVector< T > &ZAxis) |
|
static bool | PointsAreSame (const TVector< T > &P, const TVector< T > &Q) |
|
static bool | PointsAreNear (const TVector< T > &Point1, const TVector< T > &Point2, T Dist) |
|
static T | PointPlaneDist (const TVector< T > &Point, const TVector< T > &PlaneBase, const TVector< T > &PlaneNormal) |
|
static TVector< T > | PointPlaneProject (const TVector< T > &Point, const TPlane< T > &Plane) |
|
static TVector< T > | PointPlaneProject (const TVector< T > &Point, const TVector< T > &A, const TVector< T > &B, const TVector< T > &C) |
|
static TVector< T > | PointPlaneProject (const TVector< T > &Point, const TVector< T > &PlaneBase, const TVector< T > &PlaneNormal) |
|
static TVector< T > | VectorPlaneProject (const TVector< T > &V, const TVector< T > &PlaneNormal) |
|
static FORCEINLINE T | Dist (const TVector< T > &V1, const TVector< T > &V2) |
|
static FORCEINLINE T | Distance (const TVector< T > &V1, const TVector< T > &V2) |
|
static FORCEINLINE T | DistXY (const TVector< T > &V1, const TVector< T > &V2) |
|
static FORCEINLINE T | Dist2D (const TVector< T > &V1, const TVector< T > &V2) |
|
static FORCEINLINE T | DistSquared (const TVector< T > &V1, const TVector< T > &V2) |
|
static FORCEINLINE T | DistSquaredXY (const TVector< T > &V1, const TVector< T > &V2) |
|
static FORCEINLINE T | DistSquared2D (const TVector< T > &V1, const TVector< T > &V2) |
|
static FORCEINLINE T | BoxPushOut (const TVector< T > &Normal, const TVector< T > &Size) |
|
static FORCEINLINE TVector< T > | Min (const TVector< T > &A, const TVector< T > &B) |
|
static FORCEINLINE TVector< T > | Max (const TVector< T > &A, const TVector< T > &B) |
|
static FORCEINLINE TVector< T > | Min3 (const TVector< T > &A, const TVector< T > &B, const TVector< T > &C) |
|
static FORCEINLINE TVector< T > | Max3 (const TVector< T > &A, const TVector< T > &B, const TVector< T > &C) |
|
static bool | Parallel (const TVector< T > &Normal1, const TVector< T > &Normal2, T ParallelCosineThreshold=UE_THRESH_NORMALS_ARE_PARALLEL) |
|
static bool | Coincident (const TVector< T > &Normal1, const TVector< T > &Normal2, T ParallelCosineThreshold=UE_THRESH_NORMALS_ARE_PARALLEL) |
|
static bool | Orthogonal (const TVector< T > &Normal1, const TVector< T > &Normal2, T OrthogonalCosineThreshold=UE_THRESH_NORMALS_ARE_ORTHOGONAL) |
|
static bool | Coplanar (const TVector< T > &Base1, const TVector< T > &Normal1, const TVector< T > &Base2, const TVector< T > &Normal2, T ParallelCosineThreshold=UE_THRESH_NORMALS_ARE_PARALLEL) |
|
static T | Triple (const TVector< T > &X, const TVector< T > &Y, const TVector< T > &Z) |
|
static T | EvaluateBezier (const TVector< T > *ControlPoints, int32 NumPoints, TArray< TVector< T > > &OutPoints) |
|
static TVector< T > | RadiansToDegrees (const TVector< T > &RadVector) |
|
static TVector< T > | DegreesToRadians (const TVector< T > &DegVector) |
|
static void | GenerateClusterCenters (TArray< TVector< T > > &Clusters, const TArray< TVector< T > > &Points, int32 NumIterations, int32 NumConnectionsToBeValid) |
|
template<
typename T>
struct UE::Math::TVector< T >
A vector in 3-D space composed of components (X, Y, Z) with floating point precision.
Definition at line 50 of file Vector.h.