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