Defines | Functions
contrib/brl/bbas/bvgl/bvgl_volume_of_intersection.h File Reference

Set of intersection functions. More...

#include <vgl/vgl_fwd.h>
#include <vcl_vector.h>
#include <vgl/vgl_sphere_3d.h>

Go to the source code of this file.

Defines

#define BVGL_VOLUME_OF_INTERSECTION(T)   extern "please include bbas/bvgl/bvgl_volume_of_intersection.txx first"

Functions

template<typename T >
bvgl_volume_of_intersection (vgl_sphere_3d< T > const &A, vgl_sphere_3d< T > const &B)
 calculate the volume of intersection between these two spheres.

Detailed Description

Set of intersection functions.

Author:
Jan 25, 2007 Gamze Tunali

For intersections of "homogeneous coordinates" objects like vgl_homg_line_2d<T>, see the static methods of vgl/algo/vgl_homg_operators_2d<T> and _3d.

    Modifications
     01 Mar 2007 - Gamze Tunali - split up into vgl/algo and vgl parts
     21 Jul 2009 - Peter Vanroose - added box intersection (2d and 3d)
     21 Jul 2009 - Peter Vanroose - added inlined point intersection functions
   

Definition in file bvgl_volume_of_intersection.h.


Define Documentation

#define BVGL_VOLUME_OF_INTERSECTION (   T)    extern "please include bbas/bvgl/bvgl_volume_of_intersection.txx first"

Definition at line 26 of file bvgl_volume_of_intersection.h.


Function Documentation

template<typename T >
T bvgl_volume_of_intersection ( vgl_sphere_3d< T > const &  A,
vgl_sphere_3d< T > const &  B 
)

calculate the volume of intersection between these two spheres.

Definition at line 25 of file bvgl_volume_of_intersection.txx.