MeshKit
1.0
|
#include <Vec3.h>
Public Member Functions | |
Vec3 (double x=0, double y=0, double z=0) | |
Vec3 (const Vec3 &v) | |
Vec3 (const double *v) | |
double & | operator() (int i) |
double | operator() (int i) const |
double & | operator[] (int i) |
double | operator[] (int i) const |
double * | raw () |
const double * | raw () const |
bool | operator== (const Vec3 &v) const |
bool | operator!= (const Vec3 &v) const |
void | set (double x, double y, double z) |
Vec3 & | operator= (const Vec3 &v) |
Vec3 & | operator+= (const Vec3 &v) |
Vec3 & | operator-= (const Vec3 &v) |
Vec3 & | operator*= (double s) |
Vec3 & | operator/= (double s) |
Vec3 | operator+ (const Vec3 &v) const |
Vec3 | operator- (const Vec3 &v) const |
Vec3 | operator- () const |
Vec3 | operator* (double s) const |
Vec3 | operator/ (double s) const |
double | operator* (const Vec3 &v) const |
Vec3 | operator^ (const Vec3 &v) const |
Protected Member Functions | |
void | copy (const Vec3 &v) |
Private Attributes | |
double | elt [3] |