|
SIMLIB/C++ 3.09
|
3D vector value More...
#include <simlib3D.h>
Public Member Functions | |
| Value3D (double x, double y, double z) | |
| double | x () const |
| double | y () const |
| double | z () const |
| Value3D | operator+ (Value3D b) |
| Value3D | operator- (Value3D b) |
| void | Print () |
Private Attributes | |
| double | _x |
| double | _y |
| double | _z |
Friends | |
| double | abs (const Value3D &a) |
| Value3D | operator+ (const Value3D &a, const Value3D &b) |
| Value3D | operator- (const Value3D &a, const Value3D &b) |
| Value3D | operator- (const Value3D &a) |
| Value3D | operator* (const Value3D &a, const Value3D &b) |
| Value3D | operator* (const Value3D &a, const double b) |
| Value3D | operator* (const double a, const Value3D &b) |
| double | scalar_product (const Value3D &a, const Value3D &b) |
| Value3D | operator/ (const Value3D &a, const double b) |
3D vector value
Definition at line 31 of file simlib3D.h.
|
inline |
Definition at line 34 of file simlib3D.h.
References _x, _y, _z, x(), y(), and z().
Referenced by abs, operator*, operator*, operator*, operator+, operator+(), operator-, operator-, operator-(), operator/, scalar_product, simlib3::Adaptor3D::Value(), and simlib3::Integrator3D::Value().
|
inline |
Definition at line 43 of file simlib3D.h.
References _x, _y, _z, and Print().
Referenced by simlib3::aContiBlock3D::Print(), simlib3::Print(), and Print().
|
inline |
Definition at line 35 of file simlib3D.h.
References _x.
Referenced by simlib3::Integrator3D::Init(), simlib3::Integrator3D::operator=(), simlib3::Integrator3D::operator=(), simlib3::_XYZpart::Value(), simlib3::Integrator3D::special_input::Value(), and Value3D().
|
inline |
Definition at line 36 of file simlib3D.h.
References _y.
Referenced by simlib3::Integrator3D::Init(), simlib3::Integrator3D::operator=(), simlib3::Integrator3D::operator=(), simlib3::_XYZpart::Value(), simlib3::Integrator3D::special_input::Value(), and Value3D().
|
inline |
Definition at line 37 of file simlib3D.h.
References _z.
Referenced by simlib3::Integrator3D::Init(), simlib3::Integrator3D::operator=(), simlib3::Integrator3D::operator=(), simlib3::_XYZpart::Value(), simlib3::Integrator3D::special_input::Value(), and Value3D().
|
friend |
Definition at line 71 of file simlib3D.cc.
References Value3D().
Definition at line 76 of file simlib3D.cc.
References _x, _y, _z, scalar_product, and Value3D().
Referenced by scalar_product.
|
private |
Definition at line 32 of file simlib3D.h.
Referenced by abs, operator*, operator*, operator+, operator+(), operator-, operator-, operator-(), operator/, Print(), scalar_product, Value3D(), and x().
|
private |
Definition at line 32 of file simlib3D.h.
Referenced by abs, operator*, operator*, operator+, operator+(), operator-, operator-, operator-(), operator/, Print(), scalar_product, Value3D(), and y().
|
private |
Definition at line 32 of file simlib3D.h.
Referenced by abs, operator*, operator*, operator+, operator+(), operator-, operator-, operator-(), operator/, Print(), scalar_product, Value3D(), and z().