29 #include <RobotComponents/interface/components/MotionPlanning/CSpace/CSpace.h>
52 virtual public CSpaceBase
62 bool isValidConfiguration(const ::std::pair<const Ice::Float*, const Ice::Float*>& config,
const Ice::Current& = Ice::emptyCurrent)
const override;
75 bool isCollisionFree(const ::std::pair<const Ice::Float*, const Ice::Float*>& config,
const Ice::Current& = Ice::emptyCurrent)
override = 0;
80 CSpaceBasePtr
clone(
const Ice::Current& = Ice::emptyCurrent)
override = 0;
107 return isCollisionFree(std::make_pair(config.data(), config.data() + config.size()));
127 virtual public CSpaceAdaptorBase
130 CSpaceAdaptor(CSpaceBasePtr originalCSpace): CSpaceAdaptorBase(originalCSpace)
132 if (! originalCSpace)
134 throw std::invalid_argument {
"the original cspace can't be null"};
140 return originalCSpace;