Package org.robwork.sdurw_geometry
Class SphereDistanceCalc_f
- java.lang.Object
-
- org.robwork.sdurw_geometry.BVDistanceCalcSphereDistanceCalc_f
-
- org.robwork.sdurw_geometry.SphereDistanceCalc_f
-
public class SphereDistanceCalc_f extends BVDistanceCalcSphereDistanceCalc_f
class for testing if two Oriented Bounding Boxes are overlapping
-
-
Constructor Summary
Constructors Constructor Description SphereDistanceCalc_f()constructorSphereDistanceCalc_f(long cPtr, boolean cMemoryOwn)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete()floatdistance(BSphere_f a, BSphere_f b)Calculates the distance between two bounding spheres.floatdistance(BSphere_f a, BSphere_f b, Vector3Df aTb)Calculates the distance between two bounding spheres.floatdistanceSqr(BSphere_f a, BSphere_f b, Vector3Df aTb)calculates the squared distance between two bounding spheres.static longgetCPtr(SphereDistanceCalc_f obj)-
Methods inherited from class org.robwork.sdurw_geometry.BVDistanceCalcSphereDistanceCalc_f
distance, getCPtr
-
-
-
-
Method Detail
-
getCPtr
public static long getCPtr(SphereDistanceCalc_f obj)
-
delete
public void delete()
- Overrides:
deletein classBVDistanceCalcSphereDistanceCalc_f
-
distance
public float distance(BSphere_f a, BSphere_f b, Vector3Df aTb)
Calculates the distance between two bounding spheres.- Overrides:
distancein classBVDistanceCalcSphereDistanceCalc_f
-
distance
public float distance(BSphere_f a, BSphere_f b)
Calculates the distance between two bounding spheres.- Overrides:
distancein classBVDistanceCalcSphereDistanceCalc_f
-
-