Package org.robwork.sdurw
Class StateConstraint
- java.lang.Object
-
- org.robwork.sdurw.StateConstraint
-
public class StateConstraint extends java.lang.Object
Interface for the checking for collisions for work cell states.
-
-
Constructor Summary
Constructors Constructor Description StateConstraint(long cPtr, boolean cMemoryOwn)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete()
static long
getCPtr(StateConstraint obj)
boolean
inCollision(State state)
True if the work cell is considered to be in collision for the
work cell state state.static StateConstraintPtr
make(CollisionDetectorPtr detector)
Map a collision detector to a state constraint.static StateConstraintPtr
make(StateConstraintPtrVector constraints)
Combine a set of state constraints into a single state
constraint.void
setLog(LogPtr log)
Set the log to be used for writing debug info
-
-
-
Method Detail
-
getCPtr
public static long getCPtr(StateConstraint obj)
-
delete
public void delete()
-
setLog
public void setLog(LogPtr log)
Set the log to be used for writing debug info
- Parameters:
log
- [in] Log to which debug information is to be written
-
inCollision
public boolean inCollision(State state)
True if the work cell is considered to be in collision for the
work cell state state.
-
make
public static StateConstraintPtr make(CollisionDetectorPtr detector)
Map a collision detector to a state constraint.
-
make
public static StateConstraintPtr make(StateConstraintPtrVector constraints)
Combine a set of state constraints into a single state
constraint.
-
-