Table of Contents

Struct Vec2i

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

2-Tuple of int (System.Int32)

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

Constructors

Vec2i(int, int)

2-Tuple of int (System.Int32)

Fields

Item0

The value of the first component of this object.

Item1

The value of the second component of this object.

Properties

this[int]

Indexer

Methods

Add(Vec2i)

this + other

AsSpan()

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

Divide(double)

this / alpha

Multiply(double)

this * alpha

Subtract(Vec2i)

this - other

ToVec2d()
ToVec2f()

Operators

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