Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitkNumericConstants.h
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 #ifndef mitkNumericConstants_h
14 #define mitkNumericConstants_h
15 
16 #include <MitkCoreExports.h>
17 
18 namespace mitk
19 {
21  typedef double ScalarType;
22 
24  MITKCORE_EXPORT extern const ScalarType eps;
25 
27  MITKCORE_EXPORT extern const ScalarType sqrteps;
28 
30  MITKCORE_EXPORT extern const double large;
31 }
32 
33 #endif
#define MITKCORE_EXPORT
Find image slices visible on a given plane.
MITKCORE_EXPORT const ScalarType eps
Epsilon value for floating point comparison (vnl_math::eps * 100).
MITKCORE_EXPORT const ScalarType sqrteps
Square root of epsilon (vnl_math::sqrteps).
MITKCORE_EXPORT const double large
A large value (std::numeric_limits<ScalarType>::max()).
double ScalarType
Scalar type used throughout MITK for geometric computations.