Uses of Class
com.badlogic.gdx.math.collision.BoundingBox
-
-
Uses of BoundingBox in com.badlogic.gdx.graphics
Methods in com.badlogic.gdx.graphics that return BoundingBox Modifier and Type Method Description BoundingBoxMesh. calculateBoundingBox()Calculates theBoundingBoxof the vertices contained in this mesh.BoundingBoxMesh. calculateBoundingBox(BoundingBox out, int offset, int count)Calculate theBoundingBoxof the specified part.BoundingBoxMesh. calculateBoundingBox(BoundingBox out, int offset, int count, Matrix4 transform)Calculate theBoundingBoxof the specified part.BoundingBoxMesh. extendBoundingBox(BoundingBox out, int offset, int count)Extends the specifiedBoundingBoxwith the specified part.BoundingBoxMesh. extendBoundingBox(BoundingBox out, int offset, int count, Matrix4 transform)Extends the specifiedBoundingBoxwith the specified part.Methods in com.badlogic.gdx.graphics with parameters of type BoundingBox Modifier and Type Method Description voidMesh. calculateBoundingBox(BoundingBox bbox)Calculates theBoundingBoxof the vertices contained in this mesh.BoundingBoxMesh. calculateBoundingBox(BoundingBox out, int offset, int count)Calculate theBoundingBoxof the specified part.BoundingBoxMesh. calculateBoundingBox(BoundingBox out, int offset, int count, Matrix4 transform)Calculate theBoundingBoxof the specified part.BoundingBoxMesh. extendBoundingBox(BoundingBox out, int offset, int count)Extends the specifiedBoundingBoxwith the specified part.BoundingBoxMesh. extendBoundingBox(BoundingBox out, int offset, int count, Matrix4 transform)Extends the specifiedBoundingBoxwith the specified part. -
Uses of BoundingBox in com.badlogic.gdx.graphics.g2d
Methods in com.badlogic.gdx.graphics.g2d that return BoundingBox Modifier and Type Method Description BoundingBoxParticleEffect. getBoundingBox()Returns the bounding box for all active particles.BoundingBoxParticleEmitter. getBoundingBox()Returns the bounding box for all active particles. -
Uses of BoundingBox in com.badlogic.gdx.graphics.g3d
Methods in com.badlogic.gdx.graphics.g3d that return BoundingBox Modifier and Type Method Description BoundingBoxModel. calculateBoundingBox(BoundingBox out)Calculate the bounding box of this model instance.BoundingBoxModelInstance. calculateBoundingBox(BoundingBox out)Calculate the bounding box of this model instance.BoundingBoxModel. extendBoundingBox(BoundingBox out)Extends the bounding box with the bounds of this model instance.BoundingBoxModelInstance. extendBoundingBox(BoundingBox out)Extends the bounding box with the bounds of this model instance.Methods in com.badlogic.gdx.graphics.g3d with parameters of type BoundingBox Modifier and Type Method Description BoundingBoxModel. calculateBoundingBox(BoundingBox out)Calculate the bounding box of this model instance.BoundingBoxModelInstance. calculateBoundingBox(BoundingBox out)Calculate the bounding box of this model instance.BoundingBoxModel. extendBoundingBox(BoundingBox out)Extends the bounding box with the bounds of this model instance.BoundingBoxModelInstance. extendBoundingBox(BoundingBox out)Extends the bounding box with the bounds of this model instance. -
Uses of BoundingBox in com.badlogic.gdx.graphics.g3d.model
Methods in com.badlogic.gdx.graphics.g3d.model that return BoundingBox Modifier and Type Method Description BoundingBoxNode. calculateBoundingBox(BoundingBox out)Calculate the bounding box of this Node.BoundingBoxNode. calculateBoundingBox(BoundingBox out, boolean transform)Calculate the bounding box of this Node.BoundingBoxNode. extendBoundingBox(BoundingBox out)Extends the bounding box with the bounds of this Node.BoundingBoxNode. extendBoundingBox(BoundingBox out, boolean transform)Extends the bounding box with the bounds of this Node.Methods in com.badlogic.gdx.graphics.g3d.model with parameters of type BoundingBox Modifier and Type Method Description BoundingBoxNode. calculateBoundingBox(BoundingBox out)Calculate the bounding box of this Node.BoundingBoxNode. calculateBoundingBox(BoundingBox out, boolean transform)Calculate the bounding box of this Node.BoundingBoxNode. extendBoundingBox(BoundingBox out)Extends the bounding box with the bounds of this Node.BoundingBoxNode. extendBoundingBox(BoundingBox out, boolean transform)Extends the bounding box with the bounds of this Node. -
Uses of BoundingBox in com.badlogic.gdx.graphics.g3d.particles
Fields in com.badlogic.gdx.graphics.g3d.particles declared as BoundingBox Modifier and Type Field Description protected BoundingBoxParticleController. boundingBoxNot used by the simulation, it should represent the bounding box containing all the particlesMethods in com.badlogic.gdx.graphics.g3d.particles that return BoundingBox Modifier and Type Method Description BoundingBoxParticleController. getBoundingBox()BoundingBoxParticleEffect. getBoundingBox() -
Uses of BoundingBox in com.badlogic.gdx.graphics.g3d.utils.shapebuilders
Methods in com.badlogic.gdx.graphics.g3d.utils.shapebuilders with parameters of type BoundingBox Modifier and Type Method Description static voidBoxShapeBuilder. build(MeshPartBuilder builder, BoundingBox box)Build a box with the shape of the specifiedBoundingBox. -
Uses of BoundingBox in com.badlogic.gdx.math
Methods in com.badlogic.gdx.math that return types with arguments of type BoundingBox Modifier and Type Method Description ObjectSet<BoundingBox>Octree. getNodesBoxes(ObjectSet<BoundingBox> boxes)Method to get nodes as bounding boxes.Methods in com.badlogic.gdx.math with parameters of type BoundingBox Modifier and Type Method Description booleanFrustum. boundsInFrustum(BoundingBox bounds)Returns whether the givenBoundingBoxis in the frustum.static booleanIntersector. intersectBoundsPlaneFast(BoundingBox box, Plane plane)Quick check whether the givenBoundingBoxandPlaneintersect.static booleanIntersector. intersectFrustumBounds(Frustum frustum, BoundingBox bounds)Returns whether the givenFrustumintersects aBoundingBox.static booleanIntersector. intersectRayBounds(Ray ray, BoundingBox box, Vector3 intersection)Intersects aRayand aBoundingBox, returning the intersection point in intersection.static booleanIntersector. intersectRayBoundsFast(Ray ray, BoundingBox box)Quick check whether the givenRayandBoundingBoxintersect.static booleanIntersector. intersectRayOrientedBounds(Ray ray, BoundingBox bounds, Matrix4 transform, Vector3 intersection)Check whether the givenRayandOrientedBoundingBoxintersect.static booleanIntersector. intersectRayOrientedBoundsFast(Ray ray, BoundingBox bounds, Matrix4 transform)Check whether the givenRayand OrientedBoundingBoxintersect.booleanOctree.Collider. intersects(BoundingBox nodeBounds, T geometry)Method to calculate intersection between aabb and the geometry.protected voidOctree.OctreeNode. query(BoundingBox aabb, ObjectSet<T> result)ObjectSet<T>Octree. query(BoundingBox aabb, ObjectSet<T> result)Method to query geometries inside nodes that the aabb intersects.Method parameters in com.badlogic.gdx.math with type arguments of type BoundingBox Modifier and Type Method Description protected voidOctree.OctreeNode. getBoundingBox(ObjectSet<BoundingBox> bounds)Get bounding boxes using Depth-First Search recursion.ObjectSet<BoundingBox>Octree. getNodesBoxes(ObjectSet<BoundingBox> boxes)Method to get nodes as bounding boxes. -
Uses of BoundingBox in com.badlogic.gdx.math.collision
Methods in com.badlogic.gdx.math.collision that return BoundingBox Modifier and Type Method Description BoundingBoxBoundingBox. clr()Sets the minimum and maximum vector to zeros.BoundingBoxBoundingBox. ext(float x, float y, float z)Extends the bounding box by the given vector.BoundingBoxBoundingBox. ext(BoundingBox a_bounds)Extends this bounding box by the given bounding box.BoundingBoxBoundingBox. ext(BoundingBox bounds, Matrix4 transform)Extends this bounding box by the given transformed bounding box.BoundingBoxBoundingBox. ext(Vector3 point)Extends the bounding box to incorporate the givenVector3.BoundingBoxBoundingBox. ext(Vector3 center, float radius)Extends this bounding box by the given sphere.BoundingBoxOrientedBoundingBox. getBounds()Get the current bounds.BoundingBoxBoundingBox. inf()Sets the minimum and maximum vector to positive and negative infinity.BoundingBoxBoundingBox. mul(Matrix4 transform)Multiplies the bounding box by the given matrix.BoundingBoxBoundingBox. set(BoundingBox bounds)Sets the given bounding box.BoundingBoxBoundingBox. set(Vector3[] points)Sets the bounding box minimum and maximum vector from the given points.BoundingBoxBoundingBox. set(Vector3 minimum, Vector3 maximum)Sets the given minimum and maximum vector.BoundingBoxBoundingBox. set(java.util.List<Vector3> points)Sets the bounding box minimum and maximum vector from the given points.Methods in com.badlogic.gdx.math.collision with parameters of type BoundingBox Modifier and Type Method Description booleanBoundingBox. contains(BoundingBox b)Returns whether the given bounding box is contained in this bounding box.booleanOrientedBoundingBox. contains(BoundingBox b)Returns whether the given bounding box is contained in this oriented bounding box.BoundingBoxBoundingBox. ext(BoundingBox a_bounds)Extends this bounding box by the given bounding box.BoundingBoxBoundingBox. ext(BoundingBox bounds, Matrix4 transform)Extends this bounding box by the given transformed bounding box.booleanBoundingBox. intersects(BoundingBox b)Returns whether the given bounding box is intersecting this bounding box (at least one point in).booleanOrientedBoundingBox. intersects(BoundingBox b)Returns whether the given bounding box is intersecting this oriented bounding box (at least one point in).BoundingBoxBoundingBox. set(BoundingBox bounds)Sets the given bounding box.OrientedBoundingBoxOrientedBoundingBox. set(BoundingBox bounds, Matrix4 transform)voidOrientedBoundingBox. setBounds(BoundingBox bounds)Sets the base bounds of the oriented bounding box as the bounds given, the transform is applied to the vertices.Constructors in com.badlogic.gdx.math.collision with parameters of type BoundingBox Constructor Description BoundingBox(BoundingBox bounds)Constructs a new bounding box from the given bounding box.OrientedBoundingBox(BoundingBox bounds)Constructs a new oriented bounding box from the given bounding box.OrientedBoundingBox(BoundingBox bounds, Matrix4 transform)Constructs a new oriented bounding box from the given bounding box and transform.
-