IDS peak IPL v1.18.0
Loading...
Searching...
No Matches
peak_common_simple_types.h
Go to the documentation of this file.
1
5
6#pragma once
7
8#ifdef __cplusplus
9
10# include <cstddef>
11# include <cstdint>
12extern "C" {
13#else
14# include <stddef.h>
15# include <stdint.h>
16#endif
17
24{
26 int32_t minimum;
27
29 int32_t maximum;
31
38{
40 uint32_t minimum;
41
43 uint32_t maximum;
45
52{
54 float minimum;
55
57 float maximum;
59
65typedef struct peak_common_range
66{
68 int32_t minimum;
69
71 int32_t maximum;
72
74 int32_t increment;
76
82typedef struct peak_common_range_u
83{
85 uint32_t minimum;
86
88 uint32_t maximum;
89
91 uint32_t increment;
93
99typedef struct peak_common_range_f
100{
102 float minimum;
103
105 float maximum;
106
110
116typedef struct peak_common_size
117{
119 uint32_t width;
120
122 uint32_t height;
124
130typedef struct peak_common_size_f
131{
133 float width;
134
136 float height;
138
147typedef struct peak_common_point
148{
150 int32_t x;
151
153 int32_t y;
155
165{
167 uint32_t x;
168
170 uint32_t y;
172
182{
184 float x;
185
187 float y;
189
196
206{
208 int32_t x;
209
211 int32_t y;
212
214 uint32_t width;
215
217 uint32_t height;
219
229{
231 uint32_t x;
232
234 uint32_t y;
235
237 uint32_t width;
238
240 uint32_t height;
242
252{
254 float x;
255
257 float y;
258
260 float width;
261
263 float height;
265
274{
275 uint32_t major;
276 uint32_t minor;
277 uint32_t patch;
278 uint32_t _;
280
281
282#ifdef __cplusplus
283} // extern "C"
284#endif // __cplusplus
peak_common_point_f peak_common_vector
Represents a 2D vector using floating-point precision.
Definition peak_common_simple_types.h:195
Represents a floating-point interval with inclusive minimum and maximum bounds.
Definition peak_common_simple_types.h:52
float minimum
Lower bound of the interval.
Definition peak_common_simple_types.h:54
float maximum
Upper bound of the interval.
Definition peak_common_simple_types.h:57
Represents an unsigned integer interval with inclusive minimum and maximum bounds.
Definition peak_common_simple_types.h:38
uint32_t minimum
Lower bound of the interval.
Definition peak_common_simple_types.h:40
uint32_t maximum
Upper bound of the interval.
Definition peak_common_simple_types.h:43
Represents an integer interval with inclusive minimum and maximum bounds.
Definition peak_common_simple_types.h:24
int32_t maximum
Upper bound of the interval.
Definition peak_common_simple_types.h:29
int32_t minimum
Lower bound of the interval.
Definition peak_common_simple_types.h:26
Represents a 2D point with floating-point coordinates.
Definition peak_common_simple_types.h:182
float x
X-coordinate of the point.
Definition peak_common_simple_types.h:184
float y
Y-coordinate of the point.
Definition peak_common_simple_types.h:187
Represents a 2D point with unsigned integer coordinates.
Definition peak_common_simple_types.h:165
uint32_t x
X-coordinate of the point.
Definition peak_common_simple_types.h:167
uint32_t y
Y-coordinate of the point.
Definition peak_common_simple_types.h:170
Represents a 2D point with signed integer coordinates.
Definition peak_common_simple_types.h:148
int32_t x
X-coordinate of the point.
Definition peak_common_simple_types.h:150
int32_t y
Y-coordinate of the point.
Definition peak_common_simple_types.h:153
Represents a floating-point range with inclusive minimum and maximum bounds and an increment step.
Definition peak_common_simple_types.h:100
float increment
Step size or increment of the range.
Definition peak_common_simple_types.h:108
float minimum
Lower bound of the range.
Definition peak_common_simple_types.h:102
float maximum
Upper bound of the range.
Definition peak_common_simple_types.h:105
Represents an unsigned integer range with inclusive minimum and maximum bounds and an increment step.
Definition peak_common_simple_types.h:83
uint32_t maximum
Upper bound of the range.
Definition peak_common_simple_types.h:88
uint32_t minimum
Lower bound of the range.
Definition peak_common_simple_types.h:85
uint32_t increment
Step size or increment of the range.
Definition peak_common_simple_types.h:91
Represents an integer range with inclusive minimum and maximum bounds and an increment step.
Definition peak_common_simple_types.h:66
int32_t maximum
Upper bound of the range.
Definition peak_common_simple_types.h:71
int32_t minimum
Lower bound of the range.
Definition peak_common_simple_types.h:68
int32_t increment
Step size or increment of the range.
Definition peak_common_simple_types.h:74
Represents a rectangle defined by a floating-point position and size.
Definition peak_common_simple_types.h:252
float x
X-coordinate of the rectangle's origin.
Definition peak_common_simple_types.h:254
float width
Width of the rectangle.
Definition peak_common_simple_types.h:260
float y
Y-coordinate of the rectangle's origin.
Definition peak_common_simple_types.h:257
float height
Height of the rectangle.
Definition peak_common_simple_types.h:263
Represents a rectangle defined by an unsigned integer position and unsigned integer size.
Definition peak_common_simple_types.h:229
uint32_t width
Width of the rectangle.
Definition peak_common_simple_types.h:237
uint32_t y
Y-coordinate of the rectangle's origin.
Definition peak_common_simple_types.h:234
uint32_t x
X-coordinate of the rectangle's origin.
Definition peak_common_simple_types.h:231
uint32_t height
Height of the rectangle.
Definition peak_common_simple_types.h:240
Represents a rectangle defined by a position and unsigned integer size.
Definition peak_common_simple_types.h:206
int32_t y
Y-coordinate of the rectangle's origin.
Definition peak_common_simple_types.h:211
uint32_t height
Height of the rectangle.
Definition peak_common_simple_types.h:217
uint32_t width
Width of the rectangle.
Definition peak_common_simple_types.h:214
int32_t x
X-coordinate of the rectangle's origin.
Definition peak_common_simple_types.h:208
Represents a 2D size with floating-point dimensions.
Definition peak_common_simple_types.h:131
float height
Height component of the size.
Definition peak_common_simple_types.h:136
float width
Width component of the size.
Definition peak_common_simple_types.h:133
Represents a 2D size with unsigned integer dimensions.
Definition peak_common_simple_types.h:117
uint32_t width
Width component of the size.
Definition peak_common_simple_types.h:119
uint32_t height
Height component of the size.
Definition peak_common_simple_types.h:122
Represents a version number.
Definition peak_common_simple_types.h:274
uint32_t minor
Definition peak_common_simple_types.h:276
uint32_t patch
Definition peak_common_simple_types.h:277
uint32_t major
Definition peak_common_simple_types.h:275
uint32_t _
Definition peak_common_simple_types.h:278