Package org.robwork.sdurw_proximity
Class CollisionResult.CollisionPair
- java.lang.Object
-
- org.robwork.sdurw_proximity.CollisionResult.CollisionPair
-
- Enclosing class:
- CollisionResult
public static class CollisionResult.CollisionPair extends java.lang.Object
a collision pair of
-
-
Constructor Summary
Constructors Constructor Description CollisionPair()
Default constructorCollisionPair(long cPtr, boolean cMemoryOwn)
CollisionPair(CollisionResult.CollisionPair copy)
Copy Constructor
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete()
static long
getCPtr(CollisionResult.CollisionPair obj)
int
getGeoIdxA()
geometry indexint
getGeoIdxB()
int
getSize()
int
getStartIdx()
indices into the geomPrimIds array, which means that inidicies
[_geomPrimIds[startIdx];_geomPrimIds[startIdx+size]] are the colliding primitives
between geometries geoIdxA and geoIdxBvoid
setGeoIdxA(int value)
geometry indexvoid
setGeoIdxB(int value)
void
setSize(int value)
void
setStartIdx(int value)
indices into the geomPrimIds array, which means that inidicies
[_geomPrimIds[startIdx];_geomPrimIds[startIdx+size]] are the colliding primitives
between geometries geoIdxA and geoIdxB
-
-
-
Constructor Detail
-
CollisionPair
public CollisionPair(long cPtr, boolean cMemoryOwn)
-
CollisionPair
public CollisionPair()
Default constructor
-
CollisionPair
public CollisionPair(CollisionResult.CollisionPair copy)
Copy Constructor
-
-
Method Detail
-
getCPtr
public static long getCPtr(CollisionResult.CollisionPair obj)
-
delete
public void delete()
-
setGeoIdxA
public void setGeoIdxA(int value)
geometry index
-
getGeoIdxA
public int getGeoIdxA()
geometry index
-
setGeoIdxB
public void setGeoIdxB(int value)
-
getGeoIdxB
public int getGeoIdxB()
-
setStartIdx
public void setStartIdx(int value)
indices into the geomPrimIds array, which means that inidicies
[_geomPrimIds[startIdx];_geomPrimIds[startIdx+size]] are the colliding primitives
between geometries geoIdxA and geoIdxB
-
getStartIdx
public int getStartIdx()
indices into the geomPrimIds array, which means that inidicies
[_geomPrimIds[startIdx];_geomPrimIds[startIdx+size]] are the colliding primitives
between geometries geoIdxA and geoIdxB
-
setSize
public void setSize(int value)
-
getSize
public int getSize()
-
-