Table of Contents

Struct Vec4w

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

4-Tuple of ushort (System.UInt16)

public record struct Vec4w : IEquatable<Vec4w>
Implements
Inherited Members

Constructors

Vec4w(ushort, ushort, ushort, ushort)

4-Tuple of ushort (System.UInt16)

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(Vec4w)

this + other

AsSpan()

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

Divide(double)

this / alpha

Multiply(double)

this * alpha

Subtract(Vec4w)

this - other

ToVec4d()
ToVec4f()
ToVec4i()
ToVec4s()

Operators

operator +(Vec4w, Vec4w)
operator /(Vec4w, double)
operator *(Vec4w, double)
operator -(Vec4w, Vec4w)