IVecOps
Description
- Derived from
-
IEquatable<TVector>
- Extended by
Defines common operations for 2D, 3D and 4D vector types.
Public / Methods
Ceiling
Computes the ceiling of this vector (component-wise).
Vectors with an integral component type are always identical to their ceiling.
- See also
Div
Divides this vector by the given scalar value (component-wise).
Vectors with an integral component type will perform an integer division.
- See also
EqualsAlmost
Checks if this vector and the given one are similar but necessarily equal.
Vectors with an integral component type will delegate to object.Equals.
- See also
Floor
Computes the floor of this vector (component-wise).
Vectors with an integral component type are always identical to their floor.
- See also
Mul
2 overloads
Multiplies this vector with the given one (component-wise).
Multiplies this vector with the given scalar value (component-wise).
- See also
Norm
Normalizes this vector to unit length, by dividing it by its length.
Vectors with an integral component type will perform an integer division.
- See also
ShiftLeft
Performs a left bit shift on each component of this vector.
Vectors with a floating-point component type will perform a multiplication by 2^v
.
- See also
ShiftRight
Performs a right bit shift on each component of this vector.
Vectors with a floating-point component type will perform a division by 2^v
.
- See also
ToString
Returns the string representation of this vector.
The object.ToString method uses FormatFlags.Precision15.
- See also