Macros | Functions
vgl_box_3d.hxx File Reference
#include <iostream>
#include <algorithm>
#include <cmath>
#include "vgl_box_3d.h"
#include <vgl/vgl_point_3d.h>
#include <cassert>

Go to the source code of this file.

Macros

#define VGL_BOX_3D_INSTANTIATE(Type)
 

Functions

template<class T >
void set_dim_3d (T &minv, T &maxv, T spread)
 
template<>
void set_dim_3d (int &minv, int &maxv, int spread)
 
template<class Type >
std::ostream & operator<< (std::ostream &s, vgl_box_3d< Type > const &p)
 Write box to stream. More...
 
template<class Type >
std::istream & operator>> (std::istream &is, vgl_box_3d< Type > &p)
 Read box from stream. More...
 

Macro Definition Documentation

◆ VGL_BOX_3D_INSTANTIATE

#define VGL_BOX_3D_INSTANTIATE (   Type)
Value:
template class vgl_box_3d<Type >;\
template std::ostream& operator<<(std::ostream&, vgl_box_3d<Type > const& p);\
template std::istream& operator>>(std::istream&, vgl_box_3d<Type >& p)
std::ostream & operator<<(std::ostream &s, vgl_orient_box_3d< Type > const &p)
Write box to stream.
std::istream & operator>>(std::istream &is, vgl_orient_box_3d< Type > &p)
Read box from stream.
Represents a cartesian 3D box.
Definition: vgl_box_3d.h:65

Definition at line 443 of file vgl_box_3d.hxx.

Function Documentation

◆ operator<<()

template<class Type >
std::ostream& operator<< ( std::ostream &  s,
vgl_box_3d< Type > const &  p 
)

Write box to stream.

Definition at line 430 of file vgl_box_3d.hxx.

◆ operator>>()

template<class Type >
std::istream& operator>> ( std::istream &  is,
vgl_box_3d< Type > &  p 
)

Read box from stream.

Definition at line 437 of file vgl_box_3d.hxx.

◆ set_dim_3d() [1/2]

template<class T >
void set_dim_3d ( T &  minv,
T &  maxv,
spread 
)
inline

Definition at line 215 of file vgl_box_3d.hxx.

◆ set_dim_3d() [2/2]

template<>
void set_dim_3d ( int &  minv,
int &  maxv,
int  spread 
)
inline

Definition at line 206 of file vgl_box_3d.hxx.