LeviLamina
Loading...
Searching...
No Matches
BoundingBox Class Reference
Inheritance diagram for BoundingBox:

Public Types

using first_type
using size_type

Public Member Functions

constexpr BoundingBox (class BoundingBox const &k) noexcept=default
constexpr BoundingBoxoperator= (class BoundingBox const &k) noexcept=default
constexpr BoundingBox (BlockPos const &min, BlockPos const &max) noexcept
ll::coro::Generator< BlockPosforEachPos () const
constexpr BoundingBoxmerge (BoundingBox const &a) noexcept
constexpr BoundingBoxmerge (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_C BoundingBox (::BlockPos const &min, ::BlockPos const &size, ::Rotation rotation)
MCAPI void applyTransformation (::BlockPos const &pivot, ::Rotation rotationXZ, bool mirrorX, bool mirrorZ)
MCAPI_C void * $ctor (::BlockPos const &min, ::BlockPos const &size, ::Rotation rotation)
constexpr BoundingBoxoperator+= (BoundingBox const &b) noexcept
constexpr BoundingBoxoperator-= (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 MCAPI ::std::optional<::BoundingBox > intersect (::BoundingBox const &lhs, ::BoundingBox const &rhs)
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 
}; 

The documentation for this class was generated from the following file: