Vector
Summary
The math class containing vector math operations
Definition
Namespace: SDT4.Managed.Core.Math
Assembly: SDT4.Managed.Core.dll
static class Vector
Inheritance:
Object ➔ Vector
Implements:
Fields
| Name | Type | Description |
|---|---|---|
Properties
| Name | Type | Description |
|---|---|---|
Methods
public static Vector2f NormalizeAngle(Vector2f v)
Summary: Normalises the angular components of a 2D vector in radians to the range [-pi, pi].
Parameters:
v(Vector2f): The vector containing angles in radians.
Returns:
- Vector2f: A vector containing normalised angles.
public static Vector3f NormalizeAngle(Vector3f v)
Summary: Normalises the angular components of a 3D vector in radians to the range [-pi, pi].
Parameters:
v(Vector3f): The vector containing angles in radians.
Returns:
- Vector3f: A vector containing normalised angles.
public static Vector4f NormalizeAngle(Vector4f v)
Summary: Normalises the angular components of a 4D vector in radians to the range [-pi, pi].
Parameters:
v(Vector4f): The vector containing angles in radians.
Returns:
- Vector4f: A vector containing normalised angles.
public static Vector2f DeltaAngle(Vector2f current, Vector2f target)
Summary: Calculates the shortest angular difference in radians between corresponding components of two 2D vectors.
Parameters:
Returns:
- Vector2f: A vector containing angular differences in the range [-pi, pi].
public static Vector3f DeltaAngle(Vector3f current, Vector3f target)
Summary: Calculates the shortest angular difference in radians between corresponding components of two 3D vectors.
Parameters:
Returns:
- Vector3f: A vector containing angular differences in the range [-pi, pi].
public static Vector4f DeltaAngle(Vector4f current, Vector4f target)
Summary: Calculates the shortest angular difference in radians between corresponding components of two 4D vectors.
Parameters:
Returns:
- Vector4f: A vector containing angular differences in the range [-pi, pi].
public static Vector2d NormalizeAngle(Vector2d v)
Summary: Normalises the angular components of a double-precision 2D vector in radians to the range [-pi, pi].
Parameters:
v(Vector2d): The vector containing angles in radians.
Returns:
- Vector2d: A vector containing normalised angles.
public static Vector3d NormalizeAngle(Vector3d v)
Summary: Normalises the angular components of a double-precision 3D vector in radians to the range [-pi, pi].
Parameters:
v(Vector3d): The vector containing angles in radians.
Returns:
- Vector3d: A vector containing normalised angles.
public static Vector4d NormalizeAngle(Vector4d v)
Summary: Normalises the angular components of a double-precision 4D vector in radians to the range [-pi, pi].
Parameters:
v(Vector4d): The vector containing angles in radians.
Returns:
- Vector4d: A vector containing normalised angles.
public static Vector2d DeltaAngle(Vector2d current, Vector2d target)
Summary: Calculates the shortest angular difference in radians between corresponding components of two double-precision 2D vectors.
Parameters:
Returns:
- Vector2d: A vector containing angular differences in the range [-pi, pi].
public static Vector3d DeltaAngle(Vector3d current, Vector3d target)
Summary: Calculates the shortest angular difference in radians between corresponding components of two double-precision 3D vectors.
Parameters:
Returns:
- Vector3d: A vector containing angular differences in the range [-pi, pi].
public static Vector4d DeltaAngle(Vector4d current, Vector4d target)
Summary: Calculates the shortest angular difference in radians between corresponding components of two double-precision 4D vectors.
Parameters:
Returns:
- Vector4d: A vector containing angular differences in the range [-pi, pi].
public static Vector2f ToDeg(Vector2f rad)
Summary: Converts the components of a 2D vector from radians to degrees.
Parameters:
rad(Vector2f): The vector containing angles in radians.
Returns:
- Vector2f: A vector containing angles in degrees.
public static Vector3f ToDeg(Vector3f rad)
Summary: Converts the components of a 3D vector from radians to degrees.
Parameters:
rad(Vector3f): The vector containing angles in radians.
Returns:
- Vector3f: A vector containing angles in degrees.
public static Vector4f ToDeg(Vector4f rad)
Summary: Converts the components of a 4D vector from radians to degrees.
Parameters:
rad(Vector4f): The vector containing angles in radians.
Returns:
- Vector4f: A vector containing angles in degrees.
public static Vector2f ToRad(Vector2f deg)
Summary: Converts the components of a 2D vector from degrees to radians.
Parameters:
deg(Vector2f): The vector containing angles in degrees.
Returns:
- Vector2f: A vector containing angles in radians.
public static Vector3f ToRad(Vector3f deg)
Summary: Converts the components of a 3D vector from degrees to radians.
Parameters:
deg(Vector3f): The vector containing angles in degrees.
Returns:
- Vector3f: A vector containing angles in radians.
public static Vector4f ToRad(Vector4f deg)
Summary: Converts the components of a 4D vector from degrees to radians.
Parameters:
deg(Vector4f): The vector containing angles in degrees.
Returns:
- Vector4f: A vector containing angles in radians.
public static Vector2d ToDeg(Vector2d rad)
Summary: Converts the components of a double-precision 2D vector from radians to degrees.
Parameters:
rad(Vector2d): The vector containing angles in radians.
Returns:
- Vector2d: A vector containing angles in degrees.
public static Vector3d ToDeg(Vector3d rad)
Summary: Converts the components of a double-precision 3D vector from radians to degrees.
Parameters:
rad(Vector3d): The vector containing angles in radians.
Returns:
- Vector3d: A vector containing angles in degrees.
public static Vector4d ToDeg(Vector4d rad)
Summary: Converts the components of a double-precision 4D vector from radians to degrees.
Parameters:
rad(Vector4d): The vector containing angles in radians.
Returns:
- Vector4d: A vector containing angles in degrees.
public static Vector2d ToRad(Vector2d deg)
Summary: Converts the components of a double-precision 2D vector from degrees to radians.
Parameters:
deg(Vector2d): The vector containing angles in degrees.
Returns:
- Vector2d: A vector containing angles in radians.
public static Vector3d ToRad(Vector3d deg)
Summary: Converts the components of a double-precision 3D vector from degrees to radians.
Parameters:
deg(Vector3d): The vector containing angles in degrees.
Returns:
- Vector3d: A vector containing angles in radians.
public static Vector4d ToRad(Vector4d deg)
Summary: Converts the components of a double-precision 4D vector from degrees to radians.
Parameters:
deg(Vector4d): The vector containing angles in degrees.
Returns:
- Vector4d: A vector containing angles in radians.
public static Vector2b Approximately(Vector2f a, Vector2f b)
Summary: Performs a component-wise approximate equality check between two 2D vectors using single-precision tolerance.
Parameters:
Returns:
- Vector2b: A boolean vector indicating component equality.
public static Vector2b Approximately(Vector2f a, Vector2f b, Single tolerance)
Summary: Performs a component-wise approximate equality check between two 2D vectors within a given tolerance.
Parameters:
-
a(Vector2f): The first vector operand. -
b(Vector2f): The second vector operand. -
tolerance(Single): The maximal amount of error allowed.
Returns:
- Vector2b: A boolean vector indicating component equality.
public static Vector3b Approximately(Vector3f a, Vector3f b)
Summary: Performs a component-wise approximate equality check between two 3D vectors using single-precision tolerance.
Parameters:
Returns:
- Vector3b: A boolean vector indicating component equality.
public static Vector3b Approximately(Vector3f a, Vector3f b, Single tolerance)
Summary: Performs a component-wise approximate equality check between two 3D vectors within a given tolerance.
Parameters:
-
a(Vector3f): The first vector operand. -
b(Vector3f): The second vector operand. -
tolerance(Single): The maximal amount of error allowed.
Returns:
- Vector3b: A boolean vector indicating component equality.
public static Vector4b Approximately(Vector4f a, Vector4f b)
Summary: Performs a component-wise approximate equality check between two 4D vectors using single-precision tolerance.
Parameters:
Returns:
- Vector4b: A boolean vector indicating component equality.
public static Vector4b Approximately(Vector4f a, Vector4f b, Single tolerance)
Summary: Performs a component-wise approximate equality check between two 4D vectors within a given tolerance.
Parameters:
-
a(Vector4f): The first vector operand. -
b(Vector4f): The second vector operand. -
tolerance(Single): The maximal amount of error allowed.
Returns:
- Vector4b: A boolean vector indicating component equality.
public static Vector2b IsBetween(Vector2f v, Vector2f min, Vector2f max)
Summary: Determines component-wise whether a 2D vector lies within an inclusive range defined by two boundary vectors.
Parameters:
-
v(Vector2f): The vector to test. -
min(Vector2f): The inclusive lower bound vector. -
max(Vector2f): The inclusive upper bound vector.
Returns:
- Vector2b: A boolean vector indicating component containment.
public static Vector3b IsBetween(Vector3f v, Vector3f min, Vector3f max)
Summary: Determines component-wise whether a 3D vector lies within an inclusive range defined by two boundary vectors.
Parameters:
-
v(Vector3f): The vector to test. -
min(Vector3f): The inclusive lower bound vector. -
max(Vector3f): The inclusive upper bound vector.
Returns:
- Vector3b: A boolean vector indicating component containment.
public static Vector4b IsBetween(Vector4f v, Vector4f min, Vector4f max)
Summary: Determines component-wise whether a 4D vector lies within an inclusive range defined by two boundary vectors.
Parameters:
-
v(Vector4f): The vector to test. -
min(Vector4f): The inclusive lower bound vector. -
max(Vector4f): The inclusive upper bound vector.
Returns:
- Vector4b: A boolean vector indicating component containment.
public static Vector2b IsBetweenExcl(Vector2f v, Vector2f min, Vector2f max)
Summary: Determines component-wise whether a 2D vector lies strictly within an exclusive range defined by two boundary vectors.
Parameters:
-
v(Vector2f): The vector to test. -
min(Vector2f): The exclusive lower bound vector. -
max(Vector2f): The exclusive upper bound vector.
Returns:
- Vector2b: A boolean vector indicating component strict containment.
public static Vector3b IsBetweenExcl(Vector3f v, Vector3f min, Vector3f max)
Summary: Determines component-wise whether a 3D vector lies strictly within an exclusive range defined by two boundary vectors.
Parameters:
-
v(Vector3f): The vector to test. -
min(Vector3f): The exclusive lower bound vector. -
max(Vector3f): The exclusive upper bound vector.
Returns:
- Vector3b: A boolean vector indicating component strict containment.
public static Vector4b IsBetweenExcl(Vector4f v, Vector4f min, Vector4f max)
Summary: Determines component-wise whether a 4D vector lies strictly within an exclusive range defined by two boundary vectors.
Parameters:
-
v(Vector4f): The vector to test. -
min(Vector4f): The exclusive lower bound vector. -
max(Vector4f): The exclusive upper bound vector.
Returns:
- Vector4b: A boolean vector indicating component strict containment.
public static Vector2b Approximately(Vector2d a, Vector2d b)
Summary: Performs a component-wise approximate equality check between two double-precision 2D vectors.
Parameters:
Returns:
- Vector2b: A boolean vector indicating component equality.
public static Vector2b Approximately(Vector2d a, Vector2d b, Double tolerance)
Summary: Performs a component-wise approximate equality check between two double-precision 2D vectors within a given tolerance.
Parameters:
-
a(Vector2d): The first vector operand. -
b(Vector2d): The second vector operand. -
tolerance(Double): The maximal amount of error allowed.
Returns:
- Vector2b: A boolean vector indicating component equality.
public static Vector3b Approximately(Vector3d a, Vector3d b)
Summary: Performs a component-wise approximate equality check between two double-precision 3D vectors.
Parameters:
Returns:
- Vector3b: A boolean vector indicating component equality.
public static Vector3b Approximately(Vector3d a, Vector3d b, Double tolerance)
Summary: Performs a component-wise approximate equality check between two double-precision 3D vectors within a given tolerance.
Parameters:
-
a(Vector3d): The first vector operand. -
b(Vector3d): The second vector operand. -
tolerance(Double): The maximal amount of error allowed.
Returns:
- Vector3b: A boolean vector indicating component equality.
public static Vector4b Approximately(Vector4d a, Vector4d b)
Summary: Performs a component-wise approximate equality check between two double-precision 4D vectors.
Parameters:
Returns:
- Vector4b: A boolean vector indicating component equality.
public static Vector4b Approximately(Vector4d a, Vector4d b, Double tolerance)
Summary: Performs a component-wise approximate equality check between two double-precision 4D vectors within a given tolerance.
Parameters:
-
a(Vector4d): The first vector operand. -
b(Vector4d): The second vector operand. -
tolerance(Double): The maximal amount of error allowed.
Returns:
- Vector4b: A boolean vector indicating component equality.
public static Vector2b IsBetween(Vector2d v, Vector2d min, Vector2d max)
Summary: Determines component-wise whether a double-precision 2D vector lies within an inclusive range defined by two boundary vectors.
Parameters:
-
v(Vector2d): The vector to test. -
min(Vector2d): The inclusive lower bound vector. -
max(Vector2d): The inclusive upper bound vector.
Returns:
- Vector2b: A boolean vector indicating component containment.
public static Vector3b IsBetween(Vector3d v, Vector3d min, Vector3d max)
Summary: Determines component-wise whether a double-precision 3D vector lies within an inclusive range defined by two boundary vectors.
Parameters:
-
v(Vector3d): The vector to test. -
min(Vector3d): The inclusive lower bound vector. -
max(Vector3d): The inclusive upper bound vector.
Returns:
- Vector3b: A boolean vector indicating component containment.
public static Vector4b IsBetween(Vector4d v, Vector4d min, Vector4d max)
Summary: Determines component-wise whether a double-precision 4D vector lies within an inclusive range defined by two boundary vectors.
Parameters:
-
v(Vector4d): The vector to test. -
min(Vector4d): The inclusive lower bound vector. -
max(Vector4d): The inclusive upper bound vector.
Returns:
- Vector4b: A boolean vector indicating component containment.
public static Vector2b IsBetweenExcl(Vector2d v, Vector2d min, Vector2d max)
Summary: Determines component-wise whether a double-precision 2D vector lies strictly within an exclusive range defined by two boundary vectors.
Parameters:
-
v(Vector2d): The vector to test. -
min(Vector2d): The exclusive lower bound vector. -
max(Vector2d): The exclusive upper bound vector.
Returns:
- Vector2b: A boolean vector indicating component strict containment.
public static Vector3b IsBetweenExcl(Vector3d v, Vector3d min, Vector3d max)
Summary: Determines component-wise whether a double-precision 3D vector lies strictly within an exclusive range defined by two boundary vectors.
Parameters:
-
v(Vector3d): The vector to test. -
min(Vector3d): The exclusive lower bound vector. -
max(Vector3d): The exclusive upper bound vector.
Returns:
- Vector3b: A boolean vector indicating component strict containment.
public static Vector4b IsBetweenExcl(Vector4d v, Vector4d min, Vector4d max)
Summary: Determines component-wise whether a double-precision 4D vector lies strictly within an exclusive range defined by two boundary vectors.
Parameters:
-
v(Vector4d): The vector to test. -
min(Vector4d): The exclusive lower bound vector. -
max(Vector4d): The exclusive upper bound vector.
Returns:
- Vector4b: A boolean vector indicating component strict containment.
public static Vector2b IsBetween(Vector2i v, Vector2i min, Vector2i max)
Summary: Determines component-wise whether an integer 2D vector lies within an inclusive range defined by two boundary vectors.
Parameters:
-
v(Vector2i): The vector to test. -
min(Vector2i): The inclusive lower bound vector. -
max(Vector2i): The inclusive upper bound vector.
Returns:
- Vector2b: A boolean vector indicating component containment.
public static Vector3b IsBetween(Vector3i v, Vector3i min, Vector3i max)
Summary: Determines component-wise whether an integer 3D vector lies within an inclusive range defined by two boundary vectors.
Parameters:
-
v(Vector3i): The vector to test. -
min(Vector3i): The inclusive lower bound vector. -
max(Vector3i): The inclusive upper bound vector.
Returns:
- Vector3b: A boolean vector indicating component containment.
public static Vector4b IsBetween(Vector4i v, Vector4i min, Vector4i max)
Summary: Determines component-wise whether an integer 4D vector lies within an inclusive range defined by two boundary vectors.
Parameters:
-
v(Vector4i): The vector to test. -
min(Vector4i): The inclusive lower bound vector. -
max(Vector4i): The inclusive upper bound vector.
Returns:
- Vector4b: A boolean vector indicating component containment.
public static Vector2b IsBetweenExcl(Vector2i v, Vector2i min, Vector2i max)
Summary: Determines component-wise whether an integer 2D vector lies strictly within an exclusive range defined by two boundary vectors.
Parameters:
-
v(Vector2i): The vector to test. -
min(Vector2i): The exclusive lower bound vector. -
max(Vector2i): The exclusive upper bound vector.
Returns:
- Vector2b: A boolean vector indicating component strict containment.
public static Vector3b IsBetweenExcl(Vector3i v, Vector3i min, Vector3i max)
Summary: Determines component-wise whether an integer 3D vector lies strictly within an exclusive range defined by two boundary vectors.
Parameters:
-
v(Vector3i): The vector to test. -
min(Vector3i): The exclusive lower bound vector. -
max(Vector3i): The exclusive upper bound vector.
Returns:
- Vector3b: A boolean vector indicating component strict containment.
public static Vector4b IsBetweenExcl(Vector4i v, Vector4i min, Vector4i max)
Summary: Determines component-wise whether an integer 4D vector lies strictly within an exclusive range defined by two boundary vectors.
Parameters:
-
v(Vector4i): The vector to test. -
min(Vector4i): The exclusive lower bound vector. -
max(Vector4i): The exclusive upper bound vector.
Returns:
- Vector4b: A boolean vector indicating component strict containment.
public static Vector3f Cross(Vector3f a, Vector3f b)
Summary: Calculates the cross product of two single-precision 3D vectors.
Parameters:
Returns:
- Vector3f: A vector perpendicular to both operands.
public static Vector3d Cross(Vector3d a, Vector3d b)
Summary: Calculates the cross product of two double-precision 3D vectors.
Parameters:
Returns:
- Vector3d: A vector perpendicular to both operands.
public static Vector3i Cross(Vector3i a, Vector3i b)
Summary: Calculates the cross product of two integer 3D vectors.
Parameters:
Returns:
- Vector3i: A vector perpendicular to both operands.
public static Vector2f SmoothDamp(Vector2f current, Vector2f target, ref Vector2f currentVelocity, Single smoothTime, Single maxSpeed, Single deltaTime)
Summary: Smoothly transitions a single-precision 2D vector towards a target over time using critically damped spring dynamics.
Parameters:
-
current(Vector2f): The current position vector. -
target(Vector2f): The target position vector. -
currentVelocity(Vector2f): A reference to the current velocity vector, modified by the method. -
smoothTime(Single): The approximate time required to reach the target. -
maxSpeed(Single): The maximum component movement speed allowed. -
deltaTime(Single): The elapsed time since the previous update.
Returns:
- Vector2f: The smoothed vector position.
public static Vector3f SmoothDamp(Vector3f current, Vector3f target, ref Vector3f currentVelocity, Single smoothTime, Single maxSpeed, Single deltaTime)
Summary: Smoothly transitions a single-precision 3D vector towards a target over time using critically damped spring dynamics.
Parameters:
-
current(Vector3f): The current position vector. -
target(Vector3f): The target position vector. -
currentVelocity(Vector3f): A reference to the current velocity vector, modified by the method. -
smoothTime(Single): The approximate time required to reach the target. -
maxSpeed(Single): The maximum component movement speed allowed. -
deltaTime(Single): The elapsed time since the previous update.
Returns:
- Vector3f: The smoothed vector position.
public static Vector4f SmoothDamp(Vector4f current, Vector4f target, ref Vector4f currentVelocity, Single smoothTime, Single maxSpeed, Single deltaTime)
Summary: Smoothly transitions a single-precision 4D vector towards a target over time using critically damped spring dynamics.
Parameters:
-
current(Vector4f): The current position vector. -
target(Vector4f): The target position vector. -
currentVelocity(Vector4f): A reference to the current velocity vector, modified by the method. -
smoothTime(Single): The approximate time required to reach the target. -
maxSpeed(Single): The maximum component movement speed allowed. -
deltaTime(Single): The elapsed time since the previous update.
Returns:
- Vector4f: The smoothed vector position.
public static Vector2d SmoothDamp(Vector2d current, Vector2d target, ref Vector2d currentVelocity, Double smoothTime, Double maxSpeed, Single deltaTime)
Summary: Smoothly transitions a double-precision 2D vector towards a target over time using critically damped spring dynamics.
Parameters:
-
current(Vector2d): The current position vector. -
target(Vector2d): The target position vector. -
currentVelocity(Vector2d): A reference to the current velocity vector, modified by the method. -
smoothTime(Double): The approximate time required to reach the target. -
maxSpeed(Double): The maximum component movement speed allowed. -
deltaTime(Single): The elapsed time since the previous update.
Returns:
- Vector2d: The smoothed vector position.
public static Vector3d SmoothDamp(Vector3d current, Vector3d target, ref Vector3d currentVelocity, Double smoothTime, Double maxSpeed, Single deltaTime)
Summary: Smoothly transitions a double-precision 3D vector towards a target over time using critically damped spring dynamics.
Parameters:
-
current(Vector3d): The current position vector. -
target(Vector3d): The target position vector. -
currentVelocity(Vector3d): A reference to the current velocity vector, modified by the method. -
smoothTime(Double): The approximate time required to reach the target. -
maxSpeed(Double): The maximum component movement speed allowed. -
deltaTime(Single): The elapsed time since the previous update.
Returns:
- Vector3d: The smoothed vector position.
public static Vector4d SmoothDamp(Vector4d current, Vector4d target, ref Vector4d currentVelocity, Double smoothTime, Double maxSpeed, Single deltaTime)
Summary: Smoothly transitions a double-precision 4D vector towards a target over time using critically damped spring dynamics.
Parameters:
-
current(Vector4d): The current position vector. -
target(Vector4d): The target position vector. -
currentVelocity(Vector4d): A reference to the current velocity vector, modified by the method. -
smoothTime(Double): The approximate time required to reach the target. -
maxSpeed(Double): The maximum component movement speed allowed. -
deltaTime(Single): The elapsed time since the previous update.
Returns:
- Vector4d: The smoothed vector position.
public static Int32 DistanceSq(Vector2i a, Vector2i b)
Summary: Calculates the squared Euclidean distance between two integer 2D vectors.
Parameters:
Returns:
- Int32: The squared distance.
public static Single Distance(Vector2i a, Vector2i b)
Summary: Calculates the Euclidean distance between two integer 2D vectors.
Parameters:
Returns:
- Single: The distance as a single-precision floating-point value.
public static Int32 DistanceSq(Vector3i a, Vector3i b)
Summary: Calculates the squared Euclidean distance between two integer 3D vectors.
Parameters:
Returns:
- Int32: The squared distance.
public static Single Distance(Vector3i a, Vector3i b)
Summary: Calculates the Euclidean distance between two integer 3D vectors.
Parameters:
Returns:
- Single: The distance as a single-precision floating-point value.
public static Int32 DistanceSq(Vector4i a, Vector4i b)
Summary: Calculates the squared Euclidean distance between two integer 4D vectors.
Parameters:
Returns:
- Int32: The squared distance.
public static Single Distance(Vector4i a, Vector4i b)
Summary: Calculates the Euclidean distance between two integer 4D vectors.
Parameters:
Returns:
- Single: The distance as a single-precision floating-point value.
public static Single DistanceSq(Vector2f a, Vector2f b)
Summary: Calculates the squared Euclidean distance between two single-precision 2D vectors.
Parameters:
Returns:
- Single: The squared distance.
public static Single Distance(Vector2f a, Vector2f b)
Summary: Calculates the Euclidean distance between two single-precision 2D vectors.
Parameters:
Returns:
- Single: The distance.
public static Single DistanceSq(Vector3f a, Vector3f b)
Summary: Calculates the squared Euclidean distance between two single-precision 3D vectors.
Parameters:
Returns:
- Single: The squared distance.
public static Single Distance(Vector3f a, Vector3f b)
Summary: Calculates the Euclidean distance between two single-precision 3D vectors.
Parameters:
Returns:
- Single: The distance.
public static Single DistanceSq(Vector4f a, Vector4f b)
Summary: Calculates the squared Euclidean distance between two single-precision 4D vectors.
Parameters:
Returns:
- Single: The squared distance.
public static Single Distance(Vector4f a, Vector4f b)
Summary: Calculates the Euclidean distance between two single-precision 4D vectors.
Parameters:
Returns:
- Single: The distance.
public static Double DistanceSq(Vector2d a, Vector2d b)
Summary: Calculates the squared Euclidean distance between two double-precision 2D vectors.
Parameters:
Returns:
- Double: The squared distance.
public static Double Distance(Vector2d a, Vector2d b)
Summary: Calculates the Euclidean distance between two double-precision 2D vectors.
Parameters:
Returns:
- Double: The distance.
public static Double DistanceSq(Vector3d a, Vector3d b)
Summary: Calculates the squared Euclidean distance between two double-precision 3D vectors.
Parameters:
Returns:
- Double: The squared distance.
public static Double Distance(Vector3d a, Vector3d b)
Summary: Calculates the Euclidean distance between two double-precision 3D vectors.
Parameters:
Returns:
- Double: The distance.
public static Double DistanceSq(Vector4d a, Vector4d b)
Summary: Calculates the squared Euclidean distance between two double-precision 4D vectors.
Parameters:
Returns:
- Double: The squared distance.
public static Double Distance(Vector4d a, Vector4d b)
Summary: Calculates the Euclidean distance between two double-precision 4D vectors.
Parameters:
Returns:
- Double: The distance.
public static Int32 Dot(Vector2i a, Vector2i b)
Summary: Calculates the dot product of two integer 2D vectors.
Parameters:
Returns:
- Int32: The scalar dot product.
public static Int32 Dot(Vector3i a, Vector3i b)
Summary: Calculates the dot product of two integer 3D vectors.
Parameters:
Returns:
- Int32: The scalar dot product.
public static Int32 Dot(Vector4i a, Vector4i b)
Summary: Calculates the dot product of two integer 4D vectors.
Parameters:
Returns:
- Int32: The scalar dot product.
public static Single Dot(Vector2f a, Vector2f b)
Summary: Calculates the dot product of two single-precision 2D vectors.
Parameters:
Returns:
- Single: The scalar dot product.
public static Single Dot(Vector3f a, Vector3f b)
Summary: Calculates the dot product of two single-precision 3D vectors.
Parameters:
Returns:
- Single: The scalar dot product.
public static Single Dot(Vector4f a, Vector4f b)
Summary: Calculates the dot product of two single-precision 4D vectors.
Parameters:
Returns:
- Single: The scalar dot product.
public static Double Dot(Vector2d a, Vector2d b)
Summary: Calculates the dot product of two double-precision 2D vectors.
Parameters:
Returns:
- Double: The scalar dot product.
public static Double Dot(Vector3d a, Vector3d b)
Summary: Calculates the dot product of two double-precision 3D vectors.
Parameters:
Returns:
- Double: The scalar dot product.
public static Double Dot(Vector4d a, Vector4d b)
Summary: Calculates the dot product of two double-precision 4D vectors.
Parameters:
Returns:
- Double: The scalar dot product.
public static Vector2f Clamp(Vector2f v, Vector2f min, Vector2f max)
Summary: Clamps the components of a 2D vector to the range defined by boundary vectors.
Parameters:
Returns:
public static Vector2f Clamp(Vector2f v, Single min, Single max)
Summary: Clamps the components of a 2D vector to a scalar range.
Parameters:
Returns:
public static Vector3f Clamp(Vector3f v, Vector3f min, Vector3f max)
Summary: Clamps the components of a 3D vector to the range defined by boundary vectors.
Parameters:
Returns:
public static Vector3f Clamp(Vector3f v, Single min, Single max)
Summary: Clamps the components of a 3D vector to a scalar range.
Parameters:
Returns:
public static Vector4f Clamp(Vector4f v, Vector4f min, Vector4f max)
Summary: Clamps the components of a 4D vector to the range defined by boundary vectors.
Parameters:
Returns:
public static Vector4f Clamp(Vector4f v, Single min, Single max)
Summary: Clamps the components of a 4D vector to a scalar range.
Parameters:
Returns:
public static Vector2f Min(Vector2f a, Vector2f b)
Summary: Returns the component-wise minimum of two 2D vectors.
Parameters:
Returns:
public static Vector2f Min(Vector2f a, Single b)
Summary: Returns the component-wise minimum between a 2D vector and a scalar value.
Parameters:
Returns:
public static Vector3f Min(Vector3f a, Vector3f b)
Summary: Returns the component-wise minimum of two 3D vectors.
Parameters:
Returns:
public static Vector3f Min(Vector3f a, Single b)
Summary: Returns the component-wise minimum between a 3D vector and a scalar value.
Parameters:
Returns:
public static Vector4f Min(Vector4f a, Vector4f b)
Summary: Returns the component-wise minimum of two 4D vectors.
Parameters:
Returns:
public static Vector4f Min(Vector4f a, Single b)
Summary: Returns the component-wise minimum between a 4D vector and a scalar value.
Parameters:
Returns:
public static Vector2f Max(Vector2f a, Vector2f b)
Summary: Returns the component-wise maximum of two 2D vectors.
Parameters:
Returns:
public static Vector2f Max(Vector2f a, Single b)
Summary: Returns the component-wise maximum between a 2D vector and a scalar value.
Parameters:
Returns:
public static Vector3f Max(Vector3f a, Vector3f b)
Summary: Returns the component-wise maximum of two 3D vectors.
Parameters:
Returns:
public static Vector3f Max(Vector3f a, Single b)
Summary: Returns the component-wise maximum between a 3D vector and a scalar value.
Parameters:
Returns:
public static Vector4f Max(Vector4f a, Vector4f b)
Summary: Returns the component-wise maximum of two 4D vectors.
Parameters:
Returns:
public static Vector4f Max(Vector4f a, Single b)
Summary: Returns the component-wise maximum between a 4D vector and a scalar value.
Parameters:
Returns:
public static Vector2f Ceil(Vector2f f)
Summary: Computes the smallest integral values greater than or equal to each component of a 2D vector.
Parameters:
f(Vector2f):
Returns:
public static Vector3f Ceil(Vector3f f)
Summary: Computes the smallest integral values greater than or equal to each component of a 3D vector.
Parameters:
f(Vector3f):
Returns:
public static Vector4f Ceil(Vector4f f)
Summary: Computes the smallest integral values greater than or equal to each component of a 4D vector.
Parameters:
f(Vector4f):
Returns:
public static Vector2f Floor(Vector2f f)
Summary: Computes the largest integral values less than or equal to each component of a 2D vector.
Parameters:
f(Vector2f):
Returns:
public static Vector3f Floor(Vector3f f)
Summary: Computes the largest integral values less than or equal to each component of a 3D vector.
Parameters:
f(Vector3f):
Returns:
public static Vector4f Floor(Vector4f f)
Summary: Computes the largest integral values less than or equal to each component of a 4D vector.
Parameters:
f(Vector4f):
Returns:
public static Vector2f Round(Vector2f f)
Summary: Rounds each component of a 2D vector to the nearest integral value.
Parameters:
f(Vector2f):
Returns:
public static Vector3f Round(Vector3f f)
Summary: Rounds each component of a 3D vector to the nearest integral value.
Parameters:
f(Vector3f):
Returns:
public static Vector4f Round(Vector4f f)
Summary: Rounds each component of a 4D vector to the nearest integral value.
Parameters:
f(Vector4f):
Returns:
public static Vector2f Saturate(Vector2f v)
Summary: Clamps each component of a 2D vector to the range [0, 1].
Parameters:
v(Vector2f):
Returns:
public static Vector3f Saturate(Vector3f v)
Summary: Clamps each component of a 3D vector to the range [0, 1].
Parameters:
v(Vector3f):
Returns:
public static Vector4f Saturate(Vector4f v)
Summary: Clamps each component of a 4D vector to the range [0, 1].
Parameters:
v(Vector4f):
Returns:
public static Vector2f Wrap(Vector2f v, Vector2f min, Vector2f max)
Summary: Wraps each component of a 2D vector into the specified boundary ranges.
Parameters:
Returns:
public static Vector3f Wrap(Vector3f v, Vector3f min, Vector3f max)
Summary: Wraps each component of a 3D vector into the specified boundary ranges.
Parameters:
Returns:
public static Vector4f Wrap(Vector4f v, Vector4f min, Vector4f max)
Summary: Wraps each component of a 4D vector into the specified boundary ranges.
Parameters:
Returns:
public static Vector2f PingPong(Vector2f v, Vector2f min, Vector2f max)
Summary: Oscillates each component of a 2D vector between the specified bounds.
Parameters:
Returns:
public static Vector3f PingPong(Vector3f v, Vector3f min, Vector3f max)
Summary: Oscillates each component of a 3D vector between the specified bounds.
Parameters:
Returns:
public static Vector4f PingPong(Vector4f v, Vector4f min, Vector4f max)
Summary: Oscillates each component of a 4D vector between the specified bounds.
Parameters:
Returns:
public static Vector2d Clamp(Vector2d v, Vector2d min, Vector2d max)
Summary: Clamps the components of a double-precision 2D vector to the range defined by boundary vectors.
Parameters:
Returns:
public static Vector2d Clamp(Vector2d v, Double min, Double max)
Summary: Clamps the components of a double-precision 2D vector to a scalar range.
Parameters:
Returns:
public static Vector3d Clamp(Vector3d v, Vector3d min, Vector3d max)
Summary: Clamps the components of a double-precision 3D vector to the range defined by boundary vectors.
Parameters:
Returns:
public static Vector3d Clamp(Vector3d v, Double min, Double max)
Summary: Clamps the components of a double-precision 3D vector to a scalar range.
Parameters:
Returns:
public static Vector4d Clamp(Vector4d v, Vector4d min, Vector4d max)
Summary: Clamps the components of a double-precision 4D vector to the range defined by boundary vectors.
Parameters:
Returns:
public static Vector4d Clamp(Vector4d v, Double min, Double max)
Summary: Clamps the components of a double-precision 4D vector to a scalar range.
Parameters:
Returns:
public static Vector2d Min(Vector2d a, Vector2d b)
Summary: Returns the component-wise minimum of two double-precision 2D vectors.
Parameters:
Returns:
public static Vector2d Min(Vector2d a, Double b)
Summary: Returns the component-wise minimum between a double-precision 2D vector and a scalar value.
Parameters:
Returns:
public static Vector3d Min(Vector3d a, Vector3d b)
Summary: Returns the component-wise minimum of two double-precision 3D vectors.
Parameters:
Returns:
public static Vector3d Min(Vector3d a, Double b)
Summary: Returns the component-wise minimum between a double-precision 3D vector and a scalar value.
Parameters:
Returns:
public static Vector4d Min(Vector4d a, Vector4d b)
Summary: Returns the component-wise minimum of two double-precision 4D vectors.
Parameters:
Returns:
public static Vector4d Min(Vector4d a, Double b)
Summary: Returns the component-wise minimum between a double-precision 4D vector and a scalar value.
Parameters:
Returns:
public static Vector2d Max(Vector2d a, Vector2d b)
Summary: Returns the component-wise maximum of two double-precision 2D vectors.
Parameters:
Returns:
public static Vector2d Max(Vector2d a, Double b)
Summary: Returns the component-wise maximum between a double-precision 2D vector and a scalar value.
Parameters:
Returns:
public static Vector3d Max(Vector3d a, Vector3d b)
Summary: Returns the component-wise maximum of two double-precision 3D vectors.
Parameters:
Returns:
public static Vector3d Max(Vector3d a, Double b)
Summary: Returns the component-wise maximum between a double-precision 3D vector and a scalar value.
Parameters:
Returns:
public static Vector4d Max(Vector4d a, Vector4d b)
Summary: Returns the component-wise maximum of two double-precision 4D vectors.
Parameters:
Returns:
public static Vector4d Max(Vector4d a, Double b)
Summary: Returns the component-wise maximum between a double-precision 4D vector and a scalar value.
Parameters:
Returns:
public static Vector2d Ceil(Vector2d f)
Summary: Computes the smallest integral values greater than or equal to each component of a double-precision 2D vector.
Parameters:
f(Vector2d):
Returns:
public static Vector3d Ceil(Vector3d f)
Summary: Computes the smallest integral values greater than or equal to each component of a double-precision 3D vector.
Parameters:
f(Vector3d):
Returns:
public static Vector4d Ceil(Vector4d f)
Summary: Computes the smallest integral values greater than or equal to each component of a double-precision 4D vector.
Parameters:
f(Vector4d):
Returns:
public static Vector2d Floor(Vector2d f)
Summary: Computes the largest integral values less than or equal to each component of a double-precision 2D vector.
Parameters:
f(Vector2d):
Returns:
public static Vector3d Floor(Vector3d f)
Summary: Computes the largest integral values less than or equal to each component of a double-precision 3D vector.
Parameters:
f(Vector3d):
Returns:
public static Vector4d Floor(Vector4d f)
Summary: Computes the largest integral values less than or equal to each component of a double-precision 4D vector.
Parameters:
f(Vector4d):
Returns:
public static Vector2d Round(Vector2d f)
Summary: Rounds each component of a double-precision 2D vector to the nearest integral value.
Parameters:
f(Vector2d):
Returns:
public static Vector3d Round(Vector3d f)
Summary: Rounds each component of a double-precision 3D vector to the nearest integral value.
Parameters:
f(Vector3d):
Returns:
public static Vector4d Round(Vector4d f)
Summary: Rounds each component of a double-precision 4D vector to the nearest integral value.
Parameters:
f(Vector4d):
Returns:
public static Vector2d Saturate(Vector2d v)
Summary: Clamps each component of a double-precision 2D vector to the range [0, 1].
Parameters:
v(Vector2d):
Returns:
public static Vector3d Saturate(Vector3d v)
Summary: Clamps each component of a double-precision 3D vector to the range [0, 1].
Parameters:
v(Vector3d):
Returns:
public static Vector4d Saturate(Vector4d v)
Summary: Clamps each component of a double-precision 4D vector to the range [0, 1].
Parameters:
v(Vector4d):
Returns:
public static Vector2d Wrap(Vector2d v, Vector2d min, Vector2d max)
Summary: Wraps each component of a double-precision 2D vector into the specified boundary ranges.
Parameters:
Returns:
public static Vector3d Wrap(Vector3d v, Vector3d min, Vector3d max)
Summary: Wraps each component of a double-precision 3D vector into the specified boundary ranges.
Parameters:
Returns:
public static Vector4d Wrap(Vector4d v, Vector4d min, Vector4d max)
Summary: Wraps each component of a double-precision 4D vector into the specified boundary ranges.
Parameters:
Returns:
public static Vector2d PingPong(Vector2d v, Vector2d min, Vector2d max)
Summary: Oscillates each component of a double-precision 2D vector between the specified bounds.
Parameters:
Returns:
public static Vector3d PingPong(Vector3d v, Vector3d min, Vector3d max)
Summary: Oscillates each component of a double-precision 3D vector between the specified bounds.
Parameters:
Returns:
public static Vector4d PingPong(Vector4d v, Vector4d min, Vector4d max)
Summary: Oscillates each component of a double-precision 4D vector between the specified bounds.
Parameters:
Returns:
public static Vector2i Clamp(Vector2i v, Vector2i min, Vector2i max)
Summary: Clamps the components of an integer 2D vector to the range defined by boundary vectors.
Parameters:
Returns:
public static Vector2i Clamp(Vector2i v, Int32 min, Int32 max)
Summary: Clamps the components of an integer 2D vector to a scalar range.
Parameters:
Returns:
public static Vector3i Clamp(Vector3i v, Vector3i min, Vector3i max)
Summary: Clamps the components of an integer 3D vector to the range defined by boundary vectors.
Parameters:
Returns:
public static Vector3i Clamp(Vector3i v, Int32 min, Int32 max)
Summary: Clamps the components of an integer 3D vector to a scalar range.
Parameters:
Returns:
public static Vector4i Clamp(Vector4i v, Vector4i min, Vector4i max)
Summary: Clamps the components of an integer 4D vector to the range defined by boundary vectors.
Parameters:
Returns:
public static Vector4i Clamp(Vector4i v, Int32 min, Int32 max)
Summary: Clamps the components of an integer 4D vector to a scalar range.
Parameters:
Returns:
public static Vector2i Min(Vector2i a, Vector2i b)
Summary: Returns the component-wise minimum of two integer 2D vectors.
Parameters:
Returns:
public static Vector2i Min(Vector2i a, Int32 b)
Summary: Returns the component-wise minimum between an integer 2D vector and a scalar value.
Parameters:
Returns:
public static Vector3i Min(Vector3i a, Vector3i b)
Summary: Returns the component-wise minimum of two integer 3D vectors.
Parameters:
Returns:
public static Vector3i Min(Vector3i a, Int32 b)
Summary: Returns the component-wise minimum between an integer 3D vector and a scalar value.
Parameters:
Returns:
public static Vector4i Min(Vector4i a, Vector4i b)
Summary: Returns the component-wise minimum of two integer 4D vectors.
Parameters:
Returns:
public static Vector4i Min(Vector4i a, Int32 b)
Summary: Returns the component-wise minimum between an integer 4D vector and a scalar value.
Parameters:
Returns:
public static Vector2i Max(Vector2i a, Vector2i b)
Summary: Returns the component-wise maximum of two integer 2D vectors.
Parameters:
Returns:
public static Vector2i Max(Vector2i a, Int32 b)
Summary: Returns the component-wise maximum between an integer 2D vector and a scalar value.
Parameters:
Returns:
public static Vector3i Max(Vector3i a, Vector3i b)
Summary: Returns the component-wise maximum of two integer 3D vectors.
Parameters:
Returns:
public static Vector3i Max(Vector3i a, Int32 b)
Summary: Returns the component-wise maximum between an integer 3D vector and a scalar value.
Parameters:
Returns:
public static Vector4i Max(Vector4i a, Vector4i b)
Summary: Returns the component-wise maximum of two integer 4D vectors.
Parameters:
Returns:
public static Vector4i Max(Vector4i a, Int32 b)
Summary: Returns the component-wise maximum between an integer 4D vector and a scalar value.
Parameters:
Returns:
public static Vector2f Sqrt(Vector2f f)
Summary: Returns the square root of each component in a 2D vector.
Parameters:
f(Vector2f):
Returns:
public static Vector3f Sqrt(Vector3f f)
Summary: Returns the square root of each component in a 3D vector.
Parameters:
f(Vector3f):
Returns:
public static Vector4f Sqrt(Vector4f f)
Summary: Returns the square root of each component in a 4D vector.
Parameters:
f(Vector4f):
Returns:
public static Vector2f Pow(Vector2f f, Vector2f p)
Summary: Raises each component of a 2D vector to the power specified by a component vector.
Parameters:
Returns:
public static Vector2f Pow(Vector2f f, Single p)
Summary: Raises each component of a 2D vector to a scalar power.
Parameters:
Returns:
public static Vector3f Pow(Vector3f f, Vector3f p)
Summary: Raises each component of a 3D vector to the power specified by a component vector.
Parameters:
Returns:
public static Vector3f Pow(Vector3f f, Single p)
Summary: Raises each component of a 3D vector to a scalar power.
Parameters:
Returns:
public static Vector4f Pow(Vector4f f, Vector4f p)
Summary: Raises each component of a 4D vector to the power specified by a component vector.
Parameters:
Returns:
public static Vector4f Pow(Vector4f f, Single p)
Summary: Raises each component of a 4D vector to a scalar power.
Parameters:
Returns:
public static Vector2f Exp(Vector2f power)
Summary: Returns e raised to the power of each component in a 2D vector.
Parameters:
power(Vector2f):
Returns:
public static Vector3f Exp(Vector3f power)
Summary: Returns e raised to the power of each component in a 3D vector.
Parameters:
power(Vector3f):
Returns:
public static Vector4f Exp(Vector4f power)
Summary: Returns e raised to the power of each component in a 4D vector.
Parameters:
power(Vector4f):
Returns:
public static Vector2f Log(Vector2f f, Vector2f p)
Summary: Calculates the logarithm of each component of a 2D vector in the specified base vector components.
Parameters:
Returns:
public static Vector2f Log(Vector2f f, Single p)
Summary: Calculates the logarithm of each component of a 2D vector in a specified scalar base.
Parameters:
Returns:
public static Vector2f Log(Vector2f f)
Summary: Calculates the natural (base e) logarithm of each component of a 2D vector.
Parameters:
f(Vector2f):
Returns:
public static Vector3f Log(Vector3f f, Vector3f p)
Summary: Calculates the logarithm of each component of a 3D vector in the specified base vector components.
Parameters:
Returns:
public static Vector3f Log(Vector3f f, Single p)
Summary: Calculates the logarithm of each component of a 3D vector in a specified scalar base.
Parameters:
Returns:
public static Vector3f Log(Vector3f f)
Summary: Calculates the natural (base e) logarithm of each component of a 3D vector.
Parameters:
f(Vector3f):
Returns:
public static Vector4f Log(Vector4f f, Vector4f p)
Summary: Calculates the logarithm of each component of a 4D vector in the specified base vector components.
Parameters:
Returns:
public static Vector4f Log(Vector4f f, Single p)
Summary: Calculates the logarithm of each component of a 4D vector in a specified scalar base.
Parameters:
Returns:
public static Vector4f Log(Vector4f f)
Summary: Calculates the natural (base e) logarithm of each component of a 4D vector.
Parameters:
f(Vector4f):
Returns:
public static Vector2f Log10(Vector2f f)
Summary: Calculates the base-10 logarithm of each component of a 2D vector.
Parameters:
f(Vector2f):
Returns:
public static Vector3f Log10(Vector3f f)
Summary: Calculates the base-10 logarithm of each component of a 3D vector.
Parameters:
f(Vector3f):
Returns:
public static Vector4f Log10(Vector4f f)
Summary: Calculates the base-10 logarithm of each component of a 4D vector.
Parameters:
f(Vector4f):
Returns:
public static Vector2d Sqrt(Vector2d f)
Summary: Returns the square root of each component in a double-precision 2D vector.
Parameters:
f(Vector2d):
Returns:
public static Vector3d Sqrt(Vector3d f)
Summary: Returns the square root of each component in a double-precision 3D vector.
Parameters:
f(Vector3d):
Returns:
public static Vector4d Sqrt(Vector4d f)
Summary: Returns the square root of each component in a double-precision 4D vector.
Parameters:
f(Vector4d):
Returns:
public static Vector2d Pow(Vector2d f, Vector2d p)
Summary: Raises each component of a double-precision 2D vector to the power specified by a component vector.
Parameters:
Returns:
public static Vector2d Pow(Vector2d f, Double p)
Summary: Raises each component of a double-precision 2D vector to a scalar power.
Parameters:
Returns:
public static Vector3d Pow(Vector3d f, Vector3d p)
Summary: Raises each component of a double-precision 3D vector to the power specified by a component vector.
Parameters:
Returns:
public static Vector3d Pow(Vector3d f, Double p)
Summary: Raises each component of a double-precision 3D vector to a scalar power.
Parameters:
Returns:
public static Vector4d Pow(Vector4d f, Vector4d p)
Summary: Raises each component of a double-precision 4D vector to the power specified by a component vector.
Parameters:
Returns:
public static Vector4d Pow(Vector4d f, Double p)
Summary: Raises each component of a double-precision 4D vector to a scalar power.
Parameters:
Returns:
public static Vector2d Exp(Vector2d power)
Summary: Returns e raised to the power of each component in a double-precision 2D vector.
Parameters:
power(Vector2d):
Returns:
public static Vector3d Exp(Vector3d power)
Summary: Returns e raised to the power of each component in a double-precision 3D vector.
Parameters:
power(Vector3d):
Returns:
public static Vector4d Exp(Vector4d power)
Summary: Returns e raised to the power of each component in a double-precision 4D vector.
Parameters:
power(Vector4d):
Returns:
public static Vector2d Log(Vector2d f, Vector2d p)
Summary: Calculates the logarithm of each component of a double-precision 2D vector in the specified base vector components.
Parameters:
Returns:
public static Vector2d Log(Vector2d f, Double p)
Summary: Calculates the logarithm of each component of a double-precision 2D vector in a specified scalar base.
Parameters:
Returns:
public static Vector2d Log(Vector2d f)
Summary: Calculates the natural (base e) logarithm of each component of a double-precision 2D vector.
Parameters:
f(Vector2d):
Returns:
public static Vector3d Log(Vector3d f, Vector3d p)
Summary: Calculates the logarithm of each component of a double-precision 3D vector in the specified base vector components.
Parameters:
Returns:
public static Vector3d Log(Vector3d f, Double p)
Summary: Calculates the logarithm of each component of a double-precision 3D vector in a specified scalar base.
Parameters:
Returns:
public static Vector3d Log(Vector3d f)
Summary: Calculates the natural (base e) logarithm of each component of a double-precision 3D vector.
Parameters:
f(Vector3d):
Returns:
public static Vector4d Log(Vector4d f, Vector4d p)
Summary: Calculates the logarithm of each component of a double-precision 4D vector in the specified base vector components.
Parameters:
Returns:
public static Vector4d Log(Vector4d f, Double p)
Summary: Calculates the logarithm of each component of a double-precision 4D vector in a specified scalar base.
Parameters:
Returns:
public static Vector4d Log(Vector4d f)
Summary: Calculates the natural (base e) logarithm of each component of a double-precision 4D vector.
Parameters:
f(Vector4d):
Returns:
public static Vector2d Log10(Vector2d f)
Summary: Calculates the base-10 logarithm of each component of a double-precision 2D vector.
Parameters:
f(Vector2d):
Returns:
public static Vector3d Log10(Vector3d f)
Summary: Calculates the base-10 logarithm of each component of a double-precision 3D vector.
Parameters:
f(Vector3d):
Returns:
public static Vector4d Log10(Vector4d f)
Summary: Calculates the base-10 logarithm of each component of a double-precision 4D vector.
Parameters:
f(Vector4d):
Returns:
public static Vector2f Lerp(Vector2f a, Vector2f b, Single t)
Summary: Linearly interpolates between two 2D vectors by a scalar interpolation factor.
Parameters:
Returns:
public static Vector2f Lerp(Vector2f a, Vector2f b, Vector2f t)
Summary: Linearly interpolates component-wise between two 2D vectors by a component interpolation factor.
Parameters:
Returns:
public static Vector3f Lerp(Vector3f a, Vector3f b, Single t)
Summary: Linearly interpolates between two 3D vectors by a scalar interpolation factor.
Parameters:
Returns:
public static Vector3f Lerp(Vector3f a, Vector3f b, Vector3f t)
Summary: Linearly interpolates component-wise between two 3D vectors by a component interpolation factor.
Parameters:
Returns:
public static Vector4f Lerp(Vector4f a, Vector4f b, Single t)
Summary: Linearly interpolates between two 4D vectors by a scalar interpolation factor.
Parameters:
Returns:
public static Vector4f Lerp(Vector4f a, Vector4f b, Vector4f t)
Summary: Linearly interpolates component-wise between two 4D vectors by a component interpolation factor.
Parameters:
Returns:
public static Vector2f InvLerp(Vector2f a, Vector2f b, Vector2f x)
Summary: Calculates the component-wise inverse linear interpolation factor for a 2D vector within a boundary range.
Parameters:
Returns:
public static Vector3f InvLerp(Vector3f a, Vector3f b, Vector3f x)
Summary: Calculates the component-wise inverse linear interpolation factor for a 3D vector within a boundary range.
Parameters:
Returns:
public static Vector4f InvLerp(Vector4f a, Vector4f b, Vector4f x)
Summary: Calculates the component-wise inverse linear interpolation factor for a 4D vector within a boundary range.
Parameters:
Returns:
public static Vector2f Map(Vector2f srcStart, Vector2f srcEnd, Vector2f targetStart, Vector2f targetEnd, Vector2f x)
Summary: Remaps each component of a 2D vector from an input range to a corresponding target range.
Parameters:
Returns:
public static Vector3f Map(Vector3f srcStart, Vector3f srcEnd, Vector3f targetStart, Vector3f targetEnd, Vector3f x)
Summary: Remaps each component of a 3D vector from an input range to a corresponding target range.
Parameters:
Returns:
public static Vector4f Map(Vector4f srcStart, Vector4f srcEnd, Vector4f targetStart, Vector4f targetEnd, Vector4f x)
Summary: Remaps each component of a 4D vector from an input range to a corresponding target range.
Parameters:
Returns:
public static Vector2d Lerp(Vector2d a, Vector2d b, Double t)
Summary: Linearly interpolates between two double-precision 2D vectors by a scalar interpolation factor.
Parameters:
Returns:
public static Vector2d Lerp(Vector2d a, Vector2d b, Vector2d t)
Summary: Linearly interpolates component-wise between two double-precision 2D vectors by a component interpolation factor.
Parameters:
Returns:
public static Vector3d Lerp(Vector3d a, Vector3d b, Double t)
Summary: Linearly interpolates between two double-precision 3D vectors by a scalar interpolation factor.
Parameters:
Returns:
public static Vector3d Lerp(Vector3d a, Vector3d b, Vector3d t)
Summary: Linearly interpolates component-wise between two double-precision 3D vectors by a component interpolation factor.
Parameters:
Returns:
public static Vector4d Lerp(Vector4d a, Vector4d b, Double t)
Summary: Linearly interpolates between two double-precision 4D vectors by a scalar interpolation factor.
Parameters:
Returns:
public static Vector4d Lerp(Vector4d a, Vector4d b, Vector4d t)
Summary: Linearly interpolates component-wise between two double-precision 4D vectors by a component interpolation factor.
Parameters:
Returns:
public static Vector2d InvLerp(Vector2d a, Vector2d b, Vector2d x)
Summary: Calculates the component-wise inverse linear interpolation factor for a double-precision 2D vector within a boundary range.
Parameters:
Returns:
public static Vector3d InvLerp(Vector3d a, Vector3d b, Vector3d x)
Summary: Calculates the component-wise inverse linear interpolation factor for a double-precision 3D vector within a boundary range.
Parameters:
Returns:
public static Vector4d InvLerp(Vector4d a, Vector4d b, Vector4d x)
Summary: Calculates the component-wise inverse linear interpolation factor for a double-precision 4D vector within a boundary range.
Parameters:
Returns:
public static Vector2d Map(Vector2d srcStart, Vector2d srcEnd, Vector2d targetStart, Vector2d targetEnd, Vector2d x)
Summary: Remaps each component of a double-precision 2D vector from an input range to a corresponding target range.
Parameters:
Returns:
public static Vector3d Map(Vector3d srcStart, Vector3d srcEnd, Vector3d targetStart, Vector3d targetEnd, Vector3d x)
Summary: Remaps each component of a double-precision 3D vector from an input range to a corresponding target range.
Parameters:
Returns:
public static Vector4d Map(Vector4d srcStart, Vector4d srcEnd, Vector4d targetStart, Vector4d targetEnd, Vector4d x)
Summary: Remaps each component of a double-precision 4D vector from an input range to a corresponding target range.
Parameters:
Returns:
public static Vector2f MoveTowards(Vector2f a, Vector2f b, Single maxDelta)
Summary: Moves a single-precision 2D vector towards a destination vector by a maximum step delta without overshooting.
Parameters:
-
a(Vector2f): The starting position vector. -
b(Vector2f): The destination target vector. -
maxDelta(Single): The maximum displacement distance permitted.
Returns:
- Vector2f: The updated vector position.
public static Vector3f MoveTowards(Vector3f a, Vector3f b, Single maxDelta)
Summary: Moves a single-precision 3D vector towards a destination vector by a maximum step delta without overshooting.
Parameters:
-
a(Vector3f): The starting position vector. -
b(Vector3f): The destination target vector. -
maxDelta(Single): The maximum displacement distance permitted.
Returns:
- Vector3f: The updated vector position.
public static Vector4f MoveTowards(Vector4f a, Vector4f b, Single maxDelta)
Summary: Moves a single-precision 4D vector towards a destination vector by a maximum step delta without overshooting.
Parameters:
-
a(Vector4f): The starting position vector. -
b(Vector4f): The destination target vector. -
maxDelta(Single): The maximum displacement distance permitted.
Returns:
- Vector4f: The updated vector position.
public static Vector2d MoveTowards(Vector2d a, Vector2d b, Single maxDelta)
Summary: Moves a double-precision 2D vector towards a destination vector by a maximum step delta without overshooting.
Parameters:
-
a(Vector2d): The starting position vector. -
b(Vector2d): The destination target vector. -
maxDelta(Single): The maximum displacement distance permitted.
Returns:
- Vector2d: The updated vector position.
public static Vector3d MoveTowards(Vector3d a, Vector3d b, Single maxDelta)
Summary: Moves a double-precision 3D vector towards a destination vector by a maximum step delta without overshooting.
Parameters:
-
a(Vector3d): The starting position vector. -
b(Vector3d): The destination target vector. -
maxDelta(Single): The maximum displacement distance permitted.
Returns:
- Vector3d: The updated vector position.
public static Vector4d MoveTowards(Vector4d a, Vector4d b, Single maxDelta)
Summary: Moves a double-precision 4D vector towards a destination vector by a maximum step delta without overshooting.
Parameters:
-
a(Vector4d): The starting position vector. -
b(Vector4d): The destination target vector. -
maxDelta(Single): The maximum displacement distance permitted.
Returns:
- Vector4d: The updated vector position.
public static Vector2f Project(Vector2f v, Vector2f onto)
Summary: Projects a single-precision 2D vector onto another target vector.
Parameters:
Returns:
- Vector2f: The orthogonal vector projection of
vontoonto, or zero ifontohas zero magnitude.
public static Vector3f Project(Vector3f v, Vector3f onto)
Summary: Projects a single-precision 3D vector onto another target vector.
Parameters:
Returns:
- Vector3f: The orthogonal vector projection of
vontoonto, or zero ifontohas zero magnitude.
public static Vector4f Project(Vector4f v, Vector4f onto)
Summary: Projects a single-precision 4D vector onto another target vector.
Parameters:
Returns:
- Vector4f: The orthogonal vector projection of
vontoonto, or zero ifontohas zero magnitude.
public static Vector2d Project(Vector2d v, Vector2d onto)
Summary: Projects a double-precision 2D vector onto another target vector.
Parameters:
Returns:
- Vector2d: The orthogonal vector projection of
vontoonto, or zero ifontohas zero magnitude.
public static Vector3d Project(Vector3d v, Vector3d onto)
Summary: Projects a double-precision 3D vector onto another target vector.
Parameters:
Returns:
- Vector3d: The orthogonal vector projection of
vontoonto, or zero ifontohas zero magnitude.
public static Vector4d Project(Vector4d v, Vector4d onto)
Summary: Projects a double-precision 4D vector onto another target vector.
Parameters:
Returns:
- Vector4d: The orthogonal vector projection of
vontoonto, or zero ifontohas zero magnitude.
public static Vector2f Reflect(Vector2f v, Vector2f normal)
Summary: Reflects an incident single-precision 2D vector off a surface defined by a surface normal.
Parameters:
-
v(Vector2f): The incident direction vector. -
normal(Vector2f): The normalised surface normal vector.
Returns:
- Vector2f: The reflected direction vector.
public static Vector3f Reflect(Vector3f v, Vector3f normal)
Summary: Reflects an incident single-precision 3D vector off a surface defined by a surface normal.
Parameters:
-
v(Vector3f): The incident direction vector. -
normal(Vector3f): The normalised surface normal vector.
Returns:
- Vector3f: The reflected direction vector.
public static Vector4f Reflect(Vector4f v, Vector4f normal)
Summary: Reflects an incident single-precision 4D vector off a surface defined by a surface normal.
Parameters:
-
v(Vector4f): The incident direction vector. -
normal(Vector4f): The normalised surface normal vector.
Returns:
- Vector4f: The reflected direction vector.
public static Vector2d Reflect(Vector2d v, Vector2d normal)
Summary: Reflects an incident double-precision 2D vector off a surface defined by a surface normal.
Parameters:
-
v(Vector2d): The incident direction vector. -
normal(Vector2d): The normalised surface normal vector.
Returns:
- Vector2d: The reflected direction vector.
public static Vector3d Reflect(Vector3d v, Vector3d normal)
Summary: Reflects an incident double-precision 3D vector off a surface defined by a surface normal.
Parameters:
-
v(Vector3d): The incident direction vector. -
normal(Vector3d): The normalised surface normal vector.
Returns:
- Vector3d: The reflected direction vector.
public static Vector4d Reflect(Vector4d v, Vector4d normal)
Summary: Reflects an incident double-precision 4D vector off a surface defined by a surface normal.
Parameters:
-
v(Vector4d): The incident direction vector. -
normal(Vector4d): The normalised surface normal vector.
Returns:
- Vector4d: The reflected direction vector.
public static Vector2f Sign(Vector2f value)
Summary: Returns the component-wise sign of a single-precision 2D vector (1.0f, -1.0f, or 0.0f).
Parameters:
value(Vector2f):
Returns:
public static Vector3f Sign(Vector3f value)
Summary: Returns the component-wise sign of a single-precision 3D vector (1.0f, -1.0f, or 0.0f).
Parameters:
value(Vector3f):
Returns:
public static Vector4f Sign(Vector4f value)
Summary: Returns the component-wise sign of a single-precision 4D vector (1.0f, -1.0f, or 0.0f).
Parameters:
value(Vector4f):
Returns:
public static Vector2f Abs(Vector2f value)
Summary: Returns the component-wise absolute values of a single-precision 2D vector.
Parameters:
value(Vector2f):
Returns:
public static Vector3f Abs(Vector3f value)
Summary: Returns the component-wise absolute values of a single-precision 3D vector.
Parameters:
value(Vector3f):
Returns:
public static Vector4f Abs(Vector4f value)
Summary: Returns the component-wise absolute values of a single-precision 4D vector.
Parameters:
value(Vector4f):
Returns:
public static Vector2d Sign(Vector2d value)
Summary: Returns the component-wise sign of a double-precision 2D vector (1.0d, -1.0d, or 0.0d).
Parameters:
value(Vector2d):
Returns:
public static Vector3d Sign(Vector3d value)
Summary: Returns the component-wise sign of a double-precision 3D vector (1.0d, -1.0d, or 0.0d).
Parameters:
value(Vector3d):
Returns:
public static Vector4d Sign(Vector4d value)
Summary: Returns the component-wise sign of a double-precision 4D vector (1.0d, -1.0d, or 0.0d).
Parameters:
value(Vector4d):
Returns:
public static Vector2d Abs(Vector2d value)
Summary: Returns the component-wise absolute values of a double-precision 2D vector.
Parameters:
value(Vector2d):
Returns:
public static Vector3d Abs(Vector3d value)
Summary: Returns the component-wise absolute values of a double-precision 3D vector.
Parameters:
value(Vector3d):
Returns:
public static Vector4d Abs(Vector4d value)
Summary: Returns the component-wise absolute values of a double-precision 4D vector.
Parameters:
value(Vector4d):
Returns:
public static Vector2i Sign(Vector2i value)
Summary: Returns the component-wise sign of an integer 2D vector (1, -1, or 0).
Parameters:
value(Vector2i):
Returns:
public static Vector3i Sign(Vector3i value)
Summary: Returns the component-wise sign of an integer 3D vector (1, -1, or 0).
Parameters:
value(Vector3i):
Returns:
public static Vector4i Sign(Vector4i value)
Summary: Returns the component-wise sign of an integer 4D vector (1, -1, or 0).
Parameters:
value(Vector4i):
Returns:
public static Vector2i Abs(Vector2i value)
Summary: Returns the component-wise absolute values of an integer 2D vector.
Parameters:
value(Vector2i):
Returns:
public static Vector3i Abs(Vector3i value)
Summary: Returns the component-wise absolute values of an integer 3D vector.
Parameters:
value(Vector3i):
Returns:
public static Vector4i Abs(Vector4i value)
Summary: Returns the component-wise absolute values of an integer 4D vector.
Parameters:
value(Vector4i):
Returns:
public static Vector2f Step(Vector2f edge, Vector2f x)
Summary: Evaluates a component-wise step function where each component evaluates to 1.0f if exceeding the edge vector component; otherwise 0.0f.
Parameters:
Returns:
public static Vector2f Step(Single edge, Vector2f x)
Summary: Evaluates a step function across a 2D vector comparing each component against a scalar threshold edge.
Parameters:
Returns:
public static Vector3f Step(Vector3f edge, Vector3f x)
Summary: Evaluates a component-wise step function where each component evaluates to 1.0f if exceeding the edge vector component; otherwise 0.0f.
Parameters:
Returns:
public static Vector3f Step(Single edge, Vector3f x)
Summary: Evaluates a step function across a 3D vector comparing each component against a scalar threshold edge.
Parameters:
Returns:
public static Vector4f Step(Vector4f edge, Vector4f x)
Summary: Evaluates a component-wise step function where each component evaluates to 1.0f if exceeding the edge vector component; otherwise 0.0f.
Parameters:
Returns:
public static Vector4f Step(Single edge, Vector4f x)
Summary: Evaluates a step function across a 4D vector comparing each component against a scalar threshold edge.
Parameters:
Returns:
public static Vector2f LinearStep(Vector2f edgeMin, Vector2f edgeMax, Vector2f x)
Summary: Performs component-wise clamped linear interpolation across 2D boundary vector ranges.
Parameters:
Returns:
public static Vector2f LinearStep(Single edgeMin, Single edgeMax, Vector2f x)
Summary: Performs component-wise clamped linear interpolation for a 2D vector across a scalar boundary range.
Parameters:
Returns:
public static Vector3f LinearStep(Vector3f edgeMin, Vector3f edgeMax, Vector3f x)
Summary: Performs component-wise clamped linear interpolation across 3D boundary vector ranges.
Parameters:
Returns:
public static Vector3f LinearStep(Single edgeMin, Single edgeMax, Vector3f x)
Summary: Performs component-wise clamped linear interpolation for a 3D vector across a scalar boundary range.
Parameters:
Returns:
public static Vector4f LinearStep(Vector4f edgeMin, Vector4f edgeMax, Vector4f x)
Summary: Performs component-wise clamped linear interpolation across 4D boundary vector ranges.
Parameters:
Returns:
public static Vector4f LinearStep(Single edgeMin, Single edgeMax, Vector4f x)
Summary: Performs component-wise clamped linear interpolation for a 4D vector across a scalar boundary range.
Parameters:
Returns:
public static Vector2f SmoothStep(Vector2f edgeMin, Vector2f edgeMax, Vector2f x)
Summary: Performs smooth Hermite interpolation component-wise across 2D boundary vector ranges.
Parameters:
Returns:
public static Vector2f SmoothStep(Single edgeMin, Single edgeMax, Vector2f x)
Summary: Performs smooth Hermite interpolation for a 2D vector across a scalar boundary range.
Parameters:
Returns:
public static Vector3f SmoothStep(Vector3f edgeMin, Vector3f edgeMax, Vector3f x)
Summary: Performs smooth Hermite interpolation component-wise across 3D boundary vector ranges.
Parameters:
Returns:
public static Vector3f SmoothStep(Single edgeMin, Single edgeMax, Vector3f x)
Summary: Performs smooth Hermite interpolation for a 3D vector across a scalar boundary range.
Parameters:
Returns:
public static Vector4f SmoothStep(Vector4f edgeMin, Vector4f edgeMax, Vector4f x)
Summary: Performs smooth Hermite interpolation component-wise across 4D boundary vector ranges.
Parameters:
Returns:
public static Vector4f SmoothStep(Single edgeMin, Single edgeMax, Vector4f x)
Summary: Performs smooth Hermite interpolation for a 4D vector across a scalar boundary range.
Parameters:
Returns:
public static Vector2f HardStep(Vector2f edgeMin, Vector2f edgeMax, Vector2f x)
Summary: Evaluates a clamped hard step function component-wise across 2D boundary vector ranges.
Parameters:
Returns:
public static Vector2f HardStep(Single edgeMin, Single edgeMax, Vector2f x)
Summary: Evaluates a clamped hard step function for a 2D vector across a scalar boundary range.
Parameters:
Returns:
public static Vector3f HardStep(Vector3f edgeMin, Vector3f edgeMax, Vector3f x)
Summary: Evaluates a clamped hard step function component-wise across 3D boundary vector ranges.
Parameters:
Returns:
public static Vector3f HardStep(Single edgeMin, Single edgeMax, Vector3f x)
Summary: Evaluates a clamped hard step function for a 3D vector across a scalar boundary range.
Parameters:
Returns:
public static Vector4f HardStep(Vector4f edgeMin, Vector4f edgeMax, Vector4f x)
Summary: Evaluates a clamped hard step function component-wise across 4D boundary vector ranges.
Parameters:
Returns:
public static Vector4f HardStep(Single edgeMin, Single edgeMax, Vector4f x)
Summary: Evaluates a clamped hard step function for a 4D vector across a scalar boundary range.
Parameters:
Returns:
public static Vector2d Step(Vector2d edge, Vector2d x)
Summary: Evaluates a component-wise step function where each component evaluates to 1.0d if exceeding the edge vector component; otherwise 0.0d.
Parameters:
Returns:
public static Vector2d Step(Double edge, Vector2d x)
Summary: Evaluates a step function across a double-precision 2D vector comparing each component against a scalar threshold edge.
Parameters:
Returns:
public static Vector3d Step(Vector3d edge, Vector3d x)
Summary: Evaluates a component-wise step function where each component evaluates to 1.0d if exceeding the edge vector component; otherwise 0.0d.
Parameters:
Returns:
public static Vector3d Step(Double edge, Vector3d x)
Summary: Evaluates a step function across a double-precision 3D vector comparing each component against a scalar threshold edge.
Parameters:
Returns:
public static Vector4d Step(Vector4d edge, Vector4d x)
Summary: Evaluates a component-wise step function where each component evaluates to 1.0d if exceeding the edge vector component; otherwise 0.0d.
Parameters:
Returns:
public static Vector4d Step(Double edge, Vector4d x)
Summary: Evaluates a step function across a double-precision 4D vector comparing each component against a scalar threshold edge.
Parameters:
Returns:
public static Vector2d LinearStep(Vector2d edgeMin, Vector2d edgeMax, Vector2d x)
Summary: Performs component-wise clamped linear interpolation across double-precision 2D boundary vector ranges.
Parameters:
Returns:
public static Vector2d LinearStep(Double edgeMin, Double edgeMax, Vector2d x)
Summary: Performs component-wise clamped linear interpolation for a double-precision 2D vector across a scalar boundary range.
Parameters:
Returns:
public static Vector3d LinearStep(Vector3d edgeMin, Vector3d edgeMax, Vector3d x)
Summary: Performs component-wise clamped linear interpolation across double-precision 3D boundary vector ranges.
Parameters:
Returns:
public static Vector3d LinearStep(Double edgeMin, Double edgeMax, Vector3d x)
Summary: Performs component-wise clamped linear interpolation for a double-precision 3D vector across a scalar boundary range.
Parameters:
Returns:
public static Vector4d LinearStep(Vector4d edgeMin, Vector4d edgeMax, Vector4d x)
Summary: Performs component-wise clamped linear interpolation across double-precision 4D boundary vector ranges.
Parameters:
Returns:
public static Vector4d LinearStep(Double edgeMin, Double edgeMax, Vector4d x)
Summary: Performs component-wise clamped linear interpolation for a double-precision 4D vector across a scalar boundary range.
Parameters:
Returns:
public static Vector2d SmoothStep(Vector2d edgeMin, Vector2d edgeMax, Vector2d x)
Summary: Performs smooth Hermite interpolation component-wise across double-precision 2D boundary vector ranges.
Parameters:
Returns:
public static Vector2d SmoothStep(Double edgeMin, Double edgeMax, Vector2d x)
Summary: Performs smooth Hermite interpolation for a double-precision 2D vector across a scalar boundary range.
Parameters:
Returns:
public static Vector3d SmoothStep(Vector3d edgeMin, Vector3d edgeMax, Vector3d x)
Summary: Performs smooth Hermite interpolation component-wise across double-precision 3D boundary vector ranges.
Parameters:
Returns:
public static Vector3d SmoothStep(Double edgeMin, Double edgeMax, Vector3d x)
Summary: Performs smooth Hermite interpolation for a double-precision 3D vector across a scalar boundary range.
Parameters:
Returns:
public static Vector4d SmoothStep(Vector4d edgeMin, Vector4d edgeMax, Vector4d x)
Summary: Performs smooth Hermite interpolation component-wise across double-precision 4D boundary vector ranges.
Parameters:
Returns:
public static Vector4d SmoothStep(Double edgeMin, Double edgeMax, Vector4d x)
Summary: Performs smooth Hermite interpolation for a double-precision 4D vector across a scalar boundary range.
Parameters:
Returns:
public static Vector2d HardStep(Vector2d edgeMin, Vector2d edgeMax, Vector2d x)
Summary: Evaluates a clamped hard step function component-wise across double-precision 2D boundary vector ranges.
Parameters:
Returns:
public static Vector2d HardStep(Double edgeMin, Double edgeMax, Vector2d x)
Summary: Evaluates a clamped hard step function for a double-precision 2D vector across a scalar boundary range.
Parameters:
Returns:
public static Vector3d HardStep(Vector3d edgeMin, Vector3d edgeMax, Vector3d x)
Summary: Evaluates a clamped hard step function component-wise across double-precision 3D boundary vector ranges.
Parameters:
Returns:
public static Vector3d HardStep(Double edgeMin, Double edgeMax, Vector3d x)
Summary: Evaluates a clamped hard step function for a double-precision 3D vector across a scalar boundary range.
Parameters:
Returns:
public static Vector4d HardStep(Vector4d edgeMin, Vector4d edgeMax, Vector4d x)
Summary: Evaluates a clamped hard step function component-wise across double-precision 4D boundary vector ranges.
Parameters:
Returns:
public static Vector4d HardStep(Double edgeMin, Double edgeMax, Vector4d x)
Summary: Evaluates a clamped hard step function for a double-precision 4D vector across a scalar boundary range.
Parameters:
Returns:
public static Vector2f Sin(Vector2f v)
Summary: Calculates the sine of each component in a 2D vector in radians.
Parameters:
v(Vector2f):
Returns:
public static Vector3f Sin(Vector3f v)
Summary: Calculates the sine of each component in a 3D vector in radians.
Parameters:
v(Vector3f):
Returns:
public static Vector4f Sin(Vector4f v)
Summary: Calculates the sine of each component in a 4D vector in radians.
Parameters:
v(Vector4f):
Returns:
public static Vector2f Cos(Vector2f v)
Summary: Calculates the cosine of each component in a 2D vector in radians.
Parameters:
v(Vector2f):
Returns:
public static Vector3f Cos(Vector3f v)
Summary: Calculates the cosine of each component in a 3D vector in radians.
Parameters:
v(Vector3f):
Returns:
public static Vector4f Cos(Vector4f v)
Summary: Calculates the cosine of each component in a 4D vector in radians.
Parameters:
v(Vector4f):
Returns:
public static Vector2f Tan(Vector2f v)
Summary: Calculates the tangent of each component in a 2D vector in radians.
Parameters:
v(Vector2f):
Returns:
public static Vector3f Tan(Vector3f v)
Summary: Calculates the tangent of each component in a 3D vector in radians.
Parameters:
v(Vector3f):
Returns:
public static Vector4f Tan(Vector4f v)
Summary: Calculates the tangent of each component in a 4D vector in radians.
Parameters:
v(Vector4f):
Returns:
public static Vector2f Asin(Vector2f v)
Summary: Calculates the angle in radians whose sine is each component of a 2D vector.
Parameters:
v(Vector2f):
Returns:
public static Vector3f Asin(Vector3f v)
Summary: Calculates the angle in radians whose sine is each component of a 3D vector.
Parameters:
v(Vector3f):
Returns:
public static Vector4f Asin(Vector4f v)
Summary: Calculates the angle in radians whose sine is each component of a 4D vector.
Parameters:
v(Vector4f):
Returns:
public static Vector2f Acos(Vector2f v)
Summary: Calculates the angle in radians whose cosine is each component of a 2D vector.
Parameters:
v(Vector2f):
Returns:
public static Vector3f Acos(Vector3f v)
Summary: Calculates the angle in radians whose cosine is each component of a 3D vector.
Parameters:
v(Vector3f):
Returns:
public static Vector4f Acos(Vector4f v)
Summary: Calculates the angle in radians whose cosine is each component of a 4D vector.
Parameters:
v(Vector4f):
Returns:
public static Vector2f Atan(Vector2f v)
Summary: Calculates the angle in radians whose tangent is each component of a 2D vector.
Parameters:
v(Vector2f):
Returns:
public static Vector3f Atan(Vector3f v)
Summary: Calculates the angle in radians whose tangent is each component of a 3D vector.
Parameters:
v(Vector3f):
Returns:
public static Vector4f Atan(Vector4f v)
Summary: Calculates the angle in radians whose tangent is each component of a 4D vector.
Parameters:
v(Vector4f):
Returns:
public static Vector2f Atan2(Vector2f y, Vector2f x)
Summary: Calculates component-wise the angle in radians whose tangent is the quotient of corresponding components from two 2D vectors.
Parameters:
Returns:
public static Vector3f Atan2(Vector3f y, Vector3f x)
Summary: Calculates component-wise the angle in radians whose tangent is the quotient of corresponding components from two 3D vectors.
Parameters:
Returns:
public static Vector4f Atan2(Vector4f y, Vector4f x)
Summary: Calculates component-wise the angle in radians whose tangent is the quotient of corresponding components from two 4D vectors.
Parameters:
Returns:
public static Vector2f Sinh(Vector2f v)
Summary: Calculates the hyperbolic sine of each component in a 2D vector.
Parameters:
v(Vector2f):
Returns:
public static Vector3f Sinh(Vector3f v)
Summary: Calculates the hyperbolic sine of each component in a 3D vector.
Parameters:
v(Vector3f):
Returns:
public static Vector4f Sinh(Vector4f v)
Summary: Calculates the hyperbolic sine of each component in a 4D vector.
Parameters:
v(Vector4f):
Returns:
public static Vector2f Cosh(Vector2f v)
Summary: Calculates the hyperbolic cosine of each component in a 2D vector.
Parameters:
v(Vector2f):
Returns:
public static Vector3f Cosh(Vector3f v)
Summary: Calculates the hyperbolic cosine of each component in a 3D vector.
Parameters:
v(Vector3f):
Returns:
public static Vector4f Cosh(Vector4f v)
Summary: Calculates the hyperbolic cosine of each component in a 4D vector.
Parameters:
v(Vector4f):
Returns:
public static Vector2f Tanh(Vector2f v)
Summary: Calculates the hyperbolic tangent of each component in a 2D vector.
Parameters:
v(Vector2f):
Returns:
public static Vector3f Tanh(Vector3f v)
Summary: Calculates the hyperbolic tangent of each component in a 3D vector.
Parameters:
v(Vector3f):
Returns:
public static Vector4f Tanh(Vector4f v)
Summary: Calculates the hyperbolic tangent of each component in a 4D vector.
Parameters:
v(Vector4f):
Returns:
public static Vector2f Asinh(Vector2f v)
Summary: Calculates the angle whose hyperbolic sine is each component of a 2D vector.
Parameters:
v(Vector2f):
Returns:
public static Vector3f Asinh(Vector3f v)
Summary: Calculates the angle whose hyperbolic sine is each component of a 3D vector.
Parameters:
v(Vector3f):
Returns:
public static Vector4f Asinh(Vector4f v)
Summary: Calculates the angle whose hyperbolic sine is each component of a 4D vector.
Parameters:
v(Vector4f):
Returns:
public static Vector2f Acosh(Vector2f v)
Summary: Calculates the angle whose hyperbolic cosine is each component of a 2D vector.
Parameters:
v(Vector2f):
Returns:
public static Vector3f Acosh(Vector3f v)
Summary: Calculates the angle whose hyperbolic cosine is each component of a 3D vector.
Parameters:
v(Vector3f):
Returns:
public static Vector4f Acosh(Vector4f v)
Summary: Calculates the angle whose hyperbolic cosine is each component of a 4D vector.
Parameters:
v(Vector4f):
Returns:
public static Vector2f Atanh(Vector2f v)
Summary: Calculates the angle whose hyperbolic tangent is each component of a 2D vector.
Parameters:
v(Vector2f):
Returns:
public static Vector3f Atanh(Vector3f v)
Summary: Calculates the angle whose hyperbolic tangent is each component of a 3D vector.
Parameters:
v(Vector3f):
Returns:
public static Vector4f Atanh(Vector4f v)
Summary: Calculates the angle whose hyperbolic tangent is each component of a 4D vector.
Parameters:
v(Vector4f):
Returns:
public static Vector2d Sin(Vector2d v)
Summary: Calculates the sine of each component in a double-precision 2D vector in radians.
Parameters:
v(Vector2d):
Returns:
public static Vector3d Sin(Vector3d v)
Summary: Calculates the sine of each component in a double-precision 3D vector in radians.
Parameters:
v(Vector3d):
Returns:
public static Vector4d Sin(Vector4d v)
Summary: Calculates the sine of each component in a double-precision 4D vector in radians.
Parameters:
v(Vector4d):
Returns:
public static Vector2d Cos(Vector2d v)
Summary: Calculates the cosine of each component in a double-precision 2D vector in radians.
Parameters:
v(Vector2d):
Returns:
public static Vector3d Cos(Vector3d v)
Summary: Calculates the cosine of each component in a double-precision 3D vector in radians.
Parameters:
v(Vector3d):
Returns:
public static Vector4d Cos(Vector4d v)
Summary: Calculates the cosine of each component in a double-precision 4D vector in radians.
Parameters:
v(Vector4d):
Returns:
public static Vector2d Tan(Vector2d v)
Summary: Calculates the tangent of each component in a double-precision 2D vector in radians.
Parameters:
v(Vector2d):
Returns:
public static Vector3d Tan(Vector3d v)
Summary: Calculates the tangent of each component in a double-precision 3D vector in radians.
Parameters:
v(Vector3d):
Returns:
public static Vector4d Tan(Vector4d v)
Summary: Calculates the tangent of each component in a double-precision 4D vector in radians.
Parameters:
v(Vector4d):
Returns:
public static Vector2d Asin(Vector2d v)
Summary: Calculates the angle in radians whose sine is each component of a double-precision 2D vector.
Parameters:
v(Vector2d):
Returns:
public static Vector3d Asin(Vector3d v)
Summary: Calculates the angle in radians whose sine is each component of a double-precision 3D vector.
Parameters:
v(Vector3d):
Returns:
public static Vector4d Asin(Vector4d v)
Summary: Calculates the angle in radians whose sine is each component of a double-precision 4D vector.
Parameters:
v(Vector4d):
Returns:
public static Vector2d Acos(Vector2d v)
Summary: Calculates the angle in radians whose cosine is each component of a double-precision 2D vector.
Parameters:
v(Vector2d):
Returns:
public static Vector3d Acos(Vector3d v)
Summary: Calculates the angle in radians whose cosine is each component of a double-precision 3D vector.
Parameters:
v(Vector3d):
Returns:
public static Vector4d Acos(Vector4d v)
Summary: Calculates the angle in radians whose cosine is each component of a double-precision 4D vector.
Parameters:
v(Vector4d):
Returns:
public static Vector2d Atan(Vector2d v)
Summary: Calculates the angle in radians whose tangent is each component of a double-precision 2D vector.
Parameters:
v(Vector2d):
Returns:
public static Vector3d Atan(Vector3d v)
Summary: Calculates the angle in radians whose tangent is each component of a double-precision 3D vector.
Parameters:
v(Vector3d):
Returns:
public static Vector4d Atan(Vector4d v)
Summary: Calculates the angle in radians whose tangent is each component of a double-precision 4D vector.
Parameters:
v(Vector4d):
Returns:
public static Vector2d Atan2(Vector2d y, Vector2d x)
Summary: Calculates component-wise the angle in radians whose tangent is the quotient of corresponding components from two double-precision 2D vectors.
Parameters:
Returns:
public static Vector3d Atan2(Vector3d y, Vector3d x)
Summary: Calculates component-wise the angle in radians whose tangent is the quotient of corresponding components from two double-precision 3D vectors.
Parameters:
Returns:
public static Vector4d Atan2(Vector4d y, Vector4d x)
Summary: Calculates component-wise the angle in radians whose tangent is the quotient of corresponding components from two double-precision 4D vectors.
Parameters:
Returns:
public static Vector2d Sinh(Vector2d v)
Summary: Calculates the hyperbolic sine of each component in a double-precision 2D vector.
Parameters:
v(Vector2d):
Returns:
public static Vector3d Sinh(Vector3d v)
Summary: Calculates the hyperbolic sine of each component in a double-precision 3D vector.
Parameters:
v(Vector3d):
Returns:
public static Vector4d Sinh(Vector4d v)
Summary: Calculates the hyperbolic sine of each component in a double-precision 4D vector.
Parameters:
v(Vector4d):
Returns:
public static Vector2d Cosh(Vector2d v)
Summary: Calculates the hyperbolic cosine of each component in a double-precision 2D vector.
Parameters:
v(Vector2d):
Returns:
public static Vector3d Cosh(Vector3d v)
Summary: Calculates the hyperbolic cosine of each component in a double-precision 3D vector.
Parameters:
v(Vector3d):
Returns:
public static Vector4d Cosh(Vector4d v)
Summary: Calculates the hyperbolic cosine of each component in a double-precision 4D vector.
Parameters:
v(Vector4d):
Returns:
public static Vector2d Tanh(Vector2d v)
Summary: Calculates the hyperbolic tangent of each component in a double-precision 2D vector.
Parameters:
v(Vector2d):
Returns:
public static Vector3d Tanh(Vector3d v)
Summary: Calculates the hyperbolic tangent of each component in a double-precision 3D vector.
Parameters:
v(Vector3d):
Returns:
public static Vector4d Tanh(Vector4d v)
Summary: Calculates the hyperbolic tangent of each component in a double-precision 4D vector.
Parameters:
v(Vector4d):
Returns:
public static Vector2d Asinh(Vector2d v)
Summary: Calculates the angle whose hyperbolic sine is each component of a double-precision 2D vector.
Parameters:
v(Vector2d):
Returns:
public static Vector3d Asinh(Vector3d v)
Summary: Calculates the angle whose hyperbolic sine is each component of a double-precision 3D vector.
Parameters:
v(Vector3d):
Returns:
public static Vector4d Asinh(Vector4d v)
Summary: Calculates the angle whose hyperbolic sine is each component of a double-precision 4D vector.
Parameters:
v(Vector4d):
Returns:
public static Vector2d Acosh(Vector2d v)
Summary: Calculates the angle whose hyperbolic cosine is each component of a double-precision 2D vector.
Parameters:
v(Vector2d):
Returns:
public static Vector3d Acosh(Vector3d v)
Summary: Calculates the angle whose hyperbolic cosine is each component of a double-precision 3D vector.
Parameters:
v(Vector3d):
Returns:
public static Vector4d Acosh(Vector4d v)
Summary: Calculates the angle whose hyperbolic cosine is each component of a double-precision 4D vector.
Parameters:
v(Vector4d):
Returns:
public static Vector2d Atanh(Vector2d v)
Summary: Calculates the angle whose hyperbolic tangent is each component of a double-precision 2D vector.
Parameters:
v(Vector2d):
Returns:
public static Vector3d Atanh(Vector3d v)
Summary: Calculates the angle whose hyperbolic tangent is each component of a double-precision 3D vector.
Parameters:
v(Vector3d):
Returns:
public static Vector4d Atanh(Vector4d v)
Summary: Calculates the angle whose hyperbolic tangent is each component of a double-precision 4D vector.
Parameters:
v(Vector4d):
Returns: