| Modifier and Type | Method and Description |
|---|---|
AABBi |
AABBi.correctBounds()
Ensure that the minimum coordinates are strictly less than or equal to the maximum coordinates by swapping
them if necessary.
|
AABBi |
AABBi.intersection(AABBic other)
Compute the AABB of intersection between
this and the given AABB. |
AABBi |
AABBi.intersection(AABBic other,
AABBi dest) |
AABBi |
AABBic.intersection(AABBic other,
AABBi dest)
Compute the AABB of intersection between
this and the given AABB. |
AABBi |
AABBi.set(AABBic source)
Set this
AABBi to be a clone of source. |
AABBi |
AABBi.setMax(int maxX,
int maxY,
int maxZ)
Set the maximum corner coordinates.
|
AABBi |
AABBi.setMax(org.joml.Vector3ic max)
Set the maximum corner coordinates.
|
AABBi |
AABBi.setMin(int minX,
int minY,
int minZ)
Set the minimum corner coordinates.
|
AABBi |
AABBi.setMin(org.joml.Vector3ic min)
Set the minimum corner coordinates.
|
AABBi |
AABBi.transform(org.joml.Matrix4fc m)
Apply the given
affine transformation to this AABBi. |
AABBi |
AABBi.transform(org.joml.Matrix4fc m,
AABBi dest) |
AABBi |
AABBic.transform(org.joml.Matrix4fc m,
AABBi dest)
|
AABBi |
AABBi.translate(int x,
int y,
int z)
Translate
this by the vector (x, y, z). |
AABBi |
AABBi.translate(int x,
int y,
int z,
AABBi dest) |
AABBi |
AABBic.translate(int x,
int y,
int z,
AABBi dest)
Translate
this by the vector (x, y, z) and store the result in dest. |
AABBi |
AABBi.translate(org.joml.Vector3ic xyz)
Translate
this by the given vector xyz. |
AABBi |
AABBi.translate(org.joml.Vector3ic xyz,
AABBi dest)
Translate
this by the given vector xyz and store the result in dest. |
AABBi |
AABBi.union(AABBic other)
Set
this to the union of this and other. |
AABBi |
AABBi.union(AABBic other,
AABBi dest) |
AABBi |
AABBic.union(AABBic other,
AABBi dest)
Compute the union of
this and other and store the result in dest. |
AABBi |
AABBi.union(int x,
int y,
int z)
Set
this to the union of this and the given point (x, y, z). |
AABBi |
AABBi.union(int x,
int y,
int z,
AABBi dest) |
AABBi |
AABBic.union(int x,
int y,
int z,
AABBi dest)
Compute the union of
this and the given point (x, y, z) and store the result in dest. |
AABBi |
AABBi.union(org.joml.Vector3ic p)
Set
this to the union of this and the given point p. |
AABBi |
AABBi.union(org.joml.Vector3ic p,
AABBi dest) |
AABBi |
AABBic.union(org.joml.Vector3ic p,
AABBi dest)
Compute the union of
this and the given point p and store the result in dest. |
| Modifier and Type | Method and Description |
|---|---|
AABBi |
AABBi.intersection(AABBic other,
AABBi dest) |
AABBi |
AABBic.intersection(AABBic other,
AABBi dest)
Compute the AABB of intersection between
this and the given AABB. |
static int |
Intersectionf.intersectLineSegmentAab(LineSegmentf lineSegment,
AABBi aabb,
org.joml.Vector2f result)
Determine whether the given undirected line segment intersects the given axis-aligned box,
and return the values of the parameter t in the ray equation p(t) = origin + p0 * (p1 - p0) of the near and far point of intersection.
|
static boolean |
Intersectionf.intersectRayAab(Rayf ray,
AABBi aabb,
org.joml.Vector2f result)
Test whether the given ray intersects given the axis-aligned box
and return the values of the parameter t in the ray equation p(t) = origin + t * dir of the near and far point of intersection..
|
static boolean |
Intersectionf.testAabPlane(AABBi aabb,
Planef plane)
Test whether the axis-aligned box intersects the plane.
|
static boolean |
Intersectionf.testAabSphere(AABBi aabb,
Spheref sphere)
Test whether the given axis-aligned box intersects the given sphere.
|
static boolean |
Intersectionf.testRayAab(Rayf ray,
AABBi aabb)
Test whether the given ray intersects the given axis-aligned box.
|
AABBi |
AABBi.transform(org.joml.Matrix4fc m,
AABBi dest) |
AABBi |
AABBic.transform(org.joml.Matrix4fc m,
AABBi dest)
|
AABBi |
AABBi.translate(int x,
int y,
int z,
AABBi dest) |
AABBi |
AABBic.translate(int x,
int y,
int z,
AABBi dest)
Translate
this by the vector (x, y, z) and store the result in dest. |
AABBi |
AABBi.translate(org.joml.Vector3ic xyz,
AABBi dest)
Translate
this by the given vector xyz and store the result in dest. |
AABBi |
AABBi.union(AABBic other,
AABBi dest) |
AABBi |
AABBic.union(AABBic other,
AABBi dest)
Compute the union of
this and other and store the result in dest. |
AABBi |
AABBi.union(int x,
int y,
int z,
AABBi dest) |
AABBi |
AABBic.union(int x,
int y,
int z,
AABBi dest)
Compute the union of
this and the given point (x, y, z) and store the result in dest. |
AABBi |
AABBi.union(org.joml.Vector3ic p,
AABBi dest) |
AABBi |
AABBic.union(org.joml.Vector3ic p,
AABBi dest)
Compute the union of
this and the given point p and store the result in dest. |
Copyright © 2020 JOML. All rights reserved.