Aikido
|
A projectable constraint. More...
#include <aikido/constraint/Projectable.hpp>
Public Member Functions | |
virtual | ~Projectable ()=default |
virtual statespace::ConstStateSpacePtr | getStateSpace () const =0 |
Gets the StateSpace that this constraint operates on. More... | |
virtual bool | project (const statespace::StateSpace::State *_s, statespace::StateSpace::State *_out) const =0 |
Projection _s to _out. More... | |
virtual bool | project (statespace::StateSpace::State *_s) const |
Performs an in-place projection. More... | |
A projectable constraint.
|
virtualdefault |
|
pure virtual |
Gets the StateSpace that this constraint operates on.
Implemented in aikido::constraint::dart::TSR, aikido::constraint::uniform::RBoxConstraint< N >, aikido::constraint::uniform::SE2BoxConstraint, aikido::constraint::NewtonsMethodProjectable, aikido::constraint::Satisfied, and aikido::constraint::CartesianProductProjectable.
|
pure virtual |
Projection _s to _out.
Returns false if projection cannot be done.
_s | state to be projected. |
_out | resulting projection. |
Implemented in aikido::constraint::uniform::SE2BoxConstraint, aikido::constraint::dart::TSR, aikido::constraint::uniform::RBoxConstraint< N >, aikido::constraint::Satisfied, aikido::constraint::NewtonsMethodProjectable, and aikido::constraint::CartesianProductProjectable.
|
virtual |
Performs an in-place projection.
By default, it creates a copy and then calls the two-parameter project.
_s | state to be projected and mutated. |