AnimaL |
Tutorial |
Documentation |
#include <Vec3.h>
Public Member Functions | |
Vec3 () | |
Vec3 (const DataType x, const DataType y, const DataType z) | |
Vec3 (const Vec3 &v) | |
void | set (const DataType x, const DataType y, const DataType z) |
void | set (const Vec3 &v) |
operator const DataType * () const | |
bool | operator== (const Vec3 &b) const |
bool | operator!= (const Vec3 &b) const |
bool | operator< (const Vec3 &b) const |
const DataType & | operator[] (const int i) const |
DataType & | operator[] (const int i) |
Vec3 & | operator+= (const Vec3 &a) |
Vec3 & | operator-= (const Vec3 &a) |
Vec3 & | operator *= (const DataType &k) |
Vec3 & | operator/= (const DataType &k) |
DataType | norm2 () const |
DataType | norm () const |
void | normalize () |
Vec3 | normalized () const |
Vec3 | normalized (DataType &f) const |
Vec3 | withX (const DataType theX) const |
Vec3 | withY (const DataType theY) const |
Vec3 | withZ (const DataType theZ) const |
Vec3 | nonColinearVec () const |
Vec3 | get_Vec3 () |
Vec3 | operator+ (const Vec3< DataType > &a) const |
Vec3 | operator- (const Vec3< DataType > &a) const |
Vec3 | operator- () const |
Vec3 | operator * (const DataType k) const |
Vec3 | operator/ (const DataType k) const |
DataType | operator * (const Vec3< DataType > &a) const |
Vec3 | operator^ (const Vec3< DataType > &a) const |
Static Public Member Functions | |
const Vec3 & | axis (const int i) |
Public Attributes | |
DataType | x |
DataType | y |
DataType | z |
Friends | |
Vec3 | operator * (const DataType k, const Vec3< DataType > &v) |
std::ostream & | operator<< (std::ostream &s, const Vec3< DataType > &v) |
std::istream & | operator>> (std::istream &s, Vec3< DataType > &v) |
|
|
|
|
|
|
|
|
|
|
|
|
|
Referenced by animal::octree::SFVec3fCellConstrained::computeParameters(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|