Package org.robwork.sdurw_pathplanning
Class StateConstraint
- java.lang.Object
-
- org.robwork.sdurw_pathplanning.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 voiddelete()static longgetCPtr(StateConstraint obj)booleaninCollision(State state)True if the work cell is considered to be in collision for the
work cell state state.static StateConstraintPtrmake(VectorStateConstraintPtr constraints)Combine a set of state constraints into a single state
constraint.static StateConstraintPtrmake(CollisionDetectorPtr detector)Map a collision detector to a state constraint.voidsetLog(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(VectorStateConstraintPtr constraints)
Combine a set of state constraints into a single state
constraint.
-
-