BetterModel
Toggle table of contents
1.4.3
api
Platform filter
api
Switch theme
Search in API
BetterModel
api
/
kr.toxicity.model.api.data.blueprint
/
ModelBoundingBox
Model
Bounding
Box
class
ModelBoundingBox
:
Record
Model bounding box
Parameters
min
X
min-x
min
Y
min-y
min
Z
min-z
max
X
max-x
max
Y
max-y
max
Z
max-z
Members
Constructors
Model
Bounding
Box
Link copied to clipboard
constructor
(
)
Functions
center
Link copied to clipboard
@
NotNull
open
fun
center
(
)
:
ModelBoundingBox
Gets centered bounding box
center
Point
Link copied to clipboard
@
NotNull
open
fun
centerPoint
(
)
:
Vector3f
Gets center vector point
equals
Link copied to clipboard
abstract
fun
equals
(
p
:
Any
)
:
Boolean
hash
Code
Link copied to clipboard
abstract
fun
hashCode
(
)
:
Int
length
Link copied to clipboard
open
fun
length
(
)
:
Double
Gets length of bounding box
length
ZX
Link copied to clipboard
open
fun
lengthZX
(
)
:
Double
Gets zx length of bounding box
max
Link copied to clipboard
@
NotNull
open
fun
max
(
)
:
Vector3d
min
Link copied to clipboard
@
NotNull
open
fun
min
(
)
:
Vector3d
of
Link copied to clipboard
@
NotNull
open
fun
of
(
@
NotNull
min
:
Vector3d
,
@
NotNull
max
:
Vector3d
)
:
ModelBoundingBox
times
Link copied to clipboard
@
NotNull
open
fun
times
(
scale
:
Double
)
:
ModelBoundingBox
Gets scaled bounding box
to
String
Link copied to clipboard
abstract
fun
toString
(
)
:
String
x
Link copied to clipboard
open
fun
x
(
)
:
Double
Gets x
y
Link copied to clipboard
open
fun
y
(
)
:
Double
Gets y
z
Link copied to clipboard
open
fun
z
(
)
:
Double
Gets z