Skip to content

vec3d

Public Functions

Name
vec3d()
vec3d(double rx, double ry, double rz)
vec3d(const vec2d & r)
vec3d operator+(const vec3d & v) const
vec3d operator-(const vec3d & v) const
vec3d operator^(const vec3d & v) const
double operator*(const vec3d & v) const
vec3d operator*(const double g) const
vec3d operator/(const double g) const
const vec3d & operator+=(const vec3d & v)
const vec3d & operator-=(const vec3d & v)
const vec3d & operator/=(const double f)
const vec3d & operator/=(const int n)
const vec3d & operator*=(const double f)
vec3d operator-() const
double Length() const
double SqrLength() const
vec3d & Normalize()

Public Attributes

Name
double x
double y
double z

Public Functions Documentation

function vec3d

inline vec3d()

function vec3d

inline vec3d(
    double rx,
    double ry,
    double rz
)

function vec3d

inline vec3d(
    const vec2d & r
)

function operator+

inline vec3d operator+(
    const vec3d & v
) const

function operator-

inline vec3d operator-(
    const vec3d & v
) const

function operator^

inline vec3d operator^(
    const vec3d & v
) const

function operator*

inline double operator*(
    const vec3d & v
) const

function operator*

inline vec3d operator*(
    const double g
) const

function operator/

inline vec3d operator/(
    const double g
) const

function operator+=

inline const vec3d & operator+=(
    const vec3d & v
)

function operator-=

inline const vec3d & operator-=(
    const vec3d & v
)

function operator/=

inline const vec3d & operator/=(
    const double f
)

function operator/=

inline const vec3d & operator/=(
    const int n
)

function operator*=

inline const vec3d & operator*=(
    const double f
)

function operator-

inline vec3d operator-() const

function Length

inline double Length() const

function SqrLength

inline double SqrLength() const

function Normalize

inline vec3d & Normalize()

Public Attributes Documentation

variable x

double x;

variable y

double y;

variable z

double z;

Updated on 2024-07-14 at 17:07:25 +0000