Classes | Defines | Functions
core/vgl/vgl_ray_3d.h File Reference

A 3-d ray defined by an origin and a direction vector. More...

#include <vcl_iosfwd.h>
#include <vgl/vgl_vector_3d.h>
#include <vgl/vgl_point_3d.h>
#include <vgl/vgl_line_segment_3d.h>
#include <vgl/vgl_line_3d_2_points.h>

Go to the source code of this file.


class  vgl_ray_3d< Type >
 Represents a 3-d ray. More...


#define VGL_RAY_3D_INSTANTIATE(T)   extern "please include vgl/vgl_ray_3d.txx first"


template<class Type >
vcl_ostream & operator<< (vcl_ostream &s, const vgl_ray_3d< Type > &p)
 Write to stream.
template<class Type >
vcl_istream & operator>> (vcl_istream &is, vgl_ray_3d< Type > &p)
 Read from stream.
template<class Type >
double angle (vgl_ray_3d< Type > const &r0, vgl_ray_3d< Type > const &r1)
 public functions.

Detailed Description

A 3-d ray defined by an origin and a direction vector.

J.L. Mundy
   Initial version Sept. 17,  2010

Definition in file vgl_ray_3d.h.

Define Documentation

#define VGL_RAY_3D_INSTANTIATE (   T)    extern "please include vgl/vgl_ray_3d.txx first"

Definition at line 106 of file vgl_ray_3d.h.

Function Documentation

template<class Type >
double angle ( vgl_ray_3d< Type > const &  r0,
vgl_ray_3d< Type > const &  r1 

public functions.

angle between rays.

Definition at line 102 of file vgl_ray_3d.h.

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

Write to stream.

Definition at line 27 of file vgl_ray_3d.txx.

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

Read from stream.

Definition at line 33 of file vgl_ray_3d.txx.