| Package | Description |
|---|---|
| org.joml |
Contains all classes of JOML.
|
| 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.setMax(double maxX,
double maxY,
double maxZ)
Set the maximum corner coordinates.
|
AABBd |
AABBd.setMax(Vector3dc max)
Set the maximum corner coordinates.
|
AABBd |
AABBd.setMin(double minX,
double minY,
double minZ)
Set the minimum corner coordinates.
|
AABBd |
AABBd.setMin(Vector3dc min)
Set the minimum corner coordinates.
|
AABBd |
AABBd.translate(double x,
double y,
double z)
Translate
this by the vector (x, y, z). |
AABBd |
AABBd.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(Vector3dc xyz)
Translate
this by the given vector xyz. |
AABBd |
AABBd.translate(Vector3dc xyz,
AABBd dest)
Translate
this by the given vector xyz and store the result in dest. |
AABBd |
AABBd.translate(Vector3fc xyz)
Translate
this by the given vector xyz. |
AABBd |
AABBd.translate(Vector3fc xyz,
AABBd dest)
Translate
this by the given vector xyz and store the result in dest. |
AABBd |
AABBd.union(AABBd other)
Set
this to the union of this and other. |
AABBd |
AABBd.union(AABBd other,
AABBd dest)
Compute the union of
this and other and store the result in 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 |
AABBd.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(Vector3dc p)
Set
this to the union of this and the given point p. |
AABBd |
AABBd.union(Vector3dc p,
AABBd dest)
Compute the union of
this and the given point p and store the result in dest. |
| Modifier and Type | Method and Description |
|---|---|
static int |
Intersectiond.intersectLineSegmentAab(LineSegmentf lineSegment,
AABBd aabb,
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,
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..
|
static boolean |
Intersectiond.testAabAab(AABBd aabb1,
AABBd aabb2)
Test whether the two axis-aligned boxes intersect.
|
boolean |
AABBd.testAABB(AABBd other)
Test whether
this and other 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 |
AABBd.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(Vector3dc xyz,
AABBd dest)
Translate
this by the given vector xyz and store the result in dest. |
AABBd |
AABBd.translate(Vector3fc xyz,
AABBd dest)
Translate
this by the given vector xyz and store the result in dest. |
AABBd |
AABBd.union(AABBd other)
Set
this to the union of this and other. |
AABBd |
AABBd.union(AABBd other,
AABBd dest)
Compute the union of
this and other and store the result in dest. |
AABBd |
AABBd.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(Vector3dc p,
AABBd dest)
Compute the union of
this and the given point p and store the result in dest. |
| Constructor and Description |
|---|
AABBd(AABBd source)
Create a new
AABBd as a copy of the given source. |
Copyright © 2015–2019 JOML. All rights reserved.