Macros | Functions
vgl_plane_3d.hxx File Reference
#include <cmath>
#include <iostream>
#include <string>
#include "vgl_plane_3d.h"
#include <vgl/vgl_homg_plane_3d.h>
#include <vgl/vgl_point_3d.h>
#include <vgl/vgl_point_2d.h>
#include <vgl/vgl_ray_3d.h>
#include <vgl/vgl_closest_point.h>
#include <vgl/vgl_distance.h>
#include <vgl/vgl_tolerance.h>
#include <cassert>

Go to the source code of this file.

Macros

#define vp(os, v, s)   os<<' '<< v << ' ' <<s;
 
#define VGL_PLANE_3D_INSTANTIATE(T)
 

Functions

template<class T >
std::ostream & operator<< (std::ostream &os, const vgl_plane_3d< T > &p)
 Write to stream. More...
 
template<class T >
std::istream & operator>> (std::istream &is, vgl_plane_3d< T > &p)
 Read in four plane parameters from stream. More...
 

Macro Definition Documentation

◆ VGL_PLANE_3D_INSTANTIATE

#define VGL_PLANE_3D_INSTANTIATE (   T)
Value:
template class vgl_plane_3d<T >; \
template std::ostream& operator<<(std::ostream&, vgl_plane_3d<T >const&); \
template std::istream& operator>>(std::istream&, vgl_plane_3d<T >&)
std::ostream & operator<<(std::ostream &s, vgl_orient_box_3d< Type > const &p)
Write box to stream.
Represents a Euclidean 3D plane.
Definition: vgl_fwd.h:23
std::istream & operator>>(std::istream &is, vgl_orient_box_3d< Type > &p)
Read box from stream.

Definition at line 257 of file vgl_plane_3d.hxx.

◆ vp

#define vp (   os,
  v,
 
)    os<<' '<< v << ' ' <<s;

Definition at line 131 of file vgl_plane_3d.hxx.

Function Documentation

◆ operator<<()

template<class T >
std::ostream& operator<< ( std::ostream &  os,
const vgl_plane_3d< T > &  p 
)

Write to stream.

Definition at line 134 of file vgl_plane_3d.hxx.

◆ operator>>()

template<class T >
std::istream& operator>> ( std::istream &  is,
vgl_plane_3d< T > &  p 
)

Read in four plane parameters from stream.

Either just reads four blank-separated numbers, or reads four comma-separated numbers, or reads four numbers in parenthesized form "(123, 321, -456, 777)" or reads a formatted line equation "123x+321y-456z+777=0"

Definition at line 143 of file vgl_plane_3d.hxx.