ViennaGrid for Python
Main Page
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
src
algorithms
spanned_volume.hpp
Go to the documentation of this file.
1
10
#ifndef ALGORITHMS_SPANNED_VOLUME_HPP
11
#define ALGORITHMS_SPANNED_VOLUME_HPP
12
13
#include "../points/cartesian.hpp"
14
16
// Length of a line //
18
24
double
LinearCartesian1D_spanned_volume(
PointCartesian1D
p1,
PointCartesian1D
p2);
25
31
double
LinearCartesian2D_spanned_volume(
PointCartesian2D
p1,
PointCartesian2D
p2);
32
38
double
LinearCartesian3D_spanned_volume(
PointCartesian3D
p1,
PointCartesian3D
p2);
39
41
// Surface of a triangle //
43
49
double
TriangularCartesian2D_spanned_volume(
PointCartesian2D
p1,
PointCartesian2D
p2,
PointCartesian2D
p3);
50
56
double
TriangularCartesian3D_spanned_volume(
PointCartesian3D
p1,
PointCartesian3D
p2,
PointCartesian3D
p3);
57
59
// Volume of a tetrahedron //
61
67
double
TetrahedralCartesian3D_spanned_volume(
PointCartesian3D
p1,
PointCartesian3D
p2,
PointCartesian3D
p3,
PointCartesian3D
p4);
68
69
#endif
/* end of include guard: ALGORITHMS_SPANNED_VOLUME_HPP */
Generated on Sat Sep 28 2013 10:54:59 for ViennaGrid for Python by
1.8.1.2