Java com.badlogic.gdx.math.collision BoundingBox fields, constructors, methods, implement or subclass

Example usage for Java com.badlogic.gdx.math.collision BoundingBox fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.badlogic.gdx.math.collision BoundingBox.

The text is from its open source code.

Subclass

com.badlogic.gdx.math.collision.BoundingBox has subclasses.
Click this link to see all its subclasses.

Constructor

BoundingBox()
Constructs a new bounding box with the minimum and maximum vector set to zeros.
BoundingBox(BoundingBox bounds)
Constructs a new bounding box from the given bounding box.
BoundingBox(Vector3 minimum, Vector3 maximum)
Constructs the new bounding box using the given minimum and maximum vector.

Method

BoundingBoxext(Vector3 point)
Extends the bounding box to incorporate the given Vector3 .
BoundingBoxext(BoundingBox a_bounds)
Extends this bounding box by the given bounding box.
BoundingBoxext(float x, float y, float z)
Extends the bounding box by the given vector.
Vector3getCenter()
Vector3getCenter(Vector3 out)
floatgetCenterX()
floatgetCenterY()
floatgetDepth()
Vector3getDimensions()
Vector3getDimensions(final Vector3 out)
floatgetHeight()
floatgetWidth()
BoundingBoxinf()
Sets the minimum and maximum vector to positive and negative infinity.
booleanintersects(BoundingBox b)
Returns whether the given bounding box is intersecting this bounding box (at least one point in).
BoundingBoxmul(Matrix4 transform)
Multiplies the bounding box by the given matrix.
BoundingBoxset(Vector3 minimum, Vector3 maximum)
Sets the given minimum and maximum vector.
StringtoString()