![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
#include <Vec3.h>
Public Member Functions | |
| Vec3 (double _x, double _y, double _z) | |
| Vec3 () | |
| Vec3 (const Vec3 &v) | |
| double | length () const |
| Vec3 | normalized () const |
| void | operator+= (const Vec3 &v) |
| Vec3 | operator/ (const double &a) const |
| Vec3 | operator- (const Vec3 &v) const |
| Vec3 | operator+ (const Vec3 &v) const |
| Vec3 | operator* (const double &a) const |
| Vec3 | operator- () const |
| Vec3 | cross (const Vec3 &v) const |
| double | dot (const Vec3 &v) const |
Public Attributes | |
| union { | |
| struct { | |
| double x | |
| double y | |
| double z | |
| } | |
| double f [3] | |
| }; | |
|
inline |
Definition at line 25 of file Vec3.h.
Referenced by cross(), normalized(), operator*(), operator+(), operator-(), and operator/().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| union { ... } |
| double Vec3::x |
Definition at line 18 of file Vec3.h.
Referenced by Cloth::Cloth(), Cloud2CloudDist::Compute(), cross(), dot(), length(), normalized(), operator*(), operator+(), operator+=(), operator-(), operator/(), Rasterization::RasterTerrain(), and Cloth::toMesh().
| double Vec3::y |
Definition at line 18 of file Vec3.h.
Referenced by Cloth::Cloth(), Cloud2CloudDist::Compute(), cross(), dot(), Cloth::findUnmovablePoint(), length(), normalized(), operator*(), operator+(), operator+=(), operator-(), operator/(), Particle::satisfyConstraintSelf(), Cloth::terrainCollision(), and Cloth::toMesh().
| double Vec3::z |
Definition at line 18 of file Vec3.h.
Referenced by Cloth::Cloth(), Cloud2CloudDist::Compute(), cross(), dot(), length(), normalized(), operator*(), operator+(), operator+=(), operator-(), operator/(), Rasterization::RasterTerrain(), and Cloth::toMesh().