FVector2 Class

Single floating point 2D Vector.

Definition

Namespace: Geometry
Assembly: Geometry (in Geometry.dll) Version: 25.2613.4238
C#
public class FVector2
Inheritance
Object    FVector2
Derived

Constructors

FVector2 Create a new Instance of the FVector2 Item.
FVector2(FVector2) Create a new Instance of the FVector2 Item.
FVector2(Single, Single) Create a new Instance of the FVector2 Item.

Properties

ReadOnly Get/Set a value indicating whether this item is read-only.
X Get/Set the X value of the coordinate.
Y Get/Set the Y value of the coordinate.

Methods

Clear Clear the values on the specified vector.
Clone Return a memberwise clone of the provided vector.
Delta Return the coordinate difference between two vectors.
Dot Return the dot product of two vectors.
Equals Return a value indicating whether this item's members are equal to the members of the caller's item.
(Overrides ObjectEquals(Object))
Finalize
(Inherited from Object)
GetArray Return an array of values representing the member axes of the provided item.
GetHashCode Return the unique hash code for this instance.
(Overrides ObjectGetHashCode)
GetType
(Inherited from Object)
Invert Invert the values of the caller's coordinate.
IsDifferent Return a value indicating whether two vectors are different.
IsEmpty Return a value indicating whether the specified vector is empty.
Magnitude Return the absolute magnitude of the provided vector.
MemberwiseClone
(Inherited from Object)
MiddlePoint Return the middle coordinate between two vectors.
Offset Return a new instance the caller's vector, translated by the specified offset.
OnCoordinateChanged Raise the CoordinateChanged event whenever coordinates have changed.
Parse Parse a coordinate string and return its FVector2 representation.
Rotate Rotate the caller's point around the origin.
Scale Scale the caller's vector by a uniform factor.
SetArray Set the specified vector's values from the contents of the provided array.
ToString Return the string representation of this item.
(Overrides ObjectToString)
TransferValues Transfer the member values of one instance to another.
Translate Translate the values of the caller's vector by the provided offset.
Zero Zero the values of the specified vector.

Events

CoordinateChanged Fired when a coordinate has changed.

Operators

Addition(FVector2, FVector2) Return the result of the values of two vectors added together.
Equality(FVector2, FVector2) Return a value indicating whether values of two points are equal.
Inequality(FVector2, FVector2) Return a value indicating whether values of two vectors are not equal.
Multiply(FVector2, Single) Return the result of a point multiplied by a scalar.
Multiply(Single, FVector2) Return the result of a point multiplied by a scalar.
Subtraction(FVector2, FVector2) Return the result of one vector subtracted from another.

Fields

mReadOnly Private member for ReadOnly.
mX Private member for X.
mY Private member for Y.

See Also