Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
SbMath.h File Reference
#include <cmath>

Go to the source code of this file.

Macros

#define M_PI   3.1415926535897931160E0
 
#define M_PI_2   1.5707963267948965580E0
 
#define SbMinimum(a, b)
 
#define SbMaximum(a, b)
 
#define FCOS(x)
 
#define FSIN(x)
 
#define FACOS(x)
 
#define FASIN(x)
 
#define FTAN(x)
 
#define FATAN(x)
 
#define FSQRT(x)
 
#define FPOW(x, y)
 
#define FLOG(x)
 
#define FLOG10(x)
 
#define FFLOOR(x)
 
#define FFABS(x)
 
#define FCEIL(x)
 

Macro Definition Documentation

◆ FACOS

#define FACOS ( x)
Value:
((float)acos((double)(x)))

Definition at line 42 of file SbMath.h.

◆ FASIN

#define FASIN ( x)
Value:
((float)asin((double)(x)))

Definition at line 43 of file SbMath.h.

◆ FATAN

#define FATAN ( x)
Value:
((float)atan((double)(x)))

Definition at line 45 of file SbMath.h.

Referenced by SoTrd::generatePrimitives().

◆ FCEIL

#define FCEIL ( x)
Value:
((float)ceil((double)(x)))

Definition at line 52 of file SbMath.h.

◆ FCOS

#define FCOS ( x)
Value:
((float)cos((double)(x)))

Definition at line 40 of file SbMath.h.

Referenced by SoTrap::computeBBox(), SoTrap::generatePrimitives(), and SoTrd::generatePrimitives().

◆ FFABS

#define FFABS ( x)
Value:
((float)fabs((double)(x)))

Definition at line 51 of file SbMath.h.

Referenced by SoTrap::computeBBox().

◆ FFLOOR

#define FFLOOR ( x)
Value:
((float)floor((double)(x)))

Definition at line 50 of file SbMath.h.

◆ FLOG

#define FLOG ( x)
Value:
((float)log((double)(x)))

Definition at line 48 of file SbMath.h.

◆ FLOG10

#define FLOG10 ( x)
Value:
((float)log10((double)(x)))

Definition at line 49 of file SbMath.h.

◆ FPOW

#define FPOW ( x,
y )
Value:
((float)pow((double)(x),(double)(y)))

Definition at line 47 of file SbMath.h.

◆ FSIN

#define FSIN ( x)
Value:
((float)sin((double)(x)))

Definition at line 41 of file SbMath.h.

Referenced by SoTrap::computeBBox(), SoTrap::generatePrimitives(), and SoTrd::generatePrimitives().

◆ FSQRT

#define FSQRT ( x)
Value:
((float)sqrt((double)(x)))

Definition at line 46 of file SbMath.h.

◆ FTAN

#define FTAN ( x)
Value:
((float)tan((double)(x)))

Definition at line 44 of file SbMath.h.

Referenced by SoTrap::computeBBox(), and SoTrap::generatePrimitives().

◆ M_PI

◆ M_PI_2

#define M_PI_2   1.5707963267948965580E0

Definition at line 34 of file SbMath.h.

◆ SbMaximum

#define SbMaximum ( a,
b )
Value:
((a)>(b)?a:b)

Definition at line 38 of file SbMath.h.

Referenced by Geant4_SoPolyhedron::computeBBox().

◆ SbMinimum

#define SbMinimum ( a,
b )
Value:
((a)<(b)?a:b)

Definition at line 37 of file SbMath.h.

Referenced by Geant4_SoPolyhedron::computeBBox().