Table of Contents

Struct Vec6i

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

6-Tuple of int (System.Int32)

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

Constructors

Vec6i(int, int, int, int, int, int)

6-Tuple of int (System.Int32)

public Vec6i(int Item0, int Item1, int Item2, int Item3, int Item4, int Item5)

Parameters

Item0 int
Item1 int
Item2 int
Item3 int
Item4 int
Item5 int

Fields

Item0

The value of the first component of this object.

public int Item0

Field Value

int

Item1

The value of the second component of this object.

public int Item1

Field Value

int

Item2

The value of the third component of this object.

public int Item2

Field Value

int

Item3

The value of the fourth component of this object.

public int Item3

Field Value

int

Item4

The value of the fifth component of this object.

public int Item4

Field Value

int

Item5

The value of the sixth component of this object.

public int Item5

Field Value

int

Properties

this[int]

Indexer

public int this[int i] { readonly get; set; }

Parameters

i int

Property Value

int

Methods

Add(Vec6i)

this + other

public readonly Vec6i Add(Vec6i other)

Parameters

other Vec6i

Returns

Vec6i

AsSpan()

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

public Span<int> AsSpan()

Returns

Span<int>

Divide(double)

this / alpha

public readonly Vec6i Divide(double alpha)

Parameters

alpha double

Returns

Vec6i

Multiply(double)

this * alpha

public readonly Vec6i Multiply(double alpha)

Parameters

alpha double

Returns

Vec6i

Subtract(Vec6i)

this - other

public readonly Vec6i Subtract(Vec6i other)

Parameters

other Vec6i

Returns

Vec6i

ToVec6d()

public Vec6d ToVec6d()

Returns

Vec6d

ToVec6f()

public Vec6f ToVec6f()

Returns

Vec6f

Operators

operator +(Vec6i, Vec6i)

public static Vec6i operator +(Vec6i a, Vec6i b)

Parameters

a Vec6i
b Vec6i

Returns

Vec6i

operator /(Vec6i, double)

public static Vec6i operator /(Vec6i a, double alpha)

Parameters

a Vec6i
alpha double

Returns

Vec6i

operator *(Vec6i, double)

public static Vec6i operator *(Vec6i a, double alpha)

Parameters

a Vec6i
alpha double

Returns

Vec6i

operator -(Vec6i, Vec6i)

public static Vec6i operator -(Vec6i a, Vec6i b)

Parameters

a Vec6i
b Vec6i

Returns

Vec6i

operator -(Vec6i)

public static Vec6i operator -(Vec6i a)

Parameters

a Vec6i

Returns

Vec6i