Package physx.common
Class PxBounds3
- java.lang.Object
-
- physx.NativeObject
-
- physx.common.PxBounds3
-
public class PxBounds3 extends NativeObject
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class physx.NativeObject
NativeObject.Allocator<T>
-
-
Field Summary
-
Fields inherited from class physx.NativeObject
address, isStackAllocated
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancontains(PxVec3 v)voiddestroy()voidfattenFast(float distance)voidfattenSafe(float distance)PxVec3getCenter()PxVec3getDimensions()PxVec3getExtents()PxVec3getMaximum()PxVec3getMinimum()voidinclude(PxVec3 v)booleanintersects(PxBounds3 b)booleanintersects1D(PxBounds3 b, int axis)booleanisEmpty()booleanisFinite()booleanisInside(PxBounds3 box)booleanisValid()voidscaleFast(float scale)voidscaleSafe(float scale)voidsetEmpty()voidsetMaximal()voidsetMaximum(PxVec3 value)voidsetMinimum(PxVec3 value)static PxBounds3wrapPointer(long address)-
Methods inherited from class physx.NativeObject
getAddress
-
-
-
-
Method Detail
-
wrapPointer
public static PxBounds3 wrapPointer(long address)
-
destroy
public void destroy()
-
setEmpty
public void setEmpty()
-
setMaximal
public void setMaximal()
-
isEmpty
public boolean isEmpty()
- Returns:
- boolean
-
intersects
public boolean intersects(PxBounds3 b)
- Parameters:
b-PxBounds3[Const, Ref]- Returns:
- boolean
-
intersects1D
public boolean intersects1D(PxBounds3 b, int axis)
- Parameters:
b-PxBounds3[Const, Ref]axis- unsigned long- Returns:
- boolean
-
isInside
public boolean isInside(PxBounds3 box)
- Parameters:
box-PxBounds3[Const, Ref]- Returns:
- boolean
-
scaleSafe
public void scaleSafe(float scale)
- Parameters:
scale- float
-
scaleFast
public void scaleFast(float scale)
- Parameters:
scale- float
-
fattenSafe
public void fattenSafe(float distance)
- Parameters:
distance- float
-
fattenFast
public void fattenFast(float distance)
- Parameters:
distance- float
-
isFinite
public boolean isFinite()
- Returns:
- boolean
-
isValid
public boolean isValid()
- Returns:
- boolean
-
-