Show / Hide Table of Contents

Struct Vec3s

3-Tuple of short (System.Int16)

Implements
IVec<Vec3s, System.Int16>
IVec
IEquatable<Vec3s>
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: OpenCvSharp
Assembly: OpenCvSharp.dll
Syntax
public struct Vec3s : IVec<Vec3s, short>, IVec

Constructors

| Improve this Doc View Source

Vec3s(Int16, Int16, Int16)

Initializer

Declaration
public Vec3s(short item0, short item1, short item2)
Parameters
Type Name Description
System.Int16 item0
System.Int16 item1
System.Int16 item2

Fields

| Improve this Doc View Source

Item0

The value of the first component of this object.

Declaration
public short Item0
Field Value
Type Description
System.Int16
| Improve this Doc View Source

Item1

The value of the second component of this object.

Declaration
public short Item1
Field Value
Type Description
System.Int16
| Improve this Doc View Source

Item2

The value of the third component of this object.

Declaration
public short Item2
Field Value
Type Description
System.Int16

Properties

| Improve this Doc View Source

Item[Int32]

Indexer

Declaration
public short this[int i] { readonly get; set; }
Parameters
Type Name Description
System.Int32 i
Property Value
Type Description
System.Int16

Methods

| Improve this Doc View Source

Add(Vec3s)

this + other

Declaration
public readonly Vec3s Add(Vec3s other)
Parameters
Type Name Description
Vec3s other
Returns
Type Description
Vec3s
| Improve this Doc View Source

Deconstruct(out Int16, out Int16, out Int16)

Deconstructing a Vector

Declaration
public readonly void Deconstruct(out short item0, out short item1, out short item2)
Parameters
Type Name Description
System.Int16 item0
System.Int16 item1
System.Int16 item2
| Improve this Doc View Source

Divide(Double)

this / alpha

Declaration
public readonly Vec3s Divide(double alpha)
Parameters
Type Name Description
System.Double alpha
Returns
Type Description
Vec3s
| Improve this Doc View Source

Equals(Vec3s)

Declaration
public readonly bool Equals(Vec3s other)
Parameters
Type Name Description
Vec3s other
Returns
Type Description
System.Boolean
| Improve this Doc View Source

Equals(Object)

Declaration
public override readonly bool Equals(object obj)
Parameters
Type Name Description
System.Object obj
Returns
Type Description
System.Boolean
Overrides
System.ValueType.Equals(System.Object)
| Improve this Doc View Source

GetHashCode()

Declaration
public override readonly int GetHashCode()
Returns
Type Description
System.Int32
Overrides
System.ValueType.GetHashCode()
| Improve this Doc View Source

Multiply(Double)

this * alpha

Declaration
public readonly Vec3s Multiply(double alpha)
Parameters
Type Name Description
System.Double alpha
Returns
Type Description
Vec3s
| Improve this Doc View Source

Subtract(Vec3s)

this - other

Declaration
public readonly Vec3s Subtract(Vec3s other)
Parameters
Type Name Description
Vec3s other
Returns
Type Description
Vec3s
| Improve this Doc View Source

ToString()

Declaration
public override readonly string ToString()
Returns
Type Description
System.String
Overrides
System.ValueType.ToString()
| Improve this Doc View Source

ToVec3d()

Declaration
public Vec3d ToVec3d()
Returns
Type Description
Vec3d
| Improve this Doc View Source

ToVec3f()

Declaration
public Vec3f ToVec3f()
Returns
Type Description
Vec3f
| Improve this Doc View Source

ToVec3i()

Declaration
public Vec3i ToVec3i()
Returns
Type Description
Vec3i
| Improve this Doc View Source

ToVec3w()

Declaration
public Vec3w ToVec3w()
Returns
Type Description
Vec3w

Operators

| Improve this Doc View Source

Addition(Vec3s, Vec3s)

Declaration
public static Vec3s operator +(Vec3s a, Vec3s b)
Parameters
Type Name Description
Vec3s a
Vec3s b
Returns
Type Description
Vec3s
| Improve this Doc View Source

Division(Vec3s, Double)

Declaration
public static Vec3s operator /(Vec3s a, double alpha)
Parameters
Type Name Description
Vec3s a
System.Double alpha
Returns
Type Description
Vec3s
| Improve this Doc View Source

Equality(Vec3s, Vec3s)

Declaration
public static bool operator ==(Vec3s a, Vec3s b)
Parameters
Type Name Description
Vec3s a
Vec3s b
Returns
Type Description
System.Boolean
| Improve this Doc View Source

Inequality(Vec3s, Vec3s)

Declaration
public static bool operator !=(Vec3s a, Vec3s b)
Parameters
Type Name Description
Vec3s a
Vec3s b
Returns
Type Description
System.Boolean
| Improve this Doc View Source

Multiply(Vec3s, Double)

Declaration
public static Vec3s operator *(Vec3s a, double alpha)
Parameters
Type Name Description
Vec3s a
System.Double alpha
Returns
Type Description
Vec3s
| Improve this Doc View Source

Subtraction(Vec3s, Vec3s)

Declaration
public static Vec3s operator -(Vec3s a, Vec3s b)
Parameters
Type Name Description
Vec3s a
Vec3s b
Returns
Type Description
Vec3s

Implements

IVec<TSelf, TElem>
IVec
IEquatable<>
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX