EBGeometry
Compact, header-only C++ library for fast evaluation of signed distance functions
Loading...
Searching...
No Matches
Namespaces | Functions
EBGeometry_StreamOperators.hpp File Reference

Stream insertion (operator<<) for Vec3T and AABBT. More...

#include <ostream>
#include "EBGeometry_BoundingVolumes.hpp"
#include "EBGeometry_Vec.hpp"
Include dependency graph for EBGeometry_StreamOperators.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  EBGeometry
 Namespace containing all of EBGeometry's functionality.
 
namespace  EBGeometry::BoundingVolumes
 Namespace encapsulating bounding volume types for use with bounding volume hierarchies.
 

Functions

template<class T >
std::ostream & EBGeometry::operator<< (std::ostream &a_os, const Vec3T< T > &a_vec)
 Print a vector as (x,y,z).
 
template<class T >
std::ostream & EBGeometry::BoundingVolumes::operator<< (std::ostream &a_os, const AABBT< T > &a_aabb)
 Print a bounding box as (low corner, high corner).
 

Detailed Description

Stream insertion (operator<<) for Vec3T and AABBT.

Kept out of the vector and bounding-volume headers so that code including those, device code in particular, does not pull in the standard stream header. EBGeometry.hpp includes this header.

Author
Robert Marskar