Package org.robwork.sdurw_geometry
Class BVColliderOBBColiderOBB_f
- java.lang.Object
-
- org.robwork.sdurw_geometry.BVColliderOBBColiderOBB_f
-
- Direct Known Subclasses:
OBBCollider_f
public class BVColliderOBBColiderOBB_f 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_f()
constructorBVColliderOBBColiderOBB_f(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_f obj)
boolean
inCollision(OBB_f bvA, OBB_f bvB, Transform3Df aTb)
test if two bounding volumes are colliding
-
-
-
Method Detail
-
getCPtr
public static long getCPtr(BVColliderOBBColiderOBB_f obj)
-
delete
public void delete()
-
inCollision
public boolean inCollision(OBB_f bvA, OBB_f bvB, Transform3Df 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
-
-