Table of Contents

Struct Vec2w

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

2-Tuple of ushort (System.UInt16)

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

Constructors

Vec2w(ushort, ushort)

2-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.

Properties

this[int]

Indexer

Methods

Add(Vec2w)

this + other

AsSpan()

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

Divide(double)

this / alpha

Multiply(double)

this * alpha

Subtract(Vec2w)

this - other

ToVec2d()
ToVec2f()
ToVec2i()
ToVec2s()

Operators

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