Resource Base
Table of contents

CVector4

The CVector4 class represents a four-dimensional vector.

Definition

Namespace: dynamsoft::basic_structures

Assembly: DynamsoftCore

class CVector4;

Methods Summary

Method Description
Set Sets the components value of a four-dimensional vector.
operator[] Gets the component value at the specified index in the CVector4.

Set

Sets the components value of a four-dimensional vector.

void Set(int v1, int v2, int v3, int v4)

Parameters

[in] v1 The first component value of the four-dimensional vector.

[in] v2 The second component value of the four-dimensional vector.

[in] v3 The third component value of the four-dimensional vector.

[in] v4 The fourth component value of the four-dimensional vector.

operator[]

Gets the component value at the specified index in the CVector4.

int& operator[](int i)

Parameters

[in] i An integer index used to access the component value of the CVector4.

Return Value

A reference to the component value at the specified index in the CVector4.

This page is compatible for:

Version 1.0

Is this page helpful?

YesYes NoNo

In this article:

latest version

    • Latest version (2.2.20)
    • Version 2.x
      • Version 2.2.10
      • Version 2.2.0
      • Version 2.0.30
      • Version 2.0.20
      • Version 2.0.10
      • Version 2.0.0
    Change +
    © 2003–2024 Dynamsoft. All rights reserved.
    Privacy Statement / Site Map / Home / Purchase / Support