MeshLib C Docs
Loading...
Searching...
No Matches
MRBox.h
Go to the documentation of this file.
1#pragma once
2
3#include <MRCMesh/MRVector2.h>
4#include <MRCMesh/MRVector3.h>
5#include <MRCMisc/common.h>
6#include <MRCMisc/exports.h>
7
8#include <stdbool.h>
9#include <stddef.h>
10
11#ifdef __cplusplus
12extern "C" {
13#endif
14
15typedef struct MR_NoInit MR_NoInit; // Defined in `#include <MRCMesh/MRMeshFwd.h>`.
16typedef struct MR_std_istream MR_std_istream; // Defined in `#include <MRCMisc/iostream.h>`.
17typedef struct MR_std_ostream MR_std_ostream; // Defined in `#include <MRCMisc/iostream.h>`.
18
19
22typedef struct MR_Box1i
23{
24 int min;
25 int max;
27
35
42typedef struct MR_Box1f
43{
44 float min;
45 float max;
47
50typedef struct MR_Box1d
51{
52 double min;
53 double max;
55
63
71
79
87
95
103
111
119
127
131
134
139
145MRC_API MR_Box1i MR_Box1i_Construct_2(const int *min, const int *max);
146
151
156MRC_API const int *MR_Box1i_index(const MR_Box1i *_this, int e);
157
162
166MRC_API MR_Box1i MR_Box1i_fromMinAndSize(const int *min, const int *size);
167
171MRC_API bool MR_Box1i_valid(const MR_Box1i *_this);
172
177
184MRC_API int MR_Box1i_corner(const MR_Box1i *_this, const bool *c);
185
191
197
202
207
212
217MRC_API void MR_Box1i_include_int(MR_Box1i *_this, const int *pt);
218
224
229MRC_API bool MR_Box1i_contains_int(const MR_Box1i *_this, const int *pt);
230
235MRC_API bool MR_Box1i_contains_MR_Box1i(const MR_Box1i *_this, const MR_Box1i *otherbox);
236
241MRC_API int MR_Box1i_getBoxClosestPointTo(const MR_Box1i *_this, const int *pt);
242
247MRC_API bool MR_Box1i_intersects(const MR_Box1i *_this, const MR_Box1i *b);
248
254
260
267
273MRC_API int MR_Box1i_getDistanceSq_int(const MR_Box1i *_this, const int *pt);
274
280MRC_API int MR_Box1i_getProjection(const MR_Box1i *_this, const int *pt);
281
286MRC_API MR_Box1i MR_Box1i_expanded(const MR_Box1i *_this, const int *expansion);
287
292
296MRC_API bool MR_equal_MR_Box1i(const MR_Box1i *_this, const MR_Box1i *a);
297
301MRC_API bool MR_not_equal_MR_Box1i(const MR_Box1i *_this, const MR_Box1i *a);
302
308
314
318
321
326
333
338
343MRC_API const MR_int64_t *MR_Box1i64_index(const MR_Box1i64 *_this, int e);
344
349
354
359
364
371MRC_API MR_int64_t MR_Box1i64_corner(const MR_Box1i64 *_this, const bool *c);
372
378
384
389
394
399
405
411
417
423
429
435
441
447
454
461
468
474
479
484
489
495
501
505
508
513
519MRC_API MR_Box1f MR_Box1f_Construct_2(const float *min, const float *max);
520
525
530MRC_API const float *MR_Box1f_index(const MR_Box1f *_this, int e);
531
535MRC_API float *MR_Box1f_index_mut(MR_Box1f *_this, int e);
536
540MRC_API MR_Box1f MR_Box1f_fromMinAndSize(const float *min, const float *size);
541
545MRC_API bool MR_Box1f_valid(const MR_Box1f *_this);
546
550MRC_API float MR_Box1f_center(const MR_Box1f *_this);
551
558MRC_API float MR_Box1f_corner(const MR_Box1f *_this, const bool *c);
559
565
571
575MRC_API float MR_Box1f_size(const MR_Box1f *_this);
576
581
585MRC_API float MR_Box1f_volume(const MR_Box1f *_this);
586
591MRC_API void MR_Box1f_include_float(MR_Box1f *_this, const float *pt);
592
598
603MRC_API bool MR_Box1f_contains_float(const MR_Box1f *_this, const float *pt);
604
609MRC_API bool MR_Box1f_contains_MR_Box1f(const MR_Box1f *_this, const MR_Box1f *otherbox);
610
615MRC_API float MR_Box1f_getBoxClosestPointTo(const MR_Box1f *_this, const float *pt);
616
621MRC_API bool MR_Box1f_intersects(const MR_Box1f *_this, const MR_Box1f *b);
622
628
634
641
647MRC_API float MR_Box1f_getDistanceSq_float(const MR_Box1f *_this, const float *pt);
648
654MRC_API float MR_Box1f_getProjection(const MR_Box1f *_this, const float *pt);
655
660MRC_API MR_Box1f MR_Box1f_expanded(const MR_Box1f *_this, const float *expansion);
661
666
670MRC_API bool MR_equal_MR_Box1f(const MR_Box1f *_this, const MR_Box1f *a);
671
675MRC_API bool MR_not_equal_MR_Box1f(const MR_Box1f *_this, const MR_Box1f *a);
676
682
688
692
695
700
706MRC_API MR_Box1d MR_Box1d_Construct_2(const double *min, const double *max);
707
712
717MRC_API const double *MR_Box1d_index(const MR_Box1d *_this, int e);
718
722MRC_API double *MR_Box1d_index_mut(MR_Box1d *_this, int e);
723
727MRC_API MR_Box1d MR_Box1d_fromMinAndSize(const double *min, const double *size);
728
732MRC_API bool MR_Box1d_valid(const MR_Box1d *_this);
733
737MRC_API double MR_Box1d_center(const MR_Box1d *_this);
738
745MRC_API double MR_Box1d_corner(const MR_Box1d *_this, const bool *c);
746
751MRC_API bool MR_Box1d_getMinBoxCorner(const double *n);
752
757MRC_API bool MR_Box1d_getMaxBoxCorner(const double *n);
758
762MRC_API double MR_Box1d_size(const MR_Box1d *_this);
763
767MRC_API double MR_Box1d_diagonal(const MR_Box1d *_this);
768
772MRC_API double MR_Box1d_volume(const MR_Box1d *_this);
773
778MRC_API void MR_Box1d_include_double(MR_Box1d *_this, const double *pt);
779
785
790MRC_API bool MR_Box1d_contains_double(const MR_Box1d *_this, const double *pt);
791
796MRC_API bool MR_Box1d_contains_MR_Box1d(const MR_Box1d *_this, const MR_Box1d *otherbox);
797
802MRC_API double MR_Box1d_getBoxClosestPointTo(const MR_Box1d *_this, const double *pt);
803
808MRC_API bool MR_Box1d_intersects(const MR_Box1d *_this, const MR_Box1d *b);
809
815
821
828
834MRC_API double MR_Box1d_getDistanceSq_double(const MR_Box1d *_this, const double *pt);
835
841MRC_API double MR_Box1d_getProjection(const MR_Box1d *_this, const double *pt);
842
847MRC_API MR_Box1d MR_Box1d_expanded(const MR_Box1d *_this, const double *expansion);
848
853
857MRC_API bool MR_equal_MR_Box1d(const MR_Box1d *_this, const MR_Box1d *a);
858
862MRC_API bool MR_not_equal_MR_Box1d(const MR_Box1d *_this, const MR_Box1d *a);
863
869
875
879
882
887
894
895// If the compiler supports `requires`, use that instead of `std::enable_if` here.
896// Not (only) because it looks cooler, but because of a bug in our binding generator that makes it choke on it: https://github.com/MeshInspector/mrbind/issues/19
901
906MRC_API const MR_Vector2i *MR_Box2i_index(const MR_Box2i *_this, int e);
907
912
917
921MRC_API bool MR_Box2i_valid(const MR_Box2i *_this);
922
927
935
941
947
952
957
962
968
974
980
985MRC_API bool MR_Box2i_contains_MR_Box2i(const MR_Box2i *_this, const MR_Box2i *otherbox);
986
992
997MRC_API bool MR_Box2i_intersects(const MR_Box2i *_this, const MR_Box2i *b);
998
1004
1010
1017
1024
1031
1037
1042
1046MRC_API bool MR_equal_MR_Box2i(const MR_Box2i *_this, const MR_Box2i *a);
1047
1051MRC_API bool MR_not_equal_MR_Box2i(const MR_Box2i *_this, const MR_Box2i *a);
1052
1058
1064
1068
1071
1076
1083
1084// If the compiler supports `requires`, use that instead of `std::enable_if` here.
1085// Not (only) because it looks cooler, but because of a bug in our binding generator that makes it choke on it: https://github.com/MeshInspector/mrbind/issues/19
1090
1096
1101
1106
1111
1116
1124
1130
1136
1141
1146
1151
1157
1163
1169
1175
1181
1187
1193
1199
1206
1213
1220
1226
1231
1236
1241
1247
1253
1257
1260
1265
1272
1273// If the compiler supports `requires`, use that instead of `std::enable_if` here.
1274// Not (only) because it looks cooler, but because of a bug in our binding generator that makes it choke on it: https://github.com/MeshInspector/mrbind/issues/19
1279
1284MRC_API const MR_Vector2f *MR_Box2f_index(const MR_Box2f *_this, int e);
1285
1290
1295
1300
1305
1313
1319
1325
1330
1335
1340
1346
1352
1358
1363MRC_API bool MR_Box2f_contains_MR_Box2f(const MR_Box2f *_this, const MR_Box2f *otherbox);
1364
1370
1375MRC_API bool MR_Box2f_intersects(const MR_Box2f *_this, const MR_Box2f *b);
1376
1382
1388
1395
1402
1409
1415
1420
1424MRC_API bool MR_equal_MR_Box2f(const MR_Box2f *_this, const MR_Box2f *a);
1425
1429MRC_API bool MR_not_equal_MR_Box2f(const MR_Box2f *_this, const MR_Box2f *a);
1430
1436
1442
1446
1449
1454
1461
1462// If the compiler supports `requires`, use that instead of `std::enable_if` here.
1463// Not (only) because it looks cooler, but because of a bug in our binding generator that makes it choke on it: https://github.com/MeshInspector/mrbind/issues/19
1468
1473MRC_API const MR_Vector2d *MR_Box2d_index(const MR_Box2d *_this, int e);
1474
1479
1484
1489
1494
1502
1508
1514
1519
1524
1528MRC_API double MR_Box2d_volume(const MR_Box2d *_this);
1529
1535
1541
1547
1552MRC_API bool MR_Box2d_contains_MR_Box2d(const MR_Box2d *_this, const MR_Box2d *otherbox);
1553
1559
1564MRC_API bool MR_Box2d_intersects(const MR_Box2d *_this, const MR_Box2d *b);
1565
1571
1577
1584
1591
1598
1604
1609
1613MRC_API bool MR_equal_MR_Box2d(const MR_Box2d *_this, const MR_Box2d *a);
1614
1618MRC_API bool MR_not_equal_MR_Box2d(const MR_Box2d *_this, const MR_Box2d *a);
1619
1625
1631
1635
1638
1643
1650
1651// If the compiler supports `requires`, use that instead of `std::enable_if` here.
1652// Not (only) because it looks cooler, but because of a bug in our binding generator that makes it choke on it: https://github.com/MeshInspector/mrbind/issues/19
1657
1662MRC_API const MR_Vector3i *MR_Box3i_index(const MR_Box3i *_this, int e);
1663
1668
1673
1678
1683
1691
1697
1703
1708
1713
1718
1724
1730
1736
1741MRC_API bool MR_Box3i_contains_MR_Box3i(const MR_Box3i *_this, const MR_Box3i *otherbox);
1742
1748
1753MRC_API bool MR_Box3i_intersects(const MR_Box3i *_this, const MR_Box3i *b);
1754
1760
1766
1773
1780
1787
1793
1798
1802MRC_API bool MR_equal_MR_Box3i(const MR_Box3i *_this, const MR_Box3i *a);
1803
1807MRC_API bool MR_not_equal_MR_Box3i(const MR_Box3i *_this, const MR_Box3i *a);
1808
1814
1820
1824
1827
1832
1839
1840// If the compiler supports `requires`, use that instead of `std::enable_if` here.
1841// Not (only) because it looks cooler, but because of a bug in our binding generator that makes it choke on it: https://github.com/MeshInspector/mrbind/issues/19
1846
1852
1857
1862
1867
1872
1880
1886
1892
1897
1902
1907
1913
1919
1925
1931
1937
1943
1949
1955
1962
1969
1976
1982
1987
1992
1997
2003
2009
2013
2016
2021
2028
2029// If the compiler supports `requires`, use that instead of `std::enable_if` here.
2030// Not (only) because it looks cooler, but because of a bug in our binding generator that makes it choke on it: https://github.com/MeshInspector/mrbind/issues/19
2035
2040MRC_API const MR_Vector3f *MR_Box3f_index(const MR_Box3f *_this, int e);
2041
2046
2051
2056
2061
2069
2075
2081
2086
2091
2096
2102
2108
2114
2119MRC_API bool MR_Box3f_contains_MR_Box3f(const MR_Box3f *_this, const MR_Box3f *otherbox);
2120
2126
2131MRC_API bool MR_Box3f_intersects(const MR_Box3f *_this, const MR_Box3f *b);
2132
2138
2144
2151
2158
2165
2171
2176
2180MRC_API bool MR_equal_MR_Box3f(const MR_Box3f *_this, const MR_Box3f *a);
2181
2185MRC_API bool MR_not_equal_MR_Box3f(const MR_Box3f *_this, const MR_Box3f *a);
2186
2192
2198
2202
2205
2210
2217
2218// If the compiler supports `requires`, use that instead of `std::enable_if` here.
2219// Not (only) because it looks cooler, but because of a bug in our binding generator that makes it choke on it: https://github.com/MeshInspector/mrbind/issues/19
2224
2229MRC_API const MR_Vector3d *MR_Box3d_index(const MR_Box3d *_this, int e);
2230
2235
2240
2245
2250
2258
2264
2270
2275
2280
2284MRC_API double MR_Box3d_volume(const MR_Box3d *_this);
2285
2291
2297
2303
2308MRC_API bool MR_Box3d_contains_MR_Box3d(const MR_Box3d *_this, const MR_Box3d *otherbox);
2309
2315
2320MRC_API bool MR_Box3d_intersects(const MR_Box3d *_this, const MR_Box3d *b);
2321
2327
2333
2340
2347
2354
2360
2365
2369MRC_API bool MR_equal_MR_Box3d(const MR_Box3d *_this, const MR_Box3d *a);
2370
2374MRC_API bool MR_not_equal_MR_Box3d(const MR_Box3d *_this, const MR_Box3d *a);
2375
2381
2387
2391
2397
2403
2409
2415
2421
2427
2431
2436
2440
2444
2450
2457MRC_API MR_Box_unsigned_short *MR_Box_unsigned_short_Construct_2(const unsigned short *min, const unsigned short *max);
2458
2464
2467
2470
2478
2483MRC_API const unsigned short *MR_Box_unsigned_short_index(const MR_Box_unsigned_short *_this, int e);
2484
2489
2494MRC_API MR_Box_unsigned_short *MR_Box_unsigned_short_fromMinAndSize(const unsigned short *min, const unsigned short *size);
2495
2500
2505
2512MRC_API unsigned short MR_Box_unsigned_short_corner(const MR_Box_unsigned_short *_this, const bool *c);
2513
2519
2525
2530
2535
2540
2546
2552
2558
2564
2569MRC_API unsigned short MR_Box_unsigned_short_getBoxClosestPointTo(const MR_Box_unsigned_short *_this, const unsigned short *pt);
2570
2576
2583
2589
2596
2602MRC_API unsigned short MR_Box_unsigned_short_getDistanceSq_unsigned_short(const MR_Box_unsigned_short *_this, const unsigned short *pt);
2603
2609MRC_API unsigned short MR_Box_unsigned_short_getProjection(const MR_Box_unsigned_short *_this, const unsigned short *pt);
2610
2617
2623
2628
2633
2639
2645
2646#ifdef __cplusplus
2647} // extern "C"
2648#endif
MRC_API bool MR_Box3d_contains_MR_Vector3d(const MR_Box3d *_this, const MR_Vector3d *pt)
MRC_API bool MR_Box2i64_contains_MR_Box2i64(const MR_Box2i64 *_this, const MR_Box2i64 *otherbox)
MRC_API MR_Box1f MR_Box1f_Construct_1(const MR_NoInit *_1)
MRC_API MR_Box_unsigned_short * MR_Box_unsigned_short_expanded(const MR_Box_unsigned_short *_this, const unsigned short *expansion)
MRC_API MR_Vector3f MR_Box3f_size(const MR_Box3f *_this)
MRC_API const int * MR_Box3d_Get_elements(void)
MRC_API bool MR_not_equal_MR_Box2i(const MR_Box2i *_this, const MR_Box2i *a)
MRC_API MR_Vector2i64 MR_Box2i64_getBoxClosestPointTo(const MR_Box2i64 *_this, const MR_Vector2i64 *pt)
MRC_API float MR_Box1f_getDistanceSq_float(const MR_Box1f *_this, const float *pt)
MRC_API void MR_Box_unsigned_short_DestroyArray(const MR_Box_unsigned_short *_this)
Destroys a heap-allocated array of MR_Box_unsigned_short. Does nothing if the pointer is null.
MRC_API unsigned short MR_Box_unsigned_short_getProjection(const MR_Box_unsigned_short *_this, const unsigned short *pt)
MRC_API void MR_Box1f_include_float(MR_Box1f *_this, const float *pt)
MRC_API MR_int64_t MR_Box2i64_getDistanceSq_MR_Box2i64(const MR_Box2i64 *_this, const MR_Box2i64 *b)
MRC_API float MR_Box2f_getDistanceSq_MR_Vector2f(const MR_Box2f *_this, const MR_Vector2f *pt)
MRC_API bool MR_equal_MR_Box1d(const MR_Box1d *_this, const MR_Box1d *a)
MRC_API int MR_Box3i_volume(const MR_Box3i *_this)
MRC_API const int * MR_Box_unsigned_short_Get_elements(void)
MRC_API float MR_Box3f_diagonal(const MR_Box3f *_this)
MRC_API MR_std_istream * MR_input_MR_Box_unsigned_short(MR_std_istream *s, MR_Box_unsigned_short *box)
MRC_API MR_Box3i64 MR_Box3i64_intersection(const MR_Box3i64 *_this, const MR_Box3i64 *b)
MRC_API bool MR_not_equal_MR_Box2f(const MR_Box2f *_this, const MR_Box2f *a)
MRC_API int MR_Box1i_volume(const MR_Box1i *_this)
MRC_API MR_int64_t MR_Box1i64_getProjection(const MR_Box1i64 *_this, const MR_int64_t *pt)
MRC_API MR_Vector2d * MR_Box2d_index_mut(MR_Box2d *_this, int e)
MRC_API void MR_Box3i_include_MR_Vector3i(MR_Box3i *_this, const MR_Vector3i *pt)
MRC_API MR_Box3i MR_Box3i_intersection(const MR_Box3i *_this, const MR_Box3i *b)
MRC_API MR_Vector2f MR_Box2f_getBoxClosestPointTo(const MR_Box2f *_this, const MR_Vector2f *pt)
MRC_API MR_Box3i * MR_Box3i_DefaultConstructArray(size_t num_elems)
MRC_API bool MR_equal_MR_Box2f(const MR_Box2f *_this, const MR_Box2f *a)
MRC_API float MR_Box2f_diagonal(const MR_Box2f *_this)
MRC_API MR_Box1i MR_Box1i_intersection(const MR_Box1i *_this, const MR_Box1i *b)
MRC_API MR_std_ostream * MR_print_MR_Box2d(MR_std_ostream *s, const MR_Box2d *box)
MRC_API MR_std_ostream * MR_print_MR_Box3f(MR_std_ostream *s, const MR_Box3f *box)
MRC_API MR_Box3d MR_Box3d_insignificantlyExpanded(const MR_Box3d *_this)
MRC_API void MR_Box3f_include_MR_Box3f(MR_Box3f *_this, const MR_Box3f *b)
MRC_API bool MR_Box1f_contains_float(const MR_Box1f *_this, const float *pt)
MRC_API const int * MR_Box3i64_Get_elements(void)
MRC_API MR_Box1d * MR_Box1d_intersect(MR_Box1d *_this, const MR_Box1d *b)
MRC_API unsigned short * MR_Box_unsigned_short_index_mut(MR_Box_unsigned_short *_this, int e)
MRC_API MR_Box2i MR_Box2i_fromMinAndSize(const MR_Vector2i *min, const MR_Vector2i *size)
struct MR_NoInit MR_NoInit
Definition MRBox.h:15
MRC_API MR_int64_t * MR_Box1i64_index_mut(MR_Box1i64 *_this, int e)
MRC_API bool MR_Box1i_contains_int(const MR_Box1i *_this, const int *pt)
MRC_API unsigned short MR_Box_unsigned_short_corner(const MR_Box_unsigned_short *_this, const bool *c)
MRC_API MR_Box3f MR_Box3f_DefaultConstruct(void)
Constructs an empty (default-constructed) instance.
MRC_API MR_Vector3f * MR_Box3f_index_mut(MR_Box3f *_this, int e)
MRC_API MR_Vector3d MR_Box3d_size(const MR_Box3d *_this)
MRC_API MR_Vector3d * MR_Box3d_index_mut(MR_Box3d *_this, int e)
MRC_API bool MR_Box2i_contains_MR_Box2i(const MR_Box2i *_this, const MR_Box2i *otherbox)
MRC_API MR_Box3f * MR_Box3f_DefaultConstructArray(size_t num_elems)
MRC_API int MR_Box1i_getDistanceSq_int(const MR_Box1i *_this, const int *pt)
MRC_API MR_std_ostream * MR_print_MR_Box1i64(MR_std_ostream *s, const MR_Box1i64 *box)
MRC_API MR_std_istream * MR_input_MR_Box1i64(MR_std_istream *s, MR_Box1i64 *box)
MRC_API double MR_Box1d_getDistanceSq_MR_Box1d(const MR_Box1d *_this, const MR_Box1d *b)
MRC_API bool MR_Box1i_getMinBoxCorner(const int *n)
MRC_API MR_Vector3i MR_Box3i_size(const MR_Box3i *_this)
MRC_API bool MR_Box3f_valid(const MR_Box3f *_this)
MRC_API bool MR_Box1i64_getMinBoxCorner(const MR_int64_t *n)
MRC_API MR_Box1f * MR_Box1f_intersect(MR_Box1f *_this, const MR_Box1f *b)
MRC_API double MR_Box1d_getProjection(const MR_Box1d *_this, const double *pt)
MRC_API MR_std_ostream * MR_print_MR_Box3i(MR_std_ostream *s, const MR_Box3i *box)
MRC_API bool MR_equal_MR_Box2i(const MR_Box2i *_this, const MR_Box2i *a)
MRC_API MR_int64_t MR_Box2i64_volume(const MR_Box2i64 *_this)
MRC_API bool MR_Box3i64_valid(const MR_Box3i64 *_this)
MRC_API bool MR_not_equal_MR_Box2d(const MR_Box2d *_this, const MR_Box2d *a)
MRC_API MR_Vector2b MR_Box2i_getMinBoxCorner(const MR_Vector2i *n)
MRC_API MR_int64_t MR_Box2i64_diagonal(const MR_Box2i64 *_this)
MRC_API MR_std_ostream * MR_print_MR_Box2f(MR_std_ostream *s, const MR_Box2f *box)
MRC_API bool MR_equal_MR_Box1i64(const MR_Box1i64 *_this, const MR_Box1i64 *a)
MRC_API int MR_Box3i_getDistanceSq_MR_Box3i(const MR_Box3i *_this, const MR_Box3i *b)
MRC_API MR_std_istream * MR_input_MR_Box3i(MR_std_istream *s, MR_Box3i *box)
MRC_API bool MR_Box3i64_contains_MR_Vector3i64(const MR_Box3i64 *_this, const MR_Vector3i64 *pt)
MRC_API float MR_Box1f_getDistanceSq_MR_Box1f(const MR_Box1f *_this, const MR_Box1f *b)
MRC_API bool MR_Box2d_contains_MR_Box2d(const MR_Box2d *_this, const MR_Box2d *otherbox)
MRC_API MR_Box3d MR_Box3d_intersection(const MR_Box3d *_this, const MR_Box3d *b)
MRC_API MR_std_ostream * MR_print_MR_Box1d(MR_std_ostream *s, const MR_Box1d *box)
MRC_API MR_Box2d * MR_Box2d_DefaultConstructArray(size_t num_elems)
MRC_API void MR_Box_unsigned_short_include_unsigned_short(MR_Box_unsigned_short *_this, const unsigned short *pt)
MRC_API bool MR_Box1d_intersects(const MR_Box1d *_this, const MR_Box1d *b)
MRC_API void MR_Box2d_include_MR_Box2d(MR_Box2d *_this, const MR_Box2d *b)
MRC_API bool MR_Box2f_valid(const MR_Box2f *_this)
MRC_API bool MR_Box3i64_intersects(const MR_Box3i64 *_this, const MR_Box3i64 *b)
MRC_API MR_Box2f MR_Box2f_expanded(const MR_Box2f *_this, const MR_Vector2f *expansion)
MRC_API MR_Vector3i * MR_Box3i_index_mut(MR_Box3i *_this, int e)
MRC_API MR_Box3i * MR_Box3i_intersect(MR_Box3i *_this, const MR_Box3i *b)
MRC_API void MR_Box3i64_include_MR_Vector3i64(MR_Box3i64 *_this, const MR_Vector3i64 *pt)
MRC_API MR_Box2i64 MR_Box2i64_insignificantlyExpanded(const MR_Box2i64 *_this)
MRC_API MR_Box2d MR_Box2d_insignificantlyExpanded(const MR_Box2d *_this)
MRC_API bool MR_Box3f_contains_MR_Box3f(const MR_Box3f *_this, const MR_Box3f *otherbox)
MRC_API float MR_Box1f_getBoxClosestPointTo(const MR_Box1f *_this, const float *pt)
MRC_API MR_std_istream * MR_input_MR_Box1f(MR_std_istream *s, MR_Box1f *box)
MRC_API const int * MR_Box3i_Get_elements(void)
MRC_API MR_Vector2b MR_Box2i64_getMinBoxCorner(const MR_Vector2i64 *n)
MRC_API MR_Box3i64 MR_Box3i64_DefaultConstruct(void)
Constructs an empty (default-constructed) instance.
MRC_API MR_std_ostream * MR_print_MR_Box2i(MR_std_ostream *s, const MR_Box2i *box)
MRC_API bool MR_Box3i_contains_MR_Vector3i(const MR_Box3i *_this, const MR_Vector3i *pt)
MRC_API MR_Box2i64 MR_Box2i64_intersection(const MR_Box2i64 *_this, const MR_Box2i64 *b)
MRC_API MR_Vector3i64 MR_Box3i64_getBoxClosestPointTo(const MR_Box3i64 *_this, const MR_Vector3i64 *pt)
MRC_API bool MR_equal_MR_Box1f(const MR_Box1f *_this, const MR_Box1f *a)
MRC_API bool MR_Box3i64_contains_MR_Box3i64(const MR_Box3i64 *_this, const MR_Box3i64 *otherbox)
MRC_API MR_int64_t MR_Box1i64_volume(const MR_Box1i64 *_this)
MRC_API MR_Vector2i64 MR_Box2i64_size(const MR_Box2i64 *_this)
MRC_API float MR_Box1f_volume(const MR_Box1f *_this)
MRC_API MR_Box1d MR_Box1d_Construct_2(const double *min, const double *max)
MRC_API bool MR_Box1f_valid(const MR_Box1f *_this)
MRC_API bool MR_Box3i_contains_MR_Box3i(const MR_Box3i *_this, const MR_Box3i *otherbox)
MRC_API MR_Vector2i64 MR_Box2i64_center(const MR_Box2i64 *_this)
MRC_API MR_Box3i64 * MR_Box3i64_DefaultConstructArray(size_t num_elems)
MRC_API bool MR_Box1i_contains_MR_Box1i(const MR_Box1i *_this, const MR_Box1i *otherbox)
MRC_API MR_int64_t MR_Box3i64_getDistanceSq_MR_Box3i64(const MR_Box3i64 *_this, const MR_Box3i64 *b)
MRC_API void MR_Box1d_include_MR_Box1d(MR_Box1d *_this, const MR_Box1d *b)
MRC_API MR_Box1i64 MR_Box1i64_expanded(const MR_Box1i64 *_this, const MR_int64_t *expansion)
MRC_API MR_Vector2b MR_Box2f_getMinBoxCorner(const MR_Vector2f *n)
MRC_API float MR_Box1f_center(const MR_Box1f *_this)
MRC_API MR_Vector3i MR_Box3i_corner(const MR_Box3i *_this, const MR_Vector3b *c)
MRC_API bool MR_equal_MR_Box3f(const MR_Box3f *_this, const MR_Box3f *a)
MRC_API MR_Box3i64 * MR_Box3i64_intersect(MR_Box3i64 *_this, const MR_Box3i64 *b)
MRC_API MR_Box3i64 MR_Box3i64_Construct_2(const MR_Vector3i64 *min, const MR_Vector3i64 *max)
MRC_API MR_Box1f MR_Box1f_DefaultConstruct(void)
Constructs an empty (default-constructed) instance.
MRC_API bool MR_Box2d_intersects(const MR_Box2d *_this, const MR_Box2d *b)
MRC_API MR_Box3i MR_Box3i_expanded(const MR_Box3i *_this, const MR_Vector3i *expansion)
MRC_API bool MR_Box2f_contains_MR_Box2f(const MR_Box2f *_this, const MR_Box2f *otherbox)
MRC_API bool MR_not_equal_MR_Box3f(const MR_Box3f *_this, const MR_Box3f *a)
MRC_API MR_Box2i MR_Box2i_DefaultConstruct(void)
Constructs an empty (default-constructed) instance.
MRC_API const MR_int64_t * MR_Box1i64_index(const MR_Box1i64 *_this, int e)
MRC_API unsigned short MR_Box_unsigned_short_getDistanceSq_MR_Box_unsigned_short(const MR_Box_unsigned_short *_this, const MR_Box_unsigned_short *b)
MRC_API MR_Vector2b MR_Box2d_getMinBoxCorner(const MR_Vector2d *n)
MRC_API void MR_Box3d_include_MR_Box3d(MR_Box3d *_this, const MR_Box3d *b)
MRC_API const int * MR_Box2i_Get_elements(void)
MRC_API MR_Vector3b MR_Box3i_getMaxBoxCorner(const MR_Vector3i *n)
MRC_API MR_Box1f MR_Box1f_Construct_2(const float *min, const float *max)
MRC_API bool MR_Box1i64_intersects(const MR_Box1i64 *_this, const MR_Box1i64 *b)
MRC_API void MR_Box2f_include_MR_Vector2f(MR_Box2f *_this, const MR_Vector2f *pt)
MRC_API unsigned short MR_Box_unsigned_short_getDistanceSq_unsigned_short(const MR_Box_unsigned_short *_this, const unsigned short *pt)
MRC_API MR_Vector3b MR_Box3f_getMaxBoxCorner(const MR_Vector3f *n)
MRC_API MR_Box_unsigned_short * MR_Box_unsigned_short_DefaultConstructArray(size_t num_elems)
MRC_API MR_Box1d MR_Box1d_insignificantlyExpanded(const MR_Box1d *_this)
MRC_API double MR_Box1d_getBoxClosestPointTo(const MR_Box1d *_this, const double *pt)
MRC_API MR_Box1f MR_Box1f_expanded(const MR_Box1f *_this, const float *expansion)
MRC_API MR_std_ostream * MR_print_MR_Box_unsigned_short(MR_std_ostream *s, const MR_Box_unsigned_short *box)
MRC_API bool MR_Box3i_valid(const MR_Box3i *_this)
MRC_API MR_Box2d MR_Box2d_Construct_2(const MR_Vector2d *min, const MR_Vector2d *max)
MRC_API MR_Vector2b MR_Box2i64_getMaxBoxCorner(const MR_Vector2i64 *n)
MRC_API MR_Box1i64 MR_Box1i64_intersection(const MR_Box1i64 *_this, const MR_Box1i64 *b)
MRC_API bool MR_Box1d_contains_MR_Box1d(const MR_Box1d *_this, const MR_Box1d *otherbox)
MRC_API void MR_Box3i_include_MR_Box3i(MR_Box3i *_this, const MR_Box3i *b)
MRC_API MR_Box1i64 MR_Box1i64_insignificantlyExpanded(const MR_Box1i64 *_this)
MRC_API bool MR_not_equal_MR_Box1i64(const MR_Box1i64 *_this, const MR_Box1i64 *a)
MRC_API const MR_Vector2d * MR_Box2d_index(const MR_Box2d *_this, int e)
MRC_API bool MR_not_equal_MR_Box1i(const MR_Box1i *_this, const MR_Box1i *a)
MRC_API MR_Box2f MR_Box2f_intersection(const MR_Box2f *_this, const MR_Box2f *b)
MRC_API MR_Box_unsigned_short * MR_Box_unsigned_short_intersection(const MR_Box_unsigned_short *_this, const MR_Box_unsigned_short *b)
MRC_API MR_Vector2d MR_Box2d_getProjection(const MR_Box2d *_this, const MR_Vector2d *pt)
MRC_API MR_Vector2b MR_Box2f_getMaxBoxCorner(const MR_Vector2f *n)
MRC_API int MR_Box2i_diagonal(const MR_Box2i *_this)
MRC_API MR_Vector3f MR_Box3f_getBoxClosestPointTo(const MR_Box3f *_this, const MR_Vector3f *pt)
MRC_API bool MR_Box1d_contains_double(const MR_Box1d *_this, const double *pt)
MRC_API MR_Box1d MR_Box1d_fromMinAndSize(const double *min, const double *size)
MRC_API MR_Box3d * MR_Box3d_DefaultConstructArray(size_t num_elems)
MRC_API const MR_Vector2i * MR_Box2i_index(const MR_Box2i *_this, int e)
MRC_API MR_std_ostream * MR_print_MR_Box2i64(MR_std_ostream *s, const MR_Box2i64 *box)
MRC_API bool MR_Box1i_intersects(const MR_Box1i *_this, const MR_Box1i *b)
MRC_API MR_Box1f * MR_Box1f_DefaultConstructArray(size_t num_elems)
MRC_API const int * MR_Box1i64_Get_elements(void)
MRC_API MR_Box2i MR_Box2i_Construct_1(const MR_NoInit *_1)
MRC_API int MR_Box1i_getBoxClosestPointTo(const MR_Box1i *_this, const int *pt)
MRC_API MR_Vector2i64 MR_Box2i64_getProjection(const MR_Box2i64 *_this, const MR_Vector2i64 *pt)
MRC_API float MR_Box1f_corner(const MR_Box1f *_this, const bool *c)
MRC_API MR_int64_t MR_Box1i64_center(const MR_Box1i64 *_this)
MRC_API MR_std_ostream * MR_print_MR_Box1f(MR_std_ostream *s, const MR_Box1f *box)
MRC_API double MR_Box3d_getDistanceSq_MR_Box3d(const MR_Box3d *_this, const MR_Box3d *b)
MRC_API bool MR_equal_MR_Box1i(const MR_Box1i *_this, const MR_Box1i *a)
MRC_API MR_Box_unsigned_short * MR_Box_unsigned_short_DefaultConstruct(void)
MRC_API int MR_Box1i_size(const MR_Box1i *_this)
MRC_API bool MR_Box3f_intersects(const MR_Box3f *_this, const MR_Box3f *b)
MRC_API bool MR_Box3f_contains_MR_Vector3f(const MR_Box3f *_this, const MR_Vector3f *pt)
MRC_API bool MR_Box2i_intersects(const MR_Box2i *_this, const MR_Box2i *b)
MRC_API MR_Box2f MR_Box2f_DefaultConstruct(void)
Constructs an empty (default-constructed) instance.
MRC_API MR_Box1i64 MR_Box1i64_fromMinAndSize(const MR_int64_t *min, const MR_int64_t *size)
MRC_API MR_Box2d MR_Box2d_Construct_1(const MR_NoInit *_1)
MRC_API MR_Vector3i64 * MR_Box3i64_index_mut(MR_Box3i64 *_this, int e)
MRC_API void MR_Box2f_include_MR_Box2f(MR_Box2f *_this, const MR_Box2f *b)
MRC_API bool MR_equal_MR_Box2d(const MR_Box2d *_this, const MR_Box2d *a)
MRC_API MR_Box3i64 MR_Box3i64_insignificantlyExpanded(const MR_Box3i64 *_this)
MRC_API bool MR_Box_unsigned_short_contains_unsigned_short(const MR_Box_unsigned_short *_this, const unsigned short *pt)
MRC_API bool MR_equal_MR_Box3d(const MR_Box3d *_this, const MR_Box3d *a)
MRC_API bool MR_Box1f_getMinBoxCorner(const float *n)
MRC_API MR_Box2i MR_Box2i_expanded(const MR_Box2i *_this, const MR_Vector2i *expansion)
MRC_API MR_Vector2d MR_Box2d_corner(const MR_Box2d *_this, const MR_Vector2b *c)
MRC_API bool MR_Box_unsigned_short_getMaxBoxCorner(const unsigned short *n)
MRC_API MR_Vector3b MR_Box3f_getMinBoxCorner(const MR_Vector3f *n)
MRC_API MR_Vector3b MR_Box3d_getMaxBoxCorner(const MR_Vector3d *n)
MRC_API bool MR_Box1d_getMaxBoxCorner(const double *n)
MRC_API MR_Box2d * MR_Box2d_intersect(MR_Box2d *_this, const MR_Box2d *b)
MRC_API bool MR_Box1i64_contains_MR_Box1i64(const MR_Box1i64 *_this, const MR_Box1i64 *otherbox)
MRC_API void MR_Box2d_include_MR_Vector2d(MR_Box2d *_this, const MR_Vector2d *pt)
MRC_API MR_Box_unsigned_short * MR_Box_unsigned_short_OffsetMutablePtr(MR_Box_unsigned_short *ptr, ptrdiff_t i)
MRC_API bool MR_not_equal_MR_Box2i64(const MR_Box2i64 *_this, const MR_Box2i64 *a)
MRC_API MR_Box1i64 * MR_Box1i64_intersect(MR_Box1i64 *_this, const MR_Box1i64 *b)
MRC_API int MR_Box3i_getDistanceSq_MR_Vector3i(const MR_Box3i *_this, const MR_Vector3i *pt)
MRC_API void MR_Box3f_include_MR_Vector3f(MR_Box3f *_this, const MR_Vector3f *pt)
MRC_API bool MR_not_equal_MR_Box3i64(const MR_Box3i64 *_this, const MR_Box3i64 *a)
MRC_API MR_Box1f MR_Box1f_fromMinAndSize(const float *min, const float *size)
MRC_API MR_Vector2f MR_Box2f_center(const MR_Box2f *_this)
MRC_API MR_Box3i MR_Box3i_Construct_1(const MR_NoInit *_1)
MRC_API void MR_Box_unsigned_short_include_MR_Box_unsigned_short(MR_Box_unsigned_short *_this, const MR_Box_unsigned_short *b)
MRC_API MR_Vector2d MR_Box2d_getBoxClosestPointTo(const MR_Box2d *_this, const MR_Vector2d *pt)
MRC_API bool MR_Box3i_intersects(const MR_Box3i *_this, const MR_Box3i *b)
MRC_API MR_Vector3f MR_Box3f_center(const MR_Box3f *_this)
MRC_API double MR_Box2d_getDistanceSq_MR_Box2d(const MR_Box2d *_this, const MR_Box2d *b)
MRC_API MR_Vector3d MR_Box3d_corner(const MR_Box3d *_this, const MR_Vector3b *c)
MRC_API int MR_Box3i_diagonal(const MR_Box3i *_this)
MRC_API const int * MR_Box1d_Get_elements(void)
MRC_API MR_std_istream * MR_input_MR_Box2f(MR_std_istream *s, MR_Box2f *box)
MRC_API MR_Vector2b MR_Box2d_getMaxBoxCorner(const MR_Vector2d *n)
MRC_API MR_Vector2b MR_Box2i_getMaxBoxCorner(const MR_Vector2i *n)
MRC_API float MR_Box1f_size(const MR_Box1f *_this)
MRC_API float MR_Box1f_diagonal(const MR_Box1f *_this)
MRC_API bool MR_Box2i64_valid(const MR_Box2i64 *_this)
MRC_API float MR_Box3f_getDistanceSq_MR_Vector3f(const MR_Box3f *_this, const MR_Vector3f *pt)
MRC_API MR_Box2d MR_Box2d_DefaultConstruct(void)
Constructs an empty (default-constructed) instance.
MRC_API MR_Vector2f MR_Box2f_getProjection(const MR_Box2f *_this, const MR_Vector2f *pt)
MRC_API unsigned short MR_Box_unsigned_short_center(const MR_Box_unsigned_short *_this)
MRC_API double MR_Box1d_size(const MR_Box1d *_this)
MRC_API MR_Box2d MR_Box2d_fromMinAndSize(const MR_Vector2d *min, const MR_Vector2d *size)
MRC_API MR_Box_unsigned_short * MR_Box_unsigned_short_insignificantlyExpanded(const MR_Box_unsigned_short *_this)
MRC_API void MR_Box1i64_include_int64_t(MR_Box1i64 *_this, const MR_int64_t *pt)
MRC_API MR_Box2i MR_Box2i_Construct_2(const MR_Vector2i *min, const MR_Vector2i *max)
MRC_API MR_Vector2d MR_Box2d_center(const MR_Box2d *_this)
MRC_API MR_int64_t MR_Box1i64_getBoxClosestPointTo(const MR_Box1i64 *_this, const MR_int64_t *pt)
MRC_API float * MR_Box1f_index_mut(MR_Box1f *_this, int e)
MRC_API bool MR_Box3d_contains_MR_Box3d(const MR_Box3d *_this, const MR_Box3d *otherbox)
MRC_API MR_Box3i MR_Box3i_DefaultConstruct(void)
Constructs an empty (default-constructed) instance.
MRC_API bool MR_Box2d_valid(const MR_Box2d *_this)
MRC_API MR_std_ostream * MR_print_MR_Box1i(MR_std_ostream *s, const MR_Box1i *box)
MRC_API MR_Box3f MR_Box3f_expanded(const MR_Box3f *_this, const MR_Vector3f *expansion)
MRC_API unsigned short MR_Box_unsigned_short_size(const MR_Box_unsigned_short *_this)
MRC_API MR_Vector2i64 * MR_Box2i64_index_mut(MR_Box2i64 *_this, int e)
MRC_API MR_Box2f MR_Box2f_insignificantlyExpanded(const MR_Box2f *_this)
MRC_API bool MR_Box1i_valid(const MR_Box1i *_this)
MRC_API MR_Box3f MR_Box3f_insignificantlyExpanded(const MR_Box3f *_this)
MRC_API MR_Box1i MR_Box1i_DefaultConstruct(void)
Constructs an empty (default-constructed) instance.
MRC_API MR_Box1i64 MR_Box1i64_DefaultConstruct(void)
Constructs an empty (default-constructed) instance.
MRC_API void MR_Box1i64_include_MR_Box1i64(MR_Box1i64 *_this, const MR_Box1i64 *b)
MRC_API const unsigned short * MR_Box_unsigned_short_index(const MR_Box_unsigned_short *_this, int e)
MRC_API bool MR_Box2i_contains_MR_Vector2i(const MR_Box2i *_this, const MR_Vector2i *pt)
MRC_API MR_Box1i64 MR_Box1i64_Construct_1(const MR_NoInit *_1)
MRC_API MR_Vector3i MR_Box3i_getBoxClosestPointTo(const MR_Box3i *_this, const MR_Vector3i *pt)
MRC_API void MR_Box2i64_include_MR_Vector2i64(MR_Box2i64 *_this, const MR_Vector2i64 *pt)
MRC_API bool MR_equal_MR_Box3i64(const MR_Box3i64 *_this, const MR_Box3i64 *a)
MRC_API MR_Box1d MR_Box1d_DefaultConstruct(void)
Constructs an empty (default-constructed) instance.
MRC_API int * MR_Box1i_index_mut(MR_Box1i *_this, int e)
MRC_API MR_Box2i64 MR_Box2i64_expanded(const MR_Box2i64 *_this, const MR_Vector2i64 *expansion)
MRC_API MR_Vector2i MR_Box2i_size(const MR_Box2i *_this)
MRC_API MR_Box3i MR_Box3i_Construct_2(const MR_Vector3i *min, const MR_Vector3i *max)
MRC_API float MR_Box3f_volume(const MR_Box3f *_this)
MRC_API bool MR_Box1i64_valid(const MR_Box1i64 *_this)
MRC_API bool MR_Box2i64_intersects(const MR_Box2i64 *_this, const MR_Box2i64 *b)
MRC_API float MR_Box1f_getProjection(const MR_Box1f *_this, const float *pt)
MRC_API MR_Box3i64 MR_Box3i64_Construct_1(const MR_NoInit *_1)
MRC_API MR_std_istream * MR_input_MR_Box1i(MR_std_istream *s, MR_Box1i *box)
MRC_API MR_Vector2f * MR_Box2f_index_mut(MR_Box2f *_this, int e)
MRC_API MR_std_istream * MR_input_MR_Box1d(MR_std_istream *s, MR_Box1d *box)
MRC_API const MR_Vector3d * MR_Box3d_index(const MR_Box3d *_this, int e)
MRC_API MR_Box3f MR_Box3f_fromMinAndSize(const MR_Vector3f *min, const MR_Vector3f *size)
MRC_API MR_Box1i MR_Box1i_Construct_2(const int *min, const int *max)
MRC_API MR_Box2i64 MR_Box2i64_DefaultConstruct(void)
Constructs an empty (default-constructed) instance.
MRC_API MR_Vector3i64 MR_Box3i64_center(const MR_Box3i64 *_this)
MRC_API const int * MR_Box3f_Get_elements(void)
MRC_API MR_Box1i MR_Box1i_insignificantlyExpanded(const MR_Box1i *_this)
MRC_API bool MR_Box_unsigned_short_contains_MR_Box_unsigned_short(const MR_Box_unsigned_short *_this, const MR_Box_unsigned_short *otherbox)
MRC_API const MR_Box_unsigned_short * MR_Box_unsigned_short_OffsetPtr(const MR_Box_unsigned_short *ptr, ptrdiff_t i)
MRC_API MR_Box3d MR_Box3d_Construct_1(const MR_NoInit *_1)
MRC_API MR_Box3d MR_Box3d_expanded(const MR_Box3d *_this, const MR_Vector3d *expansion)
MRC_API MR_Box3f MR_Box3f_Construct_1(const MR_NoInit *_1)
MRC_API MR_Box1i MR_Box1i_fromMinAndSize(const int *min, const int *size)
MRC_API const int * MR_Box1i_index(const MR_Box1i *_this, int e)
MRC_API const int * MR_Box2f_Get_elements(void)
MRC_API bool MR_Box2f_contains_MR_Vector2f(const MR_Box2f *_this, const MR_Vector2f *pt)
MRC_API MR_Vector3i64 MR_Box3i64_corner(const MR_Box3i64 *_this, const MR_Vector3b *c)
MRC_API MR_Box3d MR_Box3d_fromMinAndSize(const MR_Vector3d *min, const MR_Vector3d *size)
MRC_API const int * MR_Box2d_Get_elements(void)
MRC_API MR_std_ostream * MR_print_MR_Box3d(MR_std_ostream *s, const MR_Box3d *box)
MRC_API MR_Vector2i * MR_Box2i_index_mut(MR_Box2i *_this, int e)
MRC_API void MR_Box_unsigned_short_Set_max(MR_Box_unsigned_short *_this, unsigned short value)
MRC_API MR_Box2i64 MR_Box2i64_Construct_2(const MR_Vector2i64 *min, const MR_Vector2i64 *max)
MRC_API MR_int64_t MR_Box1i64_size(const MR_Box1i64 *_this)
MRC_API MR_Vector3f MR_Box3f_getProjection(const MR_Box3f *_this, const MR_Vector3f *pt)
MRC_API MR_Vector2i MR_Box2i_center(const MR_Box2i *_this)
MRC_API MR_Box1i MR_Box1i_Construct_1(const MR_NoInit *_1)
MRC_API bool MR_Box2f_intersects(const MR_Box2f *_this, const MR_Box2f *b)
MRC_API bool MR_Box1i_getMaxBoxCorner(const int *n)
MRC_API MR_Box_unsigned_short * MR_Box_unsigned_short_fromMinAndSize(const unsigned short *min, const unsigned short *size)
MRC_API MR_Vector3d MR_Box3d_getBoxClosestPointTo(const MR_Box3d *_this, const MR_Vector3d *pt)
MRC_API MR_Box_unsigned_short * MR_Box_unsigned_short_ConstructFromAnother(const MR_Box_unsigned_short *_other)
MRC_API bool MR_Box_unsigned_short_valid(const MR_Box_unsigned_short *_this)
MRC_API float MR_Box2f_getDistanceSq_MR_Box2f(const MR_Box2f *_this, const MR_Box2f *b)
MRC_API bool MR_Box3d_intersects(const MR_Box3d *_this, const MR_Box3d *b)
MRC_API MR_Vector3b MR_Box3i64_getMinBoxCorner(const MR_Vector3i64 *n)
MRC_API MR_Box1i * MR_Box1i_intersect(MR_Box1i *_this, const MR_Box1i *b)
MRC_API double * MR_Box1d_index_mut(MR_Box1d *_this, int e)
MRC_API MR_Box1i MR_Box1i_expanded(const MR_Box1i *_this, const int *expansion)
MRC_API double MR_Box3d_diagonal(const MR_Box3d *_this)
MRC_API unsigned short MR_Box_unsigned_short_volume(const MR_Box_unsigned_short *_this)
MRC_API void MR_Box_unsigned_short_Destroy(const MR_Box_unsigned_short *_this)
Destroys a heap-allocated instance of MR_Box_unsigned_short. Does nothing if the pointer is null.
MRC_API MR_Box_unsigned_short * MR_Box_unsigned_short_AssignFromAnother(MR_Box_unsigned_short *_this, const MR_Box_unsigned_short *_other)
MRC_API MR_Box2f MR_Box2f_Construct_1(const MR_NoInit *_1)
MRC_API MR_Box2f * MR_Box2f_intersect(MR_Box2f *_this, const MR_Box2f *b)
MRC_API void MR_Box_unsigned_short_Set_min(MR_Box_unsigned_short *_this, unsigned short value)
MRC_API MR_Box2i * MR_Box2i_intersect(MR_Box2i *_this, const MR_Box2i *b)
MRC_API int MR_Box2i_getDistanceSq_MR_Box2i(const MR_Box2i *_this, const MR_Box2i *b)
MRC_API bool MR_Box_unsigned_short_intersects(const MR_Box_unsigned_short *_this, const MR_Box_unsigned_short *b)
MRC_API MR_Vector3i64 MR_Box3i64_size(const MR_Box3i64 *_this)
MRC_API MR_Box1f MR_Box1f_insignificantlyExpanded(const MR_Box1f *_this)
MRC_API bool MR_Box2i64_contains_MR_Vector2i64(const MR_Box2i64 *_this, const MR_Vector2i64 *pt)
MRC_API const int * MR_Box1f_Get_elements(void)
MRC_API double MR_Box1d_corner(const MR_Box1d *_this, const bool *c)
MRC_API MR_Box2i64 * MR_Box2i64_DefaultConstructArray(size_t num_elems)
MRC_API int MR_Box2i_getDistanceSq_MR_Vector2i(const MR_Box2i *_this, const MR_Vector2i *pt)
MRC_API MR_Box3i64 MR_Box3i64_fromMinAndSize(const MR_Vector3i64 *min, const MR_Vector3i64 *size)
MRC_API MR_Box1i * MR_Box1i_DefaultConstructArray(size_t num_elems)
MRC_API MR_std_istream * MR_input_MR_Box3f(MR_std_istream *s, MR_Box3f *box)
MRC_API void MR_Box2i_include_MR_Vector2i(MR_Box2i *_this, const MR_Vector2i *pt)
MRC_API int MR_Box1i_corner(const MR_Box1i *_this, const bool *c)
MRC_API int MR_Box2i_volume(const MR_Box2i *_this)
MRC_API MR_int64_t MR_Box1i64_corner(const MR_Box1i64 *_this, const bool *c)
MRC_API void MR_Box1i_include_MR_Box1i(MR_Box1i *_this, const MR_Box1i *b)
MRC_API bool MR_equal_MR_Box2i64(const MR_Box2i64 *_this, const MR_Box2i64 *a)
MRC_API bool MR_not_equal_MR_Box3i(const MR_Box3i *_this, const MR_Box3i *a)
MRC_API unsigned short MR_Box_unsigned_short_diagonal(const MR_Box_unsigned_short *_this)
struct MR_Box_unsigned_short MR_Box_unsigned_short
Definition MRBox.h:126
MRC_API bool MR_not_equal_MR_Box_unsigned_short(const MR_Box_unsigned_short *_this, const MR_Box_unsigned_short *a)
MRC_API MR_Vector3d MR_Box3d_getProjection(const MR_Box3d *_this, const MR_Vector3d *pt)
MRC_API double MR_Box2d_getDistanceSq_MR_Vector2d(const MR_Box2d *_this, const MR_Vector2d *pt)
MRC_API MR_Box2d MR_Box2d_intersection(const MR_Box2d *_this, const MR_Box2d *b)
MRC_API MR_int64_t MR_Box1i64_getDistanceSq_MR_Box1i64(const MR_Box1i64 *_this, const MR_Box1i64 *b)
MRC_API int MR_Box1i_center(const MR_Box1i *_this)
MRC_API bool MR_Box1f_contains_MR_Box1f(const MR_Box1f *_this, const MR_Box1f *otherbox)
MRC_API bool MR_Box2d_contains_MR_Vector2d(const MR_Box2d *_this, const MR_Vector2d *pt)
MRC_API MR_Box3i MR_Box3i_fromMinAndSize(const MR_Vector3i *min, const MR_Vector3i *size)
MRC_API void MR_Box3d_include_MR_Vector3d(MR_Box3d *_this, const MR_Vector3d *pt)
MRC_API unsigned short * MR_Box_unsigned_short_GetMutable_min(MR_Box_unsigned_short *_this)
MRC_API MR_int64_t MR_Box1i64_getDistanceSq_int64_t(const MR_Box1i64 *_this, const MR_int64_t *pt)
MRC_API MR_Vector3i MR_Box3i_getProjection(const MR_Box3i *_this, const MR_Vector3i *pt)
MRC_API bool MR_Box_unsigned_short_getMinBoxCorner(const unsigned short *n)
MRC_API MR_std_istream * MR_input_MR_Box3i64(MR_std_istream *s, MR_Box3i64 *box)
MRC_API void MR_Box2i64_include_MR_Box2i64(MR_Box2i64 *_this, const MR_Box2i64 *b)
MRC_API MR_Vector3f MR_Box3f_corner(const MR_Box3f *_this, const MR_Vector3b *c)
MRC_API void MR_Box2i_include_MR_Box2i(MR_Box2i *_this, const MR_Box2i *b)
MRC_API float MR_Box3f_getDistanceSq_MR_Box3f(const MR_Box3f *_this, const MR_Box3f *b)
MRC_API MR_Box1d MR_Box1d_expanded(const MR_Box1d *_this, const double *expansion)
MRC_API MR_std_istream * MR_input_MR_Box3d(MR_std_istream *s, MR_Box3d *box)
MRC_API MR_int64_t MR_Box3i64_diagonal(const MR_Box3i64 *_this)
MRC_API MR_Box2i MR_Box2i_insignificantlyExpanded(const MR_Box2i *_this)
MRC_API MR_Vector3b MR_Box3i_getMinBoxCorner(const MR_Vector3i *n)
MRC_API MR_Box1i64 * MR_Box1i64_DefaultConstructArray(size_t num_elems)
MRC_API MR_Vector2i MR_Box2i_corner(const MR_Box2i *_this, const MR_Vector2b *c)
MRC_API MR_int64_t MR_Box3i64_getDistanceSq_MR_Vector3i64(const MR_Box3i64 *_this, const MR_Vector3i64 *pt)
MRC_API double MR_Box3d_volume(const MR_Box3d *_this)
MRC_API MR_Box2i * MR_Box2i_DefaultConstructArray(size_t num_elems)
MRC_API MR_Box3i MR_Box3i_insignificantlyExpanded(const MR_Box3i *_this)
MRC_API MR_Vector3d MR_Box3d_center(const MR_Box3d *_this)
MRC_API bool MR_Box2i_valid(const MR_Box2i *_this)
MRC_API MR_Vector2i MR_Box2i_getBoxClosestPointTo(const MR_Box2i *_this, const MR_Vector2i *pt)
MRC_API MR_Box2f MR_Box2f_Construct_2(const MR_Vector2f *min, const MR_Vector2f *max)
MRC_API const double * MR_Box1d_index(const MR_Box1d *_this, int e)
MRC_API MR_int64_t MR_Box3i64_volume(const MR_Box3i64 *_this)
MRC_API bool MR_Box3d_valid(const MR_Box3d *_this)
MRC_API double MR_Box1d_diagonal(const MR_Box1d *_this)
MRC_API MR_int64_t MR_Box1i64_diagonal(const MR_Box1i64 *_this)
MRC_API MR_Box2d MR_Box2d_expanded(const MR_Box2d *_this, const MR_Vector2d *expansion)
MRC_API MR_Box3f * MR_Box3f_intersect(MR_Box3f *_this, const MR_Box3f *b)
MRC_API double MR_Box1d_getDistanceSq_double(const MR_Box1d *_this, const double *pt)
MRC_API MR_std_istream * MR_input_MR_Box2i(MR_std_istream *s, MR_Box2i *box)
MRC_API void MR_Box1i_include_int(MR_Box1i *_this, const int *pt)
MRC_API bool MR_not_equal_MR_Box1f(const MR_Box1f *_this, const MR_Box1f *a)
MRC_API MR_Box2i MR_Box2i_intersection(const MR_Box2i *_this, const MR_Box2i *b)
MRC_API bool MR_Box1i64_getMaxBoxCorner(const MR_int64_t *n)
MRC_API unsigned short * MR_Box_unsigned_short_GetMutable_max(MR_Box_unsigned_short *_this)
MRC_API MR_Box1i64 MR_Box1i64_Construct_2(const MR_int64_t *min, const MR_int64_t *max)
MRC_API const MR_Vector3i64 * MR_Box3i64_index(const MR_Box3i64 *_this, int e)
MRC_API const MR_Vector2f * MR_Box2f_index(const MR_Box2f *_this, int e)
MRC_API MR_Vector2f MR_Box2f_corner(const MR_Box2f *_this, const MR_Vector2b *c)
MRC_API bool MR_equal_MR_Box3i(const MR_Box3i *_this, const MR_Box3i *a)
MRC_API MR_Box3i64 MR_Box3i64_expanded(const MR_Box3i64 *_this, const MR_Vector3i64 *expansion)
MRC_API double MR_Box1d_center(const MR_Box1d *_this)
MRC_API MR_Box3d MR_Box3d_Construct_2(const MR_Vector3d *min, const MR_Vector3d *max)
MRC_API void MR_Box3i64_include_MR_Box3i64(MR_Box3i64 *_this, const MR_Box3i64 *b)
MRC_API bool MR_not_equal_MR_Box1d(const MR_Box1d *_this, const MR_Box1d *a)
MRC_API MR_Box2i64 MR_Box2i64_Construct_1(const MR_NoInit *_1)
MRC_API MR_Box2i64 MR_Box2i64_fromMinAndSize(const MR_Vector2i64 *min, const MR_Vector2i64 *size)
MRC_API const MR_Vector2i64 * MR_Box2i64_index(const MR_Box2i64 *_this, int e)
MRC_API MR_Box2f MR_Box2f_fromMinAndSize(const MR_Vector2f *min, const MR_Vector2f *size)
MRC_API MR_Box_unsigned_short * MR_Box_unsigned_short_intersect(MR_Box_unsigned_short *_this, const MR_Box_unsigned_short *b)
MRC_API MR_int64_t MR_Box2i64_getDistanceSq_MR_Vector2i64(const MR_Box2i64 *_this, const MR_Vector2i64 *pt)
MRC_API const int * MR_Box1i_Get_elements(void)
MRC_API MR_Box1d MR_Box1d_intersection(const MR_Box1d *_this, const MR_Box1d *b)
MRC_API double MR_Box2d_diagonal(const MR_Box2d *_this)
MRC_API MR_Vector3i MR_Box3i_center(const MR_Box3i *_this)
MRC_API bool MR_equal_MR_Box_unsigned_short(const MR_Box_unsigned_short *_this, const MR_Box_unsigned_short *a)
MRC_API MR_Vector3b MR_Box3i64_getMaxBoxCorner(const MR_Vector3i64 *n)
MRC_API MR_Box2i64 * MR_Box2i64_intersect(MR_Box2i64 *_this, const MR_Box2i64 *b)
MRC_API double MR_Box3d_getDistanceSq_MR_Vector3d(const MR_Box3d *_this, const MR_Vector3d *pt)
MRC_API MR_std_istream * MR_input_MR_Box2d(MR_std_istream *s, MR_Box2d *box)
MRC_API const MR_Vector3i * MR_Box3i_index(const MR_Box3i *_this, int e)
MRC_API int MR_Box1i_getProjection(const MR_Box1i *_this, const int *pt)
MRC_API MR_Box2f * MR_Box2f_DefaultConstructArray(size_t num_elems)
MRC_API void MR_Box1f_include_MR_Box1f(MR_Box1f *_this, const MR_Box1f *b)
MRC_API MR_Box1f MR_Box1f_intersection(const MR_Box1f *_this, const MR_Box1f *b)
MRC_API MR_Box1d MR_Box1d_Construct_1(const MR_NoInit *_1)
MRC_API MR_Box1d * MR_Box1d_DefaultConstructArray(size_t num_elems)
MRC_API MR_Vector2d MR_Box2d_size(const MR_Box2d *_this)
MRC_API bool MR_Box1f_getMaxBoxCorner(const float *n)
MRC_API bool MR_Box1f_intersects(const MR_Box1f *_this, const MR_Box1f *b)
MRC_API MR_std_ostream * MR_print_MR_Box3i64(MR_std_ostream *s, const MR_Box3i64 *box)
MRC_API MR_Box_unsigned_short * MR_Box_unsigned_short_Construct_2(const unsigned short *min, const unsigned short *max)
MRC_API MR_Box3f MR_Box3f_Construct_2(const MR_Vector3f *min, const MR_Vector3f *max)
MRC_API MR_Vector3i64 MR_Box3i64_getProjection(const MR_Box3i64 *_this, const MR_Vector3i64 *pt)
MRC_API const MR_Vector3f * MR_Box3f_index(const MR_Box3f *_this, int e)
MRC_API int MR_Box1i_getDistanceSq_MR_Box1i(const MR_Box1i *_this, const MR_Box1i *b)
MRC_API bool MR_Box1i64_contains_int64_t(const MR_Box1i64 *_this, const MR_int64_t *pt)
MRC_API const unsigned short * MR_Box_unsigned_short_Get_max(const MR_Box_unsigned_short *_this)
MRC_API bool MR_Box1d_valid(const MR_Box1d *_this)
MRC_API const unsigned short * MR_Box_unsigned_short_Get_min(const MR_Box_unsigned_short *_this)
MRC_API double MR_Box2d_volume(const MR_Box2d *_this)
MRC_API MR_Box3d * MR_Box3d_intersect(MR_Box3d *_this, const MR_Box3d *b)
MRC_API unsigned short MR_Box_unsigned_short_getBoxClosestPointTo(const MR_Box_unsigned_short *_this, const unsigned short *pt)
MRC_API MR_Box_unsigned_short * MR_Box_unsigned_short_Construct_1(const MR_NoInit *_1)
MRC_API bool MR_not_equal_MR_Box3d(const MR_Box3d *_this, const MR_Box3d *a)
MRC_API MR_Vector3b MR_Box3d_getMinBoxCorner(const MR_Vector3d *n)
MRC_API MR_Vector2f MR_Box2f_size(const MR_Box2f *_this)
MRC_API bool MR_Box1d_getMinBoxCorner(const double *n)
MRC_API double MR_Box1d_volume(const MR_Box1d *_this)
MRC_API MR_Vector2i MR_Box2i_getProjection(const MR_Box2i *_this, const MR_Vector2i *pt)
MRC_API void MR_Box1d_include_double(MR_Box1d *_this, const double *pt)
MRC_API MR_Vector2i64 MR_Box2i64_corner(const MR_Box2i64 *_this, const MR_Vector2b *c)
MRC_API MR_Box3f MR_Box3f_intersection(const MR_Box3f *_this, const MR_Box3f *b)
MRC_API const int * MR_Box2i64_Get_elements(void)
MRC_API MR_std_istream * MR_input_MR_Box2i64(MR_std_istream *s, MR_Box2i64 *box)
MRC_API float MR_Box2f_volume(const MR_Box2f *_this)
MRC_API MR_Box3d MR_Box3d_DefaultConstruct(void)
Constructs an empty (default-constructed) instance.
MRC_API const float * MR_Box1f_index(const MR_Box1f *_this, int e)
MRC_API int MR_Box1i_diagonal(const MR_Box1i *_this)
struct MR_std_ostream MR_std_ostream
A C++ output stream.
Definition MRCtm.h:31
struct MR_std_istream MR_std_istream
A C++ input stream.
Definition MRCtm.h:28
int64_t MR_int64_t
Definition common.h:17
#define MRC_API
Definition include/MRCMisc/exports.h:11
Definition MRBox.h:51
double min
Definition MRBox.h:52
double max
Definition MRBox.h:53
Definition MRBox.h:43
float min
Definition MRBox.h:44
float max
Definition MRBox.h:45
Definition MRBox.h:31
MR_int64_t min
Definition MRBox.h:32
MR_int64_t max
Definition MRBox.h:33
Definition MRBox.h:23
int min
Definition MRBox.h:24
int max
Definition MRBox.h:25
Definition MRBox.h:83
MR_Vector2d min
Definition MRBox.h:84
MR_Vector2d max
Definition MRBox.h:85
Definition MRBox.h:75
MR_Vector2f max
Definition MRBox.h:77
MR_Vector2f min
Definition MRBox.h:76
Definition MRBox.h:67
MR_Vector2i64 min
Definition MRBox.h:68
MR_Vector2i64 max
Definition MRBox.h:69
Definition MRBox.h:59
MR_Vector2i min
Definition MRBox.h:60
MR_Vector2i max
Definition MRBox.h:61
Definition MRBox.h:115
MR_Vector3d min
Definition MRBox.h:116
MR_Vector3d max
Definition MRBox.h:117
Definition MRBox.h:107
MR_Vector3f min
Definition MRBox.h:108
MR_Vector3f max
Definition MRBox.h:109
Definition MRBox.h:99
MR_Vector3i64 max
Definition MRBox.h:101
MR_Vector3i64 min
Definition MRBox.h:100
Definition MRBox.h:91
MR_Vector3i min
Definition MRBox.h:92
MR_Vector3i max
Definition MRBox.h:93
Definition MRVector2.h:21
Generated from class MR::Vector2d.
Definition MRVector2.h:43
Generated from class MR::Vector2f.
Definition MRVector2.h:36
Definition MRVector2.h:29
Generated from class MR::Vector2i.
Definition MRVector2.h:50
Definition MRVector3.h:25
Generated from class MR::Vector3d.
Definition MRVector3.h:55
Generated from class MR::Vector3f.
Definition MRVector3.h:47
Definition MRVector3.h:34
Generated from class MR::Vector3i.
Definition MRVector3.h:63