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.utils.math.geometry
/
AlignedFace
Aligned
Face
class
AlignedFace
(
from
:
Vec3
,
to
:
Vec3
)
A face. Axis aligned
Members
Constructors
Aligned
Face
Link copied to clipboard
constructor
(
from
:
Vec3
,
to
:
Vec3
)
Properties
area
Link copied to clipboard
val
area
:
Double
center
Link copied to clipboard
val
center
:
Vec3
dimensions
Link copied to clipboard
val
dimensions
:
Vec3
from
Link copied to clipboard
val
from
:
Vec3
to
Link copied to clipboard
val
to
:
Vec3
Functions
clamp
Link copied to clipboard
fun
clamp
(
box
:
AABB
)
:
AlignedFace
coerce
In
Face
Link copied to clipboard
fun
coerceInFace
(
line
:
LinearGeometry3
)
:
LineSegment
?
nearest
Point
To
Link copied to clipboard
fun
nearestPointTo
(
otherLine
:
LinearGeometry3
)
:
Vec3
offset
Link copied to clipboard
fun
offset
(
vec
:
Vec3i
)
:
AlignedFace
fun
offset
(
vec
:
Vec3
)
:
AlignedFace
random
Point
On
Face
Link copied to clipboard
fun
randomPointOnFace
(
)
:
Vec3
require
Non
Empty
Link copied to clipboard
fun
requireNonEmpty
(
)
:
AlignedFace
?
to
Plane
Link copied to clipboard
fun
toPlane
(
)
:
NormalizedPlane
truncate
Y
Link copied to clipboard
fun
truncateY
(
minY
:
Double
)
:
AlignedFace