cgma
|
#include <cstdio>
#include <cstdlib>
#include <cassert>
#include "CubitBox.hpp"
#include "CubitVector.hpp"
#include "CubitDefines.h"
Go to the source code of this file.
Defines | |
#define | NUMDIM 3 |
#define | RIGHT 0 |
#define | LEFT 1 |
#define | MIDDLE 2 |
Functions | |
CubitBox | operator| (const CubitBox &lhs, const CubitBox &rhs) |
CubitBox | operator& (const CubitBox &lhs, const CubitBox &rhs) |
CubitBox | operator* (double lhs, const CubitBox &rhs) |
CubitBox | operator* (const CubitBox &lhs, double rhs) |
CubitBox | operator/ (const CubitBox &lhs, double rhs) |
CubitBox | operator+ (const CubitBox &lhs, const CubitVector &rhs) |
CubitBox | operator- (const CubitBox &lhs, const CubitVector &rhs) |
#define LEFT 1 |
Definition at line 540 of file CubitBox.cpp.
#define MIDDLE 2 |
Definition at line 541 of file CubitBox.cpp.
#define NUMDIM 3 |
Definition at line 538 of file CubitBox.cpp.
#define RIGHT 0 |
Definition at line 539 of file CubitBox.cpp.
Definition at line 319 of file CubitBox.cpp.
{ return CubitBox(lhs) &= rhs; }
Definition at line 324 of file CubitBox.cpp.
{ return CubitBox(rhs) *= lhs; }
Definition at line 329 of file CubitBox.cpp.
{ return CubitBox(lhs) *= rhs; }
CubitBox operator+ | ( | const CubitBox & | lhs, |
const CubitVector & | rhs | ||
) |
Definition at line 339 of file CubitBox.cpp.
{ return CubitBox(lhs) += rhs; }
CubitBox operator- | ( | const CubitBox & | lhs, |
const CubitVector & | rhs | ||
) |
Definition at line 344 of file CubitBox.cpp.
{ return CubitBox(lhs) -= rhs; }
Definition at line 334 of file CubitBox.cpp.
{ return CubitBox(lhs) /= rhs; }