LeviLamina
Loading...
Searching...
No Matches
RTree.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
8namespace ClimateUtils { struct TargetSpace; }
9// clang-format on
10
11class RTree {
12public:
13 // RTree inner types declare
14 // clang-format off
15 struct Hint;
16 class Node;
17 // clang-format on
18
19 // RTree inner types define
20 class Node {
21 public:
22 // member variables
23 // NOLINTBEGIN
28 // NOLINTEND
29
30 public:
31 // prevent constructor by default
32 Node& operator=(Node const&);
33 Node(Node const&);
34 Node();
35
36 public:
37 // member functions
38 // NOLINTBEGIN
39 MCAPI void
40 search(::ClimateUtils::TargetSpace const& target, ::std::pair<::RTree::Node const*, int64>& closestLeaf) const;
41
42 MCAPI ~Node();
43 // NOLINTEND
44
45 public:
46 // static functions
47 // NOLINTBEGIN
48 MCAPI static ::std::optional<::RTree::Node> branch(::std::vector<::RTree::Node>&& children);
49
50 MCAPI static ::std::vector<::RTree::Node> bucketize(::std::vector<::RTree::Node>&& nodes);
51
52 MCAPI static void sort(::std::vector<::RTree::Node>& children, int dimension, bool absolute);
53 // NOLINTEND
54
55 public:
56 // destructor thunk
57 // NOLINTBEGIN
58 MCFOLD void $dtor();
59 // NOLINTEND
60 };
61
62 struct Hint {
63 public:
64 // member variables
65 // NOLINTBEGIN
67 // NOLINTEND
68
69 public:
70 // prevent constructor by default
71 Hint& operator=(Hint const&);
72 Hint(Hint const&);
73 Hint();
74 };
75
76public:
77 // member variables
78 // NOLINTBEGIN
80 // NOLINTEND
81
82public:
83 // prevent constructor by default
84 RTree& operator=(RTree const&);
85 RTree(RTree const&);
86 RTree();
87
88public:
89 // member functions
90 // NOLINTBEGIN
91 MCAPI RTree(::RTree&&);
92
93 MCAPI ~RTree();
94 // NOLINTEND
95
96public:
97 // static functions
98 // NOLINTBEGIN
99 MCAPI static ::std::optional<::RTree::Node> build(::std::vector<::RTree::Node>&& children);
100
101 MCAPI static ::std::optional<::RTree> create(::std::vector<::BiomeNoiseTarget> const& biomes);
102 // NOLINTEND
103
104public:
105 // constructor thunks
106 // NOLINTBEGIN
107 MCAPI void* $ctor(::RTree&&);
108 // NOLINTEND
109
110public:
111 // destructor thunk
112 // NOLINTBEGIN
113 MCFOLD void $dtor();
114 // NOLINTEND
115};
Definition RTree.h:20
Definition RTree.h:11
Definition BiomeNoiseTarget.h:5
Definition TargetSpace.h:7
Definition RTree.h:62
Definition Alias.h:14