Antkeeper  0.0.1
Functions
geom::solid_angle Namespace Reference

Solid angle functions. More...

Functions

template<class T >
cone (T theta)
 Calculates the solid angle of a cone. More...
 

Detailed Description

Solid angle functions.

Function Documentation

◆ cone()

template<class T >
T geom::solid_angle::cone ( theta)

Calculates the solid angle of a cone.

Parameters
thetaApex angle of the cone, in radians.
Returns
Solid angle of the cone, in steradians.

Definition at line 39 of file solid-angle.hpp.