PCL
|
Fundamental numeric constants. More...
#include <Constants.h>
Static Public Member Functions | |
static constexpr T | _1_pi () |
static constexpr T | _1_sqrt2 () |
static constexpr T | _2_pi () |
static constexpr T | _2_sqrtpi () |
static constexpr T | _2pi () |
static constexpr T | _3pi2 () |
static constexpr T | _3pi4 () |
static constexpr T | _5pi4 () |
static constexpr T | _7pi4 () |
static constexpr T | deg () |
static constexpr T | e () |
static constexpr T | ln10 () |
static constexpr T | ln2 () |
static constexpr T | log102 () |
static constexpr T | log10e () |
static constexpr T | log210 () |
static constexpr T | log2e () |
static constexpr T | pi () |
static constexpr T | pi2 () |
static constexpr T | pi4 () |
static constexpr T | rad () |
static constexpr T | sqrt2 () |
static constexpr T | sqrt2_2 () |
Specialize this class to obtain constants of the appropriate floating-point types. For example: Const<double>::pi()
Definition at line 72 of file Constants.h.
|
inlinestaticconstexpr |
1/pi
Definition at line 119 of file Constants.h.
|
inlinestaticconstexpr |
1/sqrt( 2 ) = sqrt( 2 )/2
Definition at line 184 of file Constants.h.
|
inlinestaticconstexpr |
2/pi
Definition at line 124 of file Constants.h.
|
inlinestaticconstexpr |
2/sqrt( pi )
Definition at line 129 of file Constants.h.
|
inlinestaticconstexpr |
2*pi (360 degrees)
Definition at line 114 of file Constants.h.
|
inlinestaticconstexpr |
3*pi/2 (270 degrees)
Definition at line 104 of file Constants.h.
|
inlinestaticconstexpr |
3*pi/4 (135 degrees)
Definition at line 89 of file Constants.h.
|
inlinestaticconstexpr |
5*pi/4 (225 degrees)
Definition at line 99 of file Constants.h.
|
inlinestaticconstexpr |
7*pi/4 (315 degrees)
Definition at line 109 of file Constants.h.
|
inlinestaticconstexpr |
180/pi - the radians-to-degrees conversion factor.
Definition at line 134 of file Constants.h.
|
inlinestaticconstexpr |
The Euler constant e.
Definition at line 144 of file Constants.h.
|
inlinestaticconstexpr |
ln( 10 )
Definition at line 174 of file Constants.h.
|
inlinestaticconstexpr |
ln( 2 )
Definition at line 169 of file Constants.h.
|
inlinestaticconstexpr |
log10( 2 )
Definition at line 164 of file Constants.h.
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |
log2( 10 )
Definition at line 154 of file Constants.h.
|
inlinestaticconstexpr |
log2( e )
Definition at line 149 of file Constants.h.
|
inlinestaticconstexpr |
The pi constant (180 degrees)
Definition at line 94 of file Constants.h.
Referenced by pcl::AstrometricMetadata::ResolutionFromFocal().
|
inlinestaticconstexpr |
pi/2 (90 degrees)
Definition at line 84 of file Constants.h.
|
inlinestaticconstexpr |
pi/4 (45 degrees)
Definition at line 79 of file Constants.h.
|
inlinestaticconstexpr |
Pi/180 - the degrees-to-radians conversion factor.
Definition at line 139 of file Constants.h.
|
inlinestaticconstexpr |
sqrt( 2 )
Definition at line 179 of file Constants.h.
|
inlinestaticconstexpr |
sqrt( 2 )/2 = 1/sqrt( 2 )
Definition at line 189 of file Constants.h.