| Modifier and Type | Method and Description |
|---|---|
AABBf |
AABBf.correctBounds()
Ensure that the minimum coordinates are strictly less than or equal to the maximum coordinates by swapping
them if necessary.
|
AABBf |
AABBf.intersection(AABBfc other)
Compute the AABB of intersection between
this and the given AABB. |
AABBf |
AABBfc.intersection(AABBfc other,
AABBf dest)
Compute the AABB of intersection between
this and the given AABB. |
AABBf |
AABBf.intersection(AABBfc other,
AABBf dest) |
AABBf |
AABBf.set(AABBfc source)
Set this
AABBf to be a clone of source. |
AABBf |
AABBf.setMax(float maxX,
float maxY,
float maxZ)
Set the maximum corner coordinates.
|
AABBf |
AABBf.setMax(org.joml.Vector3fc max)
Set the maximum corner coordinates.
|
AABBf |
AABBf.setMin(float minX,
float minY,
float minZ)
Set the minimum corner coordinates.
|
AABBf |
AABBf.setMin(org.joml.Vector3fc min)
Set the minimum corner coordinates.
|
AABBf |
AABBf.transform(org.joml.Matrix4fc m)
Apply the given
affine transformation to this AABBf. |
AABBf |
AABBfc.transform(org.joml.Matrix4fc m,
AABBf dest)
|
AABBf |
AABBf.transform(org.joml.Matrix4fc m,
AABBf dest) |
AABBf |
AABBf.translate(float x,
float y,
float z)
Translate
this by the vector (x, y, z). |
AABBf |
AABBfc.translate(float x,
float y,
float z,
AABBf dest)
Translate
this by the vector (x, y, z) and store the result in dest. |
AABBf |
AABBf.translate(float x,
float y,
float z,
AABBf dest) |
AABBf |
AABBf.translate(org.joml.Vector3fc xyz)
Translate
this by the given vector xyz. |
AABBf |
AABBfc.translate(org.joml.Vector3fc xyz,
AABBf dest)
Translate
this by the given vector xyz and store the result in dest. |
AABBf |
AABBf.translate(org.joml.Vector3fc xyz,
AABBf dest) |
AABBf |
AABBf.union(AABBf other)
Set
this to the union of this and other. |
AABBf |
AABBfc.union(AABBf other,
AABBf dest)
Compute the union of
this and other and store the result in dest. |
AABBf |
AABBf.union(AABBf other,
AABBf dest) |
AABBf |
AABBf.union(float x,
float y,
float z)
Set
this to the union of this and the given point (x, y, z). |
AABBf |
AABBfc.union(float x,
float y,
float z,
AABBf dest)
Compute the union of
this and the given point (x, y, z) and store the result in dest. |
AABBf |
AABBf.union(float x,
float y,
float z,
AABBf dest) |
AABBf |
AABBf.union(org.joml.Vector3fc p)
Set
this to the union of this and the given point p. |
AABBf |
AABBfc.union(org.joml.Vector3fc p,
AABBf dest)
Compute the union of
this and the given point p and store the result in dest. |
AABBf |
AABBf.union(org.joml.Vector3fc p,
AABBf dest) |
| Modifier and Type | Method and Description |
|---|---|
AABBf |
AABBfc.intersection(AABBfc other,
AABBf dest)
Compute the AABB of intersection between
this and the given AABB. |
AABBf |
AABBf.intersection(AABBfc other,
AABBf dest) |
static int |
Intersectionf.intersectLineSegmentAab(LineSegmentf lineSegment,
AABBf 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,
AABBf 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.testAabAab(AABBf aabb1,
AABBf aabb2)
Test whether the two axis-aligned boxes intersect.
|
static boolean |
Intersectionf.testAabPlane(AABBf aabb,
Planef plane)
Test whether the axis-aligned box intersects the plane.
|
static boolean |
Intersectionf.testAabSphere(AABBf aabb,
Spheref sphere)
Test whether the given axis-aligned box intersects the given sphere.
|
static boolean |
Intersectionf.testRayAab(Rayf ray,
AABBf aabb)
Test whether the given ray intersects the given axis-aligned box.
|
AABBf |
AABBfc.transform(org.joml.Matrix4fc m,
AABBf dest)
|
AABBf |
AABBf.transform(org.joml.Matrix4fc m,
AABBf dest) |
AABBf |
AABBfc.translate(float x,
float y,
float z,
AABBf dest)
Translate
this by the vector (x, y, z) and store the result in dest. |
AABBf |
AABBf.translate(float x,
float y,
float z,
AABBf dest) |
AABBf |
AABBfc.translate(org.joml.Vector3fc xyz,
AABBf dest)
Translate
this by the given vector xyz and store the result in dest. |
AABBf |
AABBf.translate(org.joml.Vector3fc xyz,
AABBf dest) |
AABBf |
AABBf.union(AABBf other)
Set
this to the union of this and other. |
AABBf |
AABBfc.union(AABBf other,
AABBf dest)
Compute the union of
this and other and store the result in dest. |
AABBf |
AABBf.union(AABBf other,
AABBf dest) |
AABBf |
AABBfc.union(float x,
float y,
float z,
AABBf dest)
Compute the union of
this and the given point (x, y, z) and store the result in dest. |
AABBf |
AABBf.union(float x,
float y,
float z,
AABBf dest) |
AABBf |
AABBfc.union(org.joml.Vector3fc p,
AABBf dest)
Compute the union of
this and the given point p and store the result in dest. |
AABBf |
AABBf.union(org.joml.Vector3fc p,
AABBf dest) |
| Constructor and Description |
|---|
AABBf(AABBf source)
Create a new
AABBf as a copy of the given source. |
Copyright © 2020 JOML. All rights reserved.