cgma
CubitBox.cpp File Reference
#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 Documentation

#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.


Function Documentation

CubitBox operator& ( const CubitBox lhs,
const CubitBox rhs 
)

Definition at line 319 of file CubitBox.cpp.

{
  return CubitBox(lhs) &= rhs;
}
CubitBox operator* ( double  lhs,
const CubitBox rhs 
)

Definition at line 324 of file CubitBox.cpp.

{
  return CubitBox(rhs) *= lhs;
}
CubitBox operator* ( const CubitBox lhs,
double  rhs 
)

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;
}
CubitBox operator/ ( const CubitBox lhs,
double  rhs 
)

Definition at line 334 of file CubitBox.cpp.

{
  return CubitBox(lhs) /= rhs;
}
CubitBox operator| ( const CubitBox lhs,
const CubitBox rhs 
)

Definition at line 314 of file CubitBox.cpp.

{
  return CubitBox(lhs) |= rhs;
}
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines