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 MCNAPI void
40 search(::ClimateUtils::TargetSpace const& target, ::std::pair<::RTree::Node const*, int64>& closestLeaf) const;
41
42 MCNAPI ~Node();
43 // NOLINTEND
44
45 public:
46 // static functions
47 // NOLINTBEGIN
48 MCNAPI static ::std::optional<::RTree::Node> branch(::std::vector<::RTree::Node>&& children);
49
50 MCNAPI static ::std::vector<::RTree::Node> bucketize(::std::vector<::RTree::Node>&& nodes);
51
52 MCNAPI static void sort(::std::vector<::RTree::Node>& children, int dimension, bool absolute);
53 // NOLINTEND
54
55 public:
56 // destructor thunk
57 // NOLINTBEGIN
58 MCNAPI 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 MCNAPI ~RTree();
92 // NOLINTEND
93
94public:
95 // static functions
96 // NOLINTBEGIN
97 MCNAPI static ::std::optional<::RTree::Node> build(::std::vector<::RTree::Node>&& children);
98
99 MCNAPI static ::std::optional<::RTree> create(::std::vector<::BiomeNoiseTarget> const& biomes);
100 // NOLINTEND
101
102public:
103 // destructor thunk
104 // NOLINTBEGIN
105 MCNAPI void $dtor();
106 // NOLINTEND
107};
Definition RTree.h:20
static MCAPI ::std::optional<::RTree::Node > branch(::std::vector<::RTree::Node > &&children)
static MCAPI void sort(::std::vector<::RTree::Node > &children, int dimension, bool absolute)
MCAPI void search(::ClimateUtils::TargetSpace const &target, ::std::pair<::RTree::Node const *, int64 > &closestLeaf) const
MCAPI void $dtor()
static MCAPI ::std::vector<::RTree::Node > bucketize(::std::vector<::RTree::Node > &&nodes)
MCAPI ~Node()
Definition RTree.h:11
static MCAPI ::std::optional<::RTree > create(::std::vector<::BiomeNoiseTarget > const &biomes)
MCAPI ~RTree()
MCAPI void $dtor()
static MCAPI ::std::optional<::RTree::Node > build(::std::vector<::RTree::Node > &&children)
Definition BiomeNoiseTarget.h:5
Definition TargetSpace.h:7
Definition RTree.h:62
Definition Alias.h:14