Module |
|
Header |
/Engine/Plugins/Experimental/GeometryProcessing/Source/GeometricObjects/Public/VectorTypes.h |
Include |
#include "VectorTypes.h" |
template<typename T>
struct FVector2
Templated 2D Vector. Ported from g3Sharp library, with the intention of maintaining compatibility with existing g3Sharp code. Has an API similar to WildMagic, GTEngine, Eigen, etc.
Convenience typedefs for FVector2f/FVector2d/FVector2i are defined, and should be preferentially used over the base template type
Name | Description | ||
---|---|---|---|
|
T |
X |
|
|
T |
Y |
Name | Description | ||
---|---|---|---|
|
T |
AngleD ( |
Angle in Degrees. |
|
T |
AngleR ( |
Angle in Radians. |
|
constexpr T |
Cross ( |
|
|
constexpr T |
Distance ( |
|
|
constexpr T |
DistanceSquared ( |
|
|
constexpr T |
Dot ( |
|
|
constexpr T |
DotPerp ( |
|
|
constexpr bo... |
IsNormalized() |
|
|
constexpr T |
Length() |
|
|
FVector2< T ... |
Lerp |
|
|
T |
Normalize ( |
|
|
constexpr FV... |
Normalized ( |
|
|
constexpr FV... |
One() |
|
|
T |
Orient |
Returns >0 if C is to the left of the A->B Line, <0 if to the right, 0 if on the line. |
|
constexpr FV... |
Perp() |
|
|
T |
SignedAngleR ( |
Angle in Radians. |
|
T |
SquaredLength() |
|
|
constexpr FV... |
UnitX() |
|
|
constexpr FV... |
UnitY() |
|
|
constexpr FV... |
Zero() |
Name | Description | ||
---|---|---|---|
|
constexpr FV... |
operator-() |
|
|
constexpr FV... |
operator- ( |
|
|
constexpr FV... |
operator- ( |
|
|
constexpr |
operator const T *() |
|
|
operator FVector2D() |
||
|
constexpr |
operator T *() |
|
|
constexpr bo... |
operator!= ( |
|
|
constexpr FV... |
operator* ( |
|
|
constexpr FV... |
operator* ( |
|
|
constexpr FV... |
operator* ( |
|
|
constexpr FV... |
operator*= ( |
|
|
constexpr FV... |
operator/ ( |
|
|
constexpr FV... |
operator/ ( |
|
|
constexpr FV... |
operator/= ( |
|
|
constexpr T ... |
operator[] ( |
|
|
constexpr co... |
operator[] ( |
|
|
constexpr FV... |
operator+ ( |
|
|
constexpr FV... |
operator+ ( |
|
|
constexpr FV... |
operator+= ( |
|
|
constexpr FV... |
operator= ( |
|
|
constexpr FV... |
operator-= ( |
|
|
constexpr bo... |
operator== ( |