Scroll to navigation

SbVec2us(3) Coin SbVec2us(3)

NAME

SbVec2us -

SYNOPSIS

#include <Inventor/SbVec2us.h>

Public Member Functions


SbVec2us (const unsigned short v[2])
 
SbVec2us (unsigned short x, unsigned short y)
 
SbVec2us (const SbVec2s &v)
 
SbVec2us (const SbVec2ub &v)
 
SbVec2us (const SbVec2ui32 &v)
 
SbVec2us & setValue (const unsigned short v[2])
 
SbVec2us & setValue (unsigned short x, unsigned short y)
 
SbVec2us & setValue (const SbVec2s &v)
 
SbVec2us & setValue (const SbVec2ub &v)
 
SbVec2us & setValue (const SbVec2ui32 &v)
 
const unsigned short * getValue (void) const
 
void getValue (unsigned short &x, unsigned short &y) const
 
unsigned short & operator[] (int i)
 
const unsigned short & operator[] (int i) const
 
int32_t dot (SbVec2us v) const
 
void negate (void)
 
SbVec2us & operator*= (int d)
 
SbVec2us & operator*= (double d)
 
SbVec2us & operator/= (int d)
 
SbVec2us & operator/= (double d)
 
SbVec2us & operator+= (SbVec2us v)
 
SbVec2us & operator-= (SbVec2us v)
 
SbVec2us operator- (void) const
 

Protected Attributes


unsigned short vec [2]
 

Detailed Description

Since:
Coin 2.5
 
 

Author

Generated automatically by Doxygen for Coin from the source code.
Sat Oct 12 2013 Version 4.0.0a