LiquidBounce
Toggle table of contents
0.37.0
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
LiquidBounce
LiquidBounce
/
net.ccbluex.liquidbounce.render.engine.type
/
BoundingBox2f
Bounding
Box2f
@
JvmRecord
data
class
BoundingBox2f
(
val
xMin
:
Float
,
val
yMin
:
Float
,
val
xMax
:
Float
,
val
yMax
:
Float
)
:
Record
Members
Constructors
Bounding
Box2f
Link copied to clipboard
constructor
(
xMin
:
Float
,
yMin
:
Float
,
xMax
:
Float
,
yMax
:
Float
)
constructor
(
rect
:
Rectangle2D
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
center
Vec
Link copied to clipboard
val
centerVec
:
Vec2
height
Link copied to clipboard
val
height
:
Float
width
Link copied to clipboard
val
width
:
Float
x
Center
Link copied to clipboard
val
xCenter
:
Float
x
Max
Link copied to clipboard
val
xMax
:
Float
x
Min
Link copied to clipboard
val
xMin
:
Float
y
Center
Link copied to clipboard
val
yCenter
:
Float
y
Max
Link copied to clipboard
val
yMax
:
Float
y
Min
Link copied to clipboard
val
yMin
:
Float
Functions
contains
Link copied to clipboard
fun
contains
(
x
:
Float
,
y
:
Float
)
:
Boolean
intersects
Link copied to clipboard
infix
fun
intersects
(
other
:
BoundingBox2f
)
:
Boolean
offset
Link copied to clipboard
fun
offset
(
xOffset
:
Float
,
yOffset
:
Float
)
:
BoundingBox2f