HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
limits.h
Go to the documentation of this file.
1 //
2 // Copyright 2016 Pixar
3 //
4 // Licensed under the terms set forth in the LICENSE.txt file available at
5 // https://openusd.org/license.
6 //
7 #ifndef PXR_BASE_GF_LIMITS_H
8 #define PXR_BASE_GF_LIMITS_H
9 
10 /// \file gf/limits.h
11 /// \ingroup group_gf_BasicMath
12 /// Defines useful mathematical limits.
13 
14 /// This constant is used to determine whether the length of a vector is too
15 /// small to handle accurately.
16 /// \ingroup group_gf_BasicMath
17 #define GF_MIN_VECTOR_LENGTH 1e-10
18 
19 /// This constant is used to determine when a set of basis vectors is close to
20 /// orthogonal.
21 /// \ingroup group_gf_LinearAlgebra
22 #define GF_MIN_ORTHO_TOLERANCE 1e-6
23 
24 #endif