API Reference
On this page
Public Types | |
| using | first_type |
| using | size_type |
Public Member Functions | |
| constexpr | BoundingBox (class BoundingBox const &k) noexcept=default |
| constexpr BoundingBox & | operator= (class BoundingBox const &k) noexcept=default |
| constexpr | BoundingBox (BlockPos const &min, BlockPos const &max) noexcept |
| ll::coro::Generator< BlockPos > | forEachPos () const |
| constexpr BoundingBox & | merge (BoundingBox const &a) noexcept |
| constexpr BoundingBox & | merge (BlockPos const &a) noexcept |
| template<typename T, size_t N> | |
| constexpr T & | get () noexcept |
| template<typename T, size_t N> | |
| constexpr T const & | get () const noexcept |
| bool | contains (BlockPos const &a) const noexcept |
| bool | contains (BoundingBox const &a) const noexcept |
| BlockPos | getSideLength () const noexcept |
| LLNDAPI | operator class AABB () const |
| MCAPI void | applyTransformation (::BlockPos const &pivot, ::Rotation rotationXZ, bool mirrorX, bool mirrorZ) |
| constexpr BoundingBox & | operator+= (BoundingBox const &b) noexcept |
| constexpr BoundingBox & | operator-= (BoundingBox const &b) noexcept |
| constexpr BoundingBox | operator+ (BoundingBox const &b) const noexcept |
| constexpr BoundingBox | operator- (BoundingBox const &b) const noexcept |
| constexpr BoundingBox | add (BoundingBox const &b) const noexcept |
| constexpr BoundingBox | sub (BoundingBox const &b) const noexcept |
| constexpr std::string | toString () const noexcept |
| constexpr bool | operator== (BoundingBox const &b) const noexcept |
| constexpr bool | operator!= (BoundingBox const &b) const noexcept |
| constexpr first_type & | operator[] (size_t index) noexcept |
| constexpr size_t | hash () const noexcept |
| constexpr V | as () const noexcept |
| constexpr class boolN< sizeof...(Components)> | eq (BoundingBox const &b) const noexcept |
| constexpr class boolN< sizeof...(Components)> | ne (BoundingBox const &b) const noexcept |
Static Public Member Functions | |
| static consteval size_t | size () noexcept |
| static constexpr void | forEachComponent (F &&func) noexcept |
Public Attributes | |
| union { | |
| BlockPos min | |
| BlockPos x | |
| BlockPos r | |
| BlockPos s | |
| }; | |
| union { | |
| BlockPos max | |
| BlockPos y | |
| BlockPos g | |
| BlockPos t | |
| BlockPos z | |
| BlockPos b | |
| BlockPos p | |
| }; | |
| MCAPI void BoundingBox::applyTransformation | ( | ::BlockPos const & | pivot, |
| ::Rotation | rotationXZ, | ||
| bool | mirrorX, | ||
| bool | mirrorZ ) |