ESyS-Particle  2.3.4
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 More...
 
VEC3_INLINE Vec3 comp_min (const Vec3 &V1, const Vec3 &V2)
 per component minimum More...
 
VEC3_INLINE std::ostream & operator<< (std::ostream &ostr, const Vec3 &V)
 
VEC3_INLINE std::istream & operator>> (std::istream &istr, Vec3 &V)
 

Function Documentation

◆ cmax()

VEC3_INLINE Vec3 cmax ( const Vec3 v1,
const Vec3 v2 
)

◆ cmin()

VEC3_INLINE Vec3 cmin ( const Vec3 v1,
const Vec3 v2 
)

◆ comp_max()

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:

◆ comp_min()

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:

◆ cross()

◆ dot()

◆ operator*()

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

References Vec3::data.

◆ operator<<()

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

References Vec3::data.

◆ operator>>()

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

References Vec3::data.