Classes | Macros | Functions
vgl_ray_3d.h File Reference

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

#include <iosfwd>
#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.

Classes

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

Macros

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

Functions

template<class Type >
std::ostream & operator<< (std::ostream &s, const vgl_ray_3d< Type > &p)
 Write to stream. More...
 
template<class Type >
std::istream & operator>> (std::istream &is, vgl_ray_3d< Type > &p)
 Read from stream. More...
 
template<class Type >
double angle (vgl_ray_3d< Type > const &r0, vgl_ray_3d< Type > const &r1)
 public functions. More...
 

Detailed Description

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

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

Definition in file vgl_ray_3d.h.

Macro Definition Documentation

◆ VGL_RAY_3D_INSTANTIATE

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

Definition at line 106 of file vgl_ray_3d.h.

Function Documentation

◆ angle()

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.

◆ operator<<()

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

Write to stream.

Definition at line 30 of file vgl_ray_3d.hxx.

◆ operator>>()

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

Read from stream.

Definition at line 36 of file vgl_ray_3d.hxx.