29 int TPoint::numberInstance = 0;
31 int TPoint::generateId() {
32 return TPoint::numberInstance++;
43 TPoint::TPoint(
double x,
double y,
double z) {
99 void TPoint::SetCoord(
double x,
double y,
double z) {
111 double TPoint::X()
const {
115 double TPoint::Y()
const {
119 double TPoint::Z()
const {
123 double TPoint::Get(
int i)
const {
124 if (!(i >= 1 && i <= 3)) {
125 THROW( ExcAssertMsg() << EI_Message(
"Invalid specification of the element of the vector.") );
138 stream <<
"[" << P.
x <<
" " << P.
y <<
" " << P.
z <<
"]";
std::ostream & operator<<(std::ostream &stream, const TPoint &P)
bool operator==(const Null &, const Null &)
#define THROW(whole_exception_expr)
Wrapper for throw. Saves the throwing point.
bool IsEqual(double, double)