Skip to content
Snippets Groups Projects
Commit 6b0a0fc8 authored by Joan Solà Ortega's avatar Joan Solà Ortega
Browse files

New class StatePolylinePoint2d

parent d88d0d6c
No related branches found
No related tags found
2 merge requests!42devel->main,!40Resolve "follow core 465 Migrate from StateBlock to StateDerived"
#include "laser/state_block/local_parametrization_polyline_extreme.h"
#include <core/state_block/state_block_derived.h>
namespace wolf
{
class StatePolylinePoint2d : public StatePoint2d
{
public:
StatePolylinePoint2d(const Vector2d &_point,
StateBlockPtr _adjacent = nullptr,
bool _fixed = false,
bool _transformable = true);
~StatePolylinePoint2d() {}
};
inline StatePolylinePoint2d::StatePolylinePoint2d(const Vector2d &_point,
StateBlockPtr _reference_point,
bool _fixed,
bool _transformable)
: StatePoint2d(_point, _fixed, _transformable)
{
if (_reference_point) local_param_ptr_ = std::make_shared<LocalParametrizationPolylineExtreme>(_reference_point);
}
} // namespace wolf
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment