Coin Logo Coin3D is Free Software,
published under the BSD 3-clause license.
https://bitbucket.org/Coin3D/
http://www.kongsberg.com/kogt/
SbVec2ub Class Reference

#include <Inventor/SbVec2ub.h>

Public Member Functions

 SbVec2ub (const uint8_t v[2])
 
 SbVec2ub (uint8_t x, uint8_t y)
 
 SbVec2ub (const SbVec2b &v)
 
 SbVec2ub (const SbVec2us &v)
 
 SbVec2ub (const SbVec2ui32 &v)
 
SbVec2ubsetValue (const uint8_t v[2])
 
SbVec2ubsetValue (uint8_t x, uint8_t y)
 
SbVec2ubsetValue (const SbVec2b &v)
 
SbVec2ubsetValue (const SbVec2us &v)
 
SbVec2ubsetValue (const SbVec2ui32 &v)
 
const uint8_t * getValue (void) const
 
void getValue (uint8_t &x, uint8_t &y) const
 
uint8_t & operator[] (int i)
 
const uint8_t & operator[] (int i) const
 
int32_t dot (SbVec2ub v) const
 
void negate (void)
 
SbVec2uboperator*= (int d)
 
SbVec2uboperator*= (double d)
 
SbVec2uboperator/= (int d)
 
SbVec2uboperator/= (double d)
 
SbVec2uboperator+= (SbVec2ub v)
 
SbVec2uboperator-= (SbVec2ub v)
 
SbVec2ub operator- (void) const
 

Protected Attributes

uint8_t vec [2]
 

Detailed Description

Since
Coin 2.5

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