marble
#include <attlib.h>
Public Member Functions | |
Vec3 (double x=0, double y=0, double z=0) | |
Vec3 (const Vec3 &c) | |
void | assign (double x=0, double y=0, double z=0) |
Vec3 & | operator*= (const Vec3 &c) |
Vec3 & | operator*= (double r) |
Vec3 & | operator+= (const Vec3 &c) |
Vec3 & | operator-= (const Vec3 &c) |
Vec3 & | operator/= (double r) |
Vec3 & | operator= (const Vec3 &c) |
double & | operator[] (unsigned index) |
Friends | |
double | abs (const Vec3 &c) |
Vec3 | carpol (const Vec3 &c) |
double | dot (const Vec3 &c1, const Vec3 &c2) |
Vec3 | operator* (double r, const Vec3 &c1) |
Vec3 | operator* (const Vec3 &c1, double r) |
Vec3 | operator* (const Vec3 &c1, const Vec3 &c2) |
Vec3 | operator+ (const Vec3 &c1, const Vec3 &c2) |
Vec3 | operator- (const Vec3 &c1, const Vec3 &c2) |
Vec3 | operator/ (const Vec3 &c1, double r) |
std::ostream & | operator<< (std::ostream &os, const Vec3 &c) |
Vec3 | polcar (const Vec3 &c) |
Vec3 | vnorm (const Vec3 &c) |
Detailed Description
Constructor & Destructor Documentation
Vec3::Vec3 | ( | double | x = 0 , |
double | y = 0 , |
||
double | z = 0 |
||
) |
Definition at line 37 of file attlib.cpp.
Vec3::Vec3 | ( | const Vec3 & | c | ) |
Definition at line 40 of file attlib.cpp.
Member Function Documentation
void Vec3::assign | ( | double | x = 0 , |
double | y = 0 , |
||
double | z = 0 |
||
) |
Definition at line 46 of file attlib.cpp.
Definition at line 74 of file attlib.cpp.
Vec3 & Vec3::operator*= | ( | double | r | ) |
Definition at line 84 of file attlib.cpp.
Definition at line 62 of file attlib.cpp.
Definition at line 68 of file attlib.cpp.
Vec3 & Vec3::operator/= | ( | double | r | ) |
Definition at line 90 of file attlib.cpp.
Definition at line 56 of file attlib.cpp.
double & Vec3::operator[] | ( | unsigned | index | ) |
Definition at line 51 of file attlib.cpp.
Friends And Related Function Documentation
|
friend |
Definition at line 100 of file attlib.cpp.
Definition at line 184 of file attlib.cpp.
Definition at line 108 of file attlib.cpp.
Definition at line 133 of file attlib.cpp.
Definition at line 141 of file attlib.cpp.
Definition at line 149 of file attlib.cpp.
Definition at line 116 of file attlib.cpp.
Definition at line 124 of file attlib.cpp.
Definition at line 159 of file attlib.cpp.
|
friend |
Definition at line 207 of file attlib.cpp.
Definition at line 170 of file attlib.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:44 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.