#include "bvgl_volume_of_intersection.h"#include <vcl_limits.h>#include <vcl_cassert.h>#include <vcl_cmath.h>#include <vcl_algorithm.h>#include <vnl/vnl_math.h>#include <vgl/vgl_sphere_3d.h>#include <vcl_vector.h>Go to the source code of this file.
Defines | |
| #define | bvgl_volume_of_intersection_txx_ |
| #define | BVGL_VOLUME_OF_INTERSECTION_INSTANTIATE(T) template T bvgl_volume_of_intersection(vgl_sphere_3d<T > const& A, vgl_sphere_3d<T > const& B) |
Functions | |
| bool | bvgl_near_zero (double x) |
| bool | bvgl_near_eq (double x, double y) |
| 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 in file bvgl_volume_of_intersection.txx.
| #define BVGL_VOLUME_OF_INTERSECTION_INSTANTIATE | ( | T | ) | template T bvgl_volume_of_intersection(vgl_sphere_3d<T > const& A, vgl_sphere_3d<T > const& B) |
Definition at line 65 of file bvgl_volume_of_intersection.txx.
| #define bvgl_volume_of_intersection_txx_ |
Definition at line 3 of file bvgl_volume_of_intersection.txx.
| bool bvgl_near_eq | ( | double | x, |
| double | y | ||
| ) | [inline] |
Definition at line 21 of file bvgl_volume_of_intersection.txx.
| bool bvgl_near_zero | ( | double | x | ) | [inline] |
Definition at line 20 of file bvgl_volume_of_intersection.txx.
| 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.
1.7.5.1