AGX Dynamics
2.38.0.2
Loading...
Searching...
No Matches
Integer.h
Go to the documentation of this file.
1
/*
2
Copyright 2007-2024. Algoryx Simulation AB.
3
4
All AGX source code, intellectual property, documentation, sample code,
5
tutorials, scene files and technical white papers, are copyrighted, proprietary
6
and confidential material of Algoryx Simulation AB. You may not download, read,
7
store, distribute, publish, copy or otherwise disseminate, use or expose this
8
material unless having a written signed agreement with Algoryx Simulation AB, or having been
9
advised so by Algoryx Simulation AB for a time limited evaluation, or having purchased a
10
valid commercial license from Algoryx Simulation AB.
11
12
Algoryx Simulation AB disclaims all responsibilities for loss or damage caused
13
from using this software, unless otherwise stated in written agreements with
14
Algoryx Simulation AB.
15
*/
16
17
#pragma once
18
19
#include <agx/config.h>
20
#include <
agx/stdint.h
>
21
#include <stdlib.h>
22
#include <limits>
23
24
namespace
agx
25
{
26
27
typedef
uint64_t
UInt
;
28
typedef
int64_t
Int
;
29
30
typedef
uint8_t
UInt8
;
31
typedef
uint16_t
UInt16
;
32
typedef
uint32_t
UInt32
;
33
typedef
uint64_t
UInt64
;
34
35
typedef
int8_t
Int8
;
36
typedef
int16_t
Int16
;
37
typedef
int32_t
Int32
;
38
typedef
int64_t
Int64
;
39
40
typedef
bool
Bool
;
41
42
typedef
size_t
Size
;
43
44
typedef
UInt32
Index
;
45
46
// Use UInt types for non-default index types
47
// typedef UInt8 Index8;
48
// typedef UInt16 Index16;
49
// typedef UInt32 Index32;
50
// typedef UInt64 Index64;
51
52
#ifdef max
53
#undef max
54
#endif
55
56
#ifdef min
57
#undef min
58
#endif
59
60
// Name clash with global macro definitions
61
const
UInt
UIntMax
= std::numeric_limits<UInt>::max();
62
const
UInt8
UInt8Max
= std::numeric_limits<UInt8>::max();
63
const
UInt16
UInt16Max
= std::numeric_limits<UInt16>::max();
64
const
UInt32
UInt32Max
= std::numeric_limits<UInt32>::max();
65
const
UInt64
UInt64Max
= std::numeric_limits<UInt64>::max();
66
67
const
Int
IntMax
= std::numeric_limits<Int>::max();
68
const
Int8
Int8Max
= std::numeric_limits<Int8>::max();
69
const
Int16
Int16Max
= std::numeric_limits<Int16>::max();
70
const
Int32
Int32Max
= std::numeric_limits<Int32>::max();
71
const
Int64
Int64Max
= std::numeric_limits<Int64>::max();
72
73
const
Size
SizeMax
= std::numeric_limits<Size>::max();
74
}
agx
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
Definition
AddedMassInteraction.h:23
agx::UInt32Max
const UInt32 UInt32Max
Definition
Integer.h:64
agx::UInt16
uint16_t UInt16
Definition
Integer.h:31
agx::Int32
int32_t Int32
Definition
Integer.h:37
agx::UIntMax
const UInt UIntMax
Definition
Integer.h:61
agx::IntMax
const Int IntMax
Definition
Integer.h:67
agx::UInt32
uint32_t UInt32
Definition
Integer.h:32
agx::Int8Max
const Int8 Int8Max
Definition
Integer.h:68
agx::Bool
bool Bool
Definition
Integer.h:40
agx::UInt64
uint64_t UInt64
Definition
Integer.h:33
agx::Int64
int64_t Int64
Definition
Integer.h:38
agx::SizeMax
const Size SizeMax
Definition
Integer.h:73
agx::UInt8Max
const UInt8 UInt8Max
Definition
Integer.h:62
agx::Size
size_t Size
Definition
Integer.h:42
agx::UInt
uint64_t UInt
Definition
Integer.h:27
agx::Int16Max
const Int16 Int16Max
Definition
Integer.h:69
agx::UInt8
uint8_t UInt8
Definition
Integer.h:30
agx::UInt16Max
const UInt16 UInt16Max
Definition
Integer.h:63
agx::Int8
int8_t Int8
Definition
Integer.h:35
agx::UInt64Max
const UInt64 UInt64Max
Definition
Integer.h:65
agx::Int16
int16_t Int16
Definition
Integer.h:36
agx::Int64Max
const Int64 Int64Max
Definition
Integer.h:71
agx::Int
int64_t Int
Definition
Integer.h:28
agx::Int32Max
const Int32 Int32Max
Definition
Integer.h:70
agx::Index
UInt32 Index
Definition
Integer.h:44
stdint.h
include
agx
Integer.h
Generated on Sun Sep 1 2024 11:24:35 for AGX Dynamics by
1.9.8