EGXPhys

Functions

template<typename T >
EGXMath::EllipsoidVolume (const T aSemiPrincipleAxisInm, const T bSemiPrincipleAxisInm, const T cSemiPrincipleAxisInm)
 Finds the volume, \(V_{ellipsoid}\), in meter cubed of a ellipsoid with three distinct semi-principle axes, \(a\), \(b\) and \(c\).

\[ V_{ellipsoid}=\frac{4}{3}\pi a b c \]

. More...

 

Detailed Description

Function Documentation

◆ EllipsoidVolume()

template<typename T >
T EGXMath::EllipsoidVolume ( const T  aSemiPrincipleAxisInm,
const T  bSemiPrincipleAxisInm,
const T  cSemiPrincipleAxisInm 
)

Finds the volume, \(V_{ellipsoid}\), in meter cubed of a ellipsoid with three distinct semi-principle axes, \(a\), \(b\) and \(c\).

\[ V_{ellipsoid}=\frac{4}{3}\pi a b c \]

.

See http://mathworld.wolfram.com/Ellipsoid.html and https://en.wikipedia.org/wiki/Ellipsoid

Parameters
aSemiPrincipleAxisInm\( a\ (m)\) Semi-principle axis of the ellipsoid that lays along the x-axis in meters.
bSemiPrincipleAxisInm\( b\ (m)\) Semi-principle axis of the ellipsoid that lays along the y-axis in meters.
cSemiPrincipleAxisInm\( c\ (m)\) Semi-principle axis of the ellipsoid that lays along the z-axis in meters.
Returns
\( V_{ellipsoid}\ (m^3)\) Volume of ellipsoid in meter cubed.
See also
EllipsoidSurfaceArea() for surface area of an ellipsoid.
EllipsoidInertia() for inertial tensor of an ellipsoid.
SphereVolume() for volume of a sphere.
SpheroidVolume() for volume of a spheroid.