29 #include <Inventor/SbBasic.h>
41 SbVec3f(
const float x,
const float y,
const float z);
48 SbVec3f & setValue(
const float v[3]);
49 SbVec3f & setValue(
const float x,
const float y,
const float z);
60 float dot(
const SbVec3f & v)
const;
61 SbBool equals(
const SbVec3f & v,
const float tolerance)
const;
62 SbVec3f getClosestAxis(
void)
const;
63 const float * getValue(
void)
const;
64 void getValue(
float & x,
float & y,
float & z)
const;
65 float length(
void)
const;
66 float sqrLength()
const;
68 float normalize(
void);
69 float & operator [](
const int i);
70 const float & operator [](
const int i)
const;
71 SbVec3f & operator *=(
const float d);
72 SbVec3f & operator /=(
const float d);
76 friend COIN_DLL_API
SbVec3f operator *(
const SbVec3f & v,
const float d);
77 friend COIN_DLL_API
SbVec3f operator *(
const float d,
const SbVec3f & v);
78 friend COIN_DLL_API
SbVec3f operator /(
const SbVec3f & v,
const float d);
81 friend COIN_DLL_API
int operator ==(
const SbVec3f & v1,
const SbVec3f & v2);
82 friend COIN_DLL_API
int operator !=(
const SbVec3f & v1,
const SbVec3f & v2);
84 void print(FILE * fp)
const;
113 #endif // !COIN_SBVEC3F_H
Copyright © 1998-2007 by Systems in Motion AS. All rights reserved.
Generated on Sun Mar 31 2013 for Coin by Doxygen. 1.8.3.1