Package org.robwork.sdurw_proximity
Class ProximityData
- java.lang.Object
-
- org.robwork.sdurw_proximity.ProximityData
-
public class ProximityData extends java.lang.Object
Holds settings and cached data for collision detectors.
The cache makes it possible for some algorithms to perform faster
detections.
-
-
Constructor Summary
Constructors Constructor Description ProximityData()
Default constructor.
By default, the collision detector returns on first contact
with no detailed information about the collision.
Use setCollisionQueryType to change this behaviour.ProximityData(long cPtr, boolean cMemoryOwn)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete()
ProximityCachePtr
get_cache()
Cached data used by the collision detector to speed up
consecutive queries.CollisionDetector.CollisionDetectorQueryResult
get_collisionData()
CollisionDetector.CollisionDetectorQueryType
getCollisionQueryType()
static long
getCPtr(ProximityData obj)
void
set_cache(ProximityCachePtr value)
Cached data used by the collision detector to speed up
consecutive queries.void
set_collisionData(CollisionDetector.CollisionDetectorQueryResult value)
void
setCollisionQueryType(CollisionDetector.CollisionDetectorQueryType qtype)
-
-
-
Constructor Detail
-
ProximityData
public ProximityData(long cPtr, boolean cMemoryOwn)
-
ProximityData
public ProximityData()
Default constructor.
By default, the collision detector returns on first contact
with no detailed information about the collision.
Use setCollisionQueryType to change this behaviour.
-
-
Method Detail
-
getCPtr
public static long getCPtr(ProximityData obj)
-
delete
public void delete()
-
setCollisionQueryType
public void setCollisionQueryType(CollisionDetector.CollisionDetectorQueryType qtype)
-
getCollisionQueryType
public CollisionDetector.CollisionDetectorQueryType getCollisionQueryType()
-
set_collisionData
public void set_collisionData(CollisionDetector.CollisionDetectorQueryResult value)
-
get_collisionData
public CollisionDetector.CollisionDetectorQueryResult get_collisionData()
-
set_cache
public void set_cache(ProximityCachePtr value)
Cached data used by the collision detector to speed up
consecutive queries.
-
get_cache
public ProximityCachePtr get_cache()
Cached data used by the collision detector to speed up
consecutive queries.
-
-