Table of Contents

Struct Vec4f

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

4-Tuple of float (System.Single)

public struct Vec4f : IEquatable<Vec4f>
Implements
Inherited Members

Constructors

Vec4f(float, float, float, float)

Initializer

Fields

Item0

The value of the first component of this object.

Item1

The value of the second component of this object.

Item2

The value of the third component of this object.

Item3

The value of the fourth component of this object.

Properties

this[int]

Indexer

Methods

Add(Vec4f)

this + other

AsSpan()

Returns a Span<T> over the 4 elements of this vector.

Deconstruct(out float, out float, out float, out float)

Deconstructing a Vector

Divide(double)

this / alpha

Equals(Vec4f)

Indicates whether the current object is equal to another object of the same type.

Equals(object?)

Indicates whether this instance and a specified object are equal.

GetHashCode()

Returns the hash code for this instance.

Multiply(double)

this * alpha

Subtract(Vec4f)

this - other

ToString()

Returns the fully qualified type name of this instance.

ToVec4d()
ToVec4i()

Operators

operator +(Vec4f, Vec4f)
operator /(Vec4f, double)
operator ==(Vec4f, Vec4f)
operator !=(Vec4f, Vec4f)
operator *(Vec4f, double)
operator -(Vec4f, Vec4f)
operator -(Vec4f)