Table of Contents

Struct Vec4s

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

4-Tuple of short (System.Int16)

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

Constructors

Vec4s(short, short, short, short)

4-Tuple of short (System.Int16)

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

this + other

AsSpan()

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

Divide(double)

this / alpha

Multiply(double)

this * alpha

Subtract(Vec4s)

this - other

ToVec4d()
ToVec4f()
ToVec4i()
ToVec4w()

Operators

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