Coin Logo http://www.sim.no/
http://www.coin3d.org/

Public Member Functions | Protected Attributes | List of all members
SbVec2b Class Reference

a vector class for containing two byte integers. More...

#include <Inventor/SbVec2b.h>

Public Member Functions

 SbVec2b (const int8_t v[2])
 
 SbVec2b (int8_t x, int8_t y)
 
 SbVec2b (const SbVec2ub &v)
 
 SbVec2b (const SbVec2s &v)
 
 SbVec2b (const SbVec2i32 &v)
 
 SbVec2b (const SbVec2f &v)
 
 SbVec2b (const SbVec2d &v)
 
SbVec2bsetValue (const int8_t v[2])
 
SbVec2bsetValue (int8_t x, int8_t y)
 
SbVec2bsetValue (const SbVec2ub &v)
 
SbVec2bsetValue (const SbVec2s &v)
 
SbVec2bsetValue (const SbVec2i32 &v)
 
SbVec2bsetValue (const SbVec2f &v)
 
SbVec2bsetValue (const SbVec2d &v)
 
const int8_t * getValue (void) const
 
void getValue (int8_t &x, int8_t &y) const
 
int8_t & operator[] (int i)
 
const int8_t & operator[] (int i) const
 
int32_t dot (SbVec2b v) const
 
void negate (void)
 
SbVec2boperator*= (int d)
 
SbVec2boperator*= (double d)
 
SbVec2boperator/= (int d)
 
SbVec2boperator/= (double d)
 
SbVec2boperator+= (SbVec2b v)
 
SbVec2boperator-= (SbVec2b v)
 
SbVec2b operator- (void) const
 

Protected Attributes

int8_t vec [2]
 

Detailed Description

a vector class for containing two byte integers.

See Also
SbVec2ub
Since
Coin 2.5

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

Copyright © 1998-2010 by Kongsberg Oil & Gas Technologies. All rights reserved.

Generated on Fri Sep 9 2016 for Coin by Doxygen 1.8.5.