Function ompl::base::operator-(const StateSpacePtr&, const StateSpacePtr&)

Function Documentation

StateSpacePtr ompl::base::operator-(const StateSpacePtr &a, const StateSpacePtr &b)

Construct a compound state space that contains subspaces only from a. If a is compound, b (or the components from b, if b is compound) are removed and the remaining components are returned as a compound state space. If the compound space would end up containing solely one component, that component is returned instead.