ESyS-Particle  2.3.2
vec3.hpp File Reference
Include dependency graph for vec3.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

VEC3_INLINE Vec3 cross (const Vec3 &lhs, const Vec3 &rhs)
VEC3_INLINE double dot (const Vec3 &v1, const Vec3 &v2)
VEC3_INLINE Vec3 operator* (double f, const Vec3 &rhs)
VEC3_INLINE Vec3 cmax (const Vec3 &v1, const Vec3 &v2)
VEC3_INLINE Vec3 cmin (const Vec3 &v1, const Vec3 &v2)
VEC3_INLINE Vec3 comp_max (const Vec3 &V1, const Vec3 &V2)
 per component maximum
VEC3_INLINE Vec3 comp_min (const Vec3 &V1, const Vec3 &V2)
 per component minimum
VEC3_INLINE std::ostream & operator<< (std::ostream &ostr, const Vec3 &V)
VEC3_INLINE std::istream & operator>> (std::istream &istr, Vec3 &V)

Function Documentation

VEC3_INLINE Vec3 comp_max ( const Vec3 V1,
const Vec3 V2 
)

per component maximum

References Vec3::X(), Vec3::Y(), and Vec3::Z().

Here is the call graph for this function:

VEC3_INLINE Vec3 comp_min ( const Vec3 V1,
const Vec3 V2 
)

per component minimum

References Vec3::X(), Vec3::Y(), and Vec3::Z().

Here is the call graph for this function:

VEC3_INLINE Vec3 operator* ( double  f,
const Vec3 rhs 
)

References Vec3::data.

VEC3_INLINE std::ostream& operator<< ( std::ostream &  ostr,
const Vec3 V 
)

References Vec3::data.

VEC3_INLINE std::istream& operator>> ( std::istream &  istr,
Vec3 V 
)

References Vec3::data.