General Purpose Geodetic Library
|
Go to the source code of this file.
Classes | |
class | SgVector |
Functions | |
SgVector | operator- (const SgVector &V) |
SgVector | operator* (const SgVector &V, double d) |
SgVector | operator* (double d, const SgVector &V) |
SgVector | operator/ (const SgVector &V, double d) |
SgVector | operator+ (const SgVector &V1, const SgVector &V2) |
SgVector | operator- (const SgVector &V1, const SgVector &V2) |
double | operator* (const SgVector &V1, const SgVector &V2) |
std::ostream & | operator<< (std::ostream &s, const SgVector &V) |
Variables | |
const SgVector | vZero |
Returns a vector multiplied by scalar.
V | – a vector; |
d | – a scale. |
Definition at line 514 of file SgVector.h.
Makes a scalar product of two vectors.
V1 | – a first term in the product; |
V2 | – a second term in the product. |
Definition at line 554 of file SgVector.h.
Returns a vector multiplied by scalar.
d | – a scale. |
V | – a vector; |
Definition at line 522 of file SgVector.h.
Returns a sum of two vectors.
V1 | is a first term, |
V2 | is a second term in the sum. |
Definition at line 538 of file SgVector.h.
Returns a vector with an inverted sign (unary operator).
V | – an original vector. |
Definition at line 506 of file SgVector.h.
Returns a difference of two vectors.
V1 | is a first term, |
V2 | is a second term in the sum. |
Definition at line 546 of file SgVector.h.
Returns a vector divided by scalar.
V | – a vector; |
d | – a divider; |
Definition at line 530 of file SgVector.h.
std::ostream& operator<< | ( | std::ostream & | s, |
const SgVector & | V | ||
) |
Makes output to std::ostream, a standard text formatted output.
s | – a stream; |
V | – a vector. |
Definition at line 35 of file SgVector.cpp.
References SgVector::getElement(), and SgVector::n().
|
extern |