Defines | Functions
core/vgl/vgl_box_2d.txx File Reference
#include "vgl_box_2d.h"
#include <vcl_iostream.h>
#include <vcl_algorithm.h>
#include <vcl_cassert.h>
#include <vcl_cmath.h>
#include <vgl/vgl_point_2d.h>

Go to the source code of this file.

Defines

#define vgl_box_2d_txx_
#define VGL_BOX_2D_INSTANTIATE(Type)

Functions

template<class T >
void set_dim_2d (T &minv, T &maxv, T spread)
VCL_DEFINE_SPECIALIZATION void set_dim_2d (int &minv, int &maxv, int spread)
template<class Type >
vcl_ostream & operator<< (vcl_ostream &s, vgl_box_2d< Type > const &p)
 Print to stream.
template<class Type >
vcl_istream & operator>> (vcl_istream &is, vgl_box_2d< Type > &p)
 Read from stream.

Detailed Description

Definition in file vgl_box_2d.txx.


Define Documentation

#define VGL_BOX_2D_INSTANTIATE (   Type)
Value:
template class vgl_box_2d<Type >;\
template vcl_istream& operator>>(vcl_istream&, vgl_box_2d<Type >&);\
template vcl_ostream& operator<<(vcl_ostream&, vgl_box_2d<Type > const&)

Definition at line 381 of file vgl_box_2d.txx.

#define vgl_box_2d_txx_

Definition at line 3 of file vgl_box_2d.txx.


Function Documentation

template<class Type >
vcl_ostream& operator<< ( vcl_ostream &  s,
vgl_box_2d< Type > const &  p 
)

Print to stream.

Write box to stream.

Definition at line 368 of file vgl_box_2d.txx.

template<class Type >
vcl_istream& operator>> ( vcl_istream &  is,
vgl_box_2d< Type > &  p 
)

Read from stream.

Read box from stream.

Definition at line 375 of file vgl_box_2d.txx.

template<class T >
void set_dim_2d ( T &  minv,
T &  maxv,
spread 
) [inline]

Definition at line 189 of file vgl_box_2d.txx.

VCL_DEFINE_SPECIALIZATION void set_dim_2d ( int &  minv,
int &  maxv,
int  spread 
) [inline]

Definition at line 180 of file vgl_box_2d.txx.