Table of Contents

Struct Vec2d

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

2-Tuple of double (System.Double)

public struct Vec2d : IEquatable<Vec2d>
Implements
Inherited Members

Constructors

Vec2d(double, double)

Initializer

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

this + other

AsSpan()

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

Deconstruct(out double, out double)

Deconstructing a Vector

Divide(double)

this / alpha

Equals(Vec2d)

Indicates whether the current object is equal to another object of the same type.

Equals(object?)
GetHashCode()

Returns the hash code for this instance.

Multiply(double)

this * alpha

Subtract(Vec2d)

this - other

ToString()

Returns the fully qualified type name of this instance.

Operators

operator +(Vec2d, Vec2d)
operator /(Vec2d, double)
operator ==(Vec2d, Vec2d)
operator !=(Vec2d, Vec2d)
operator *(Vec2d, double)
operator -(Vec2d, Vec2d)
operator -(Vec2d)