RecFusion SDK
RecFusion::Vec3i Class Reference

Three element integer vector. More...

Public Member Functions

 Vec3i (int x, int y, int z)
 Construct vector. More...
 
int & operator[] (int idx)
 Get reference to vector element at given index. More...
 
int operator[] (int idx) const
 Get vector element at given index. More...
 
int * data ()
 Get pointer to vector data.
 
const int * data () const
 Get const pointer to vector data.
 

Detailed Description

Three element integer vector.

Constructor & Destructor Documentation

◆ Vec3i()

RecFusion::Vec3i::Vec3i ( int  x,
int  y,
int  z 
)

Construct vector.

Parameters
xFirst entry
ySecond entry
zThird entry

Member Function Documentation

◆ operator[]() [1/2]

int& RecFusion::Vec3i::operator[] ( int  idx)

Get reference to vector element at given index.

Parameters
idxElement index
Returns
Vector element at index

◆ operator[]() [2/2]

int RecFusion::Vec3i::operator[] ( int  idx) const

Get vector element at given index.

Parameters
idxElement index
Returns
Vector element at index

The documentation for this class was generated from the following file: