criptic v1
Cosmic Ray Interstellar Propagation Tool using Itô Calculus
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
RealBox.H File Reference

Class that represents a 3D rectangular prism. More...

#include <array>
#include "RealTensor2.H"
#include "Vec3.H"
#include "Types.H"

Go to the source code of this file.

Classes

class  criptic::RealBox
 Class that represents a 3D rectangular prism. More...
 

Namespaces

namespace  criptic
 The primary namespace for criptic objects.
 

Functions

std::istream & operator>> (std::istream &is, criptic::RealBox &b)
 ASCII-formatted read of RealBox from stream.
 
std::ostream & operator<< (std::ostream &os, const criptic::RealBox &b)
 ASCII-formatted output of RealBox to stream.
 

Detailed Description

Class that represents a 3D rectangular prism.

This class represents a 3D rectangular prism with edges that are aligned with the cardinal axes. It provides basic geometric operations on such an object.

Function Documentation

◆ operator<<()

std::ostream & operator<< ( ostream &  os,
const RealBox b 
)

ASCII-formatted output of RealBox to stream.

Parameters
osThe stream to which to write
bThe RealBox to write
Returns
The processed output stream

◆ operator>>()

std::istream & operator>> ( istream &  is,
RealBox b 
)

ASCII-formatted read of RealBox from stream.

Parameters
isThe stream to read from
bThe RealBox in which to store the result
Returns
The processed input stream