|
Flow123d
|
#include <myvector.h>
Public Member Functions | |
| TVector () | |
| TVector (double, double, double) | |
| TVector (TPoint, TPoint) | |
| TVector (const TVector &) | |
| ~TVector () | |
| double | Length () const |
| void | Get (double &, double &, double &) const |
| void | Get (double *) const |
| double | Get (int) const |
| void | SetVector (double, double, double) |
| bool | IsZero () |
| double | X1 () const |
| double | X2 () const |
| double | X3 () const |
| TVector & | operator= (const TPoint &) |
| TVector | operator+ (const TVector &) |
| TVector | operator+ (const TPoint &) |
| TVector | operator- (const TVector &) |
| bool | operator== (const TVector &) |
Static Public Member Functions | |
| static int | getNumInstances () |
Protected Member Functions | |
| int | generateId () |
| void | Compute () |
| void | CompLength () |
Protected Attributes | |
| int | id |
| double | coors [3] |
| double | length |
Static Protected Attributes | |
| static int | numberInstance = 0 |
Friends | |
| TVector | operator* (const TVector &, double) |
| TVector | operator* (double, const TVector &) |
Definition at line 8 of file myvector.h.
| TVector::TVector | ( | ) |
Definition at line 17 of file vector.cpp.
| TVector::TVector | ( | double | xx1, |
| double | xx2, | ||
| double | xx3 | ||
| ) |
Definition at line 27 of file vector.cpp.
Definition at line 37 of file vector.cpp.
| TVector::TVector | ( | const TVector & | x) |
Definition at line 47 of file vector.cpp.
| TVector::~TVector | ( | ) |
Definition at line 58 of file vector.cpp.
|
protected |
Definition at line 66 of file vector.cpp.
|
protected |
|
protected |
Definition at line 13 of file vector.cpp.
| void TVector::Get | ( | double & | xx1, |
| double & | xx2, | ||
| double & | xx3 | ||
| ) | const |
| void TVector::Get | ( | double * | U) | const |
Definition at line 154 of file vector.cpp.
| double TVector::Get | ( | int | i) | const |
Definition at line 162 of file vector.cpp.
|
inlinestatic |
Definition at line 47 of file myvector.h.
| bool TVector::IsZero | ( | ) |
Definition at line 135 of file vector.cpp.
| double TVector::Length | ( | ) | const |
Definition at line 80 of file vector.cpp.
Definition at line 92 of file vector.cpp.
Definition at line 104 of file vector.cpp.
Definition at line 70 of file vector.cpp.
| bool TVector::operator== | ( | const TVector & | U) |
Definition at line 195 of file vector.cpp.
| void TVector::SetVector | ( | double | xx1, |
| double | xx2, | ||
| double | xx3 | ||
| ) |
| double TVector::X1 | ( | ) | const |
| double TVector::X2 | ( | ) | const |
| double TVector::X3 | ( | ) | const |
Definition at line 123 of file vector.cpp.
Definition at line 129 of file vector.cpp.
|
protected |
Definition at line 13 of file myvector.h.
|
protected |
Definition at line 11 of file myvector.h.
|
protected |
Definition at line 14 of file myvector.h.
|
staticprotected |
Definition at line 10 of file myvector.h.
1.8.4