20 enum class IntersectionResult :
int {
26 enum class CornerIndex : uchar {
37 using CornerHandle = uchar;
42 ::ll::TypedStorage<4, 12, ::BlockPos> mFrom;
43 ::ll::TypedStorage<4, 12, ::BlockPos> mTo;
50 virtual ::BlockPos getMin()
const ;
53 virtual ::BlockPos getMax()
const ;
56 virtual ::BoundingBox getBoundingBox()
const ;
59 virtual ::glm::ivec3 getSpan()
const ;
62 virtual int getCapacity()
const ;
65 virtual bool isInside(
::BlockPos const& pos)
const ;
68 virtual void translate(
::BlockPos const& delta) ;
71 virtual void forEach(::std::function<
bool(
::BlockPos const&)> callback)
const ;
74 virtual ::std::set<::ChunkPos> getChunks()
const ;
77 virtual ::std::unordered_set<::BlockPos> getFlattenedBlockPositions()
const ;
80 virtual ::std::unique_ptr<::BaseBlockLocationIterator> getIterator()
const ;
91 MCAPI ::SimpleBlockVolume::IntersectionResult intersects(
::SimpleBlockVolume const& other)
const;
109 MCAPI ::BlockPos $getMin()
const;
111 MCAPI ::BlockPos $getMax()
const;
113 MCAPI ::BoundingBox $getBoundingBox()
const;
115 MCAPI ::glm::ivec3 $getSpan()
const;
117 MCAPI
int $getCapacity()
const;
119 MCAPI
bool $isInside(
::BlockPos const& pos)
const;
121 MCAPI
void $translate(
::BlockPos const& delta);
123 MCAPI
void $forEach(::std::function<
bool(
::BlockPos const&)> callback)
const;
125 MCAPI ::std::set<::ChunkPos> $getChunks()
const;
127 MCAPI ::std::unordered_set<::BlockPos> $getFlattenedBlockPositions()
const;
129 MCAPI ::std::unique_ptr<::BaseBlockLocationIterator> $getIterator()
const;