Package org.robwork.sdurw_geometry
Class BVColliderOBBColiderOBB
- java.lang.Object
-
- org.robwork.sdurw_geometry.BVColliderOBBColiderOBB
-
- Direct Known Subclasses:
OBBCollider
public class BVColliderOBBColiderOBB extends java.lang.Object
abstract class describing interface of a bounding volume collision
detector. The inheritance is template based to reduce virtual method overhead
-
-
Constructor Summary
Constructors Constructor Description BVColliderOBBColiderOBB()
constructorBVColliderOBBColiderOBB(long cPtr, boolean cMemoryOwn)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete()
static long
getCPtr(BVColliderOBBColiderOBB obj)
boolean
inCollision(OBB bvA, OBB bvB, Transform3D aTb)
test if two bounding volumes are colliding
-
-
-
Method Detail
-
getCPtr
public static long getCPtr(BVColliderOBBColiderOBB obj)
-
delete
public void delete()
-
inCollision
public boolean inCollision(OBB bvA, OBB bvB, Transform3D aTb)
test if two bounding volumes are colliding- Parameters:
bvA
- [in] bounding volume AbvB
- [in] bounding volume BaTb
- [in] transform from bvA to bvB- Returns:
- true if in collision
-
-