#include <iostream>
#include <algorithm>
#include <cmath>
#include "vgl_box_2d.h"
#include <cassert>
#include <vgl/vgl_point_2d.h>
Go to the source code of this file.
◆ VGL_BOX_2D_INSTANTIATE
| #define VGL_BOX_2D_INSTANTIATE |
( |
|
Type | ) |
|
Value:std::ostream & operator<<(std::ostream &s, vgl_orient_box_3d< Type > const &p)
Write box to stream.
Represents a cartesian 2D box.
std::istream & operator>>(std::istream &is, vgl_orient_box_3d< Type > &p)
Read box from stream.
Definition at line 384 of file vgl_box_2d.hxx.
◆ operator<<()
template<class Type >
| std::ostream& operator<< |
( |
std::ostream & |
s, |
|
|
vgl_box_2d< Type > const & |
p |
|
) |
| |
◆ operator>>()
template<class Type >
| std::istream& operator>> |
( |
std::istream & |
is, |
|
|
vgl_box_2d< Type > & |
p |
|
) |
| |
Read from stream.
Read box from stream.
Definition at line 378 of file vgl_box_2d.hxx.
◆ set_dim_2d() [1/2]
template<class T >
| void set_dim_2d |
( |
T & |
minv, |
|
|
T & |
maxv, |
|
|
T |
spread |
|
) |
| |
|
inline |
◆ set_dim_2d() [2/2]
template<>
| void set_dim_2d |
( |
int & |
minv, |
|
|
int & |
maxv, |
|
|
int |
spread |
|
) |
| |
|
inline |