#include <math.h>
Go to the source code of this file.
Namespaces | |
namespace | gtm |
Defines | |
#define | GTM_PI 3.14159265359 |
PI constant. | |
#define | GTM_PI2 6.28318530717 |
2 * PI constant. | |
#define | GTM_NE 2.71828182846 |
ln1 constant. | |
#define | GTM_MIN(a, b) ( ( ( a ) < ( b ) )? ( a ): ( b ) ) |
Minimum. | |
#define | GTM_MAX(a, b) ( ( ( a ) > ( b ) )? ( a ): ( b ) ) |
Maximum. | |
#define | GTM_POW2(a) ( ( a ) * ( a ) ) |
Typedefs | |
typedef unsigned char | uchar |
typedef unsigned short | ushort |
typedef unsigned int | uint |
Functions | |
double | gtm::round (double n) |
#define GTM_MAX | ( | a, | |||
b | ) | ( ( ( a ) > ( b ) )? ( a ): ( b ) ) |
Maximum.
Definition at line 39 of file mathdefs.h.
Referenced by wxImageBrowserWdg::GetLast(), vtkInteractorStyle3DView::SelectMarchibCubePoint(), vtk3DSurfaceWidget::SetInitialPoint(), and vtk3DSurfaceSTLWidget::SetInitialPoint().
#define GTM_MIN | ( | a, | |||
b | ) | ( ( ( a ) < ( b ) )? ( a ): ( b ) ) |
Minimum.
Definition at line 37 of file mathdefs.h.
Referenced by gtm::TVector< T >::Dot(), wxImageBrowserWdg::GetFirst(), gtm::TMatrix< T >::LoadIdentity(), gtm::TVector< T >::operator*(), gtm::TVector< T >::operator+(), gtm::TMatrix< T >::operator+(), gtm::TVector< T >::operator-(), gtm::TMatrix< T >::operator-(), and gtm::TVector< T >::operator=().
#define GTM_NE 2.71828182846 |
ln1 constant.
Definition at line 34 of file mathdefs.h.
#define GTM_PI 3.14159265359 |
PI constant.
Definition at line 30 of file mathdefs.h.
#define GTM_PI2 6.28318530717 |
2 * PI constant.
Definition at line 32 of file mathdefs.h.
#define GTM_POW2 | ( | a | ) | ( ( a ) * ( a ) ) |
Definition at line 40 of file mathdefs.h.
typedef unsigned char uchar |
Definition at line 43 of file mathdefs.h.
typedef unsigned int uint |
Definition at line 45 of file mathdefs.h.
typedef unsigned short ushort |
Definition at line 44 of file mathdefs.h.