#include <math3d.h>
Public Member Functions | |
bool | operator!= (const vec3d &o) const |
template<typename S > | |
bool | operator!= (const vec3d< S > &o) const |
template<typename Scalar > | |
vec3d< T > & | operator*= (const Scalar &s) |
vec3d< T > | operator+ (const vec3d< T > &p) const |
template<typename S > | |
vec3d< T > & | operator+= (const vec3d< S > &p) |
vec3d< T > & | operator+= (const vec3d< T > &p) |
vec3d< T > | operator- (const vec3d< T > &p) const |
vec3d< T > | operator- () const |
template<typename S > | |
vec3d< T > & | operator-= (const vec3d< S > &p) |
vec3d< T > & | operator-= (const vec3d< T > &p) |
template<typename Scalar > | |
vec3d< T > & | operator/= (const Scalar &s) |
bool | operator== (const vec3d &o) const |
template<typename S > | |
bool | operator== (const vec3d< S > &o) const |
vec3d () | |
vec3d (T x_, T y_, T z_) | |
template<typename S > | |
vec3d (const vec3d< S > &s) | |
template<typename S > | |
vec3d (const S *s) | |
Public Attributes | |
T | x |
T | y |
T | z |
Friends | |
template<typename Scalar > | |
vec3d< T > | operator* (const vec3d< T > &p, const Scalar &s) |
template<typename Scalar > | |
vec3d< T > | operator* (const Scalar &s, const vec3d< T > &p) |
template<typename Scalar > | |
vec3d< T > | operator/ (const vec3d< T > &p, const Scalar &s) |
std::ostream & | operator<< (std::ostream &os, const vec3d< T > &p) |
std::istream & | operator>> (std::istream &is, vec3d< T > &p) |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |
|
friend |
T math3d::vec3d< T >::x |
T math3d::vec3d< T >::y |
T math3d::vec3d< T >::z |