27 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
41 Eigen::Vector2d
center()
const;
46 void set_center(
const Eigen::Vector2d &_center);
49 virtual void print(std::ostringstream &stream)
const = 0;
54 virtual ShapeType
type()
const = 0;
void set_center(const Eigen::Vector2d &_center)
Set geometric center of shape.
std::shared_ptr< const Shape > ShapeConstPtr
virtual Shape * clone() const =0
Shape(const Eigen::Vector2d &_center)
std::shared_ptr< const CollisionObject > CollisionObjectConstPtr
virtual const ISolverEntity_FCL * getFclInterface() const override
EIGEN_MAKE_ALIGNED_OPERATOR_NEW CollisionObjectClass getCollisionObjectClass() const override
virtual CollisionObjectConstPtr timeSlice(int time_idx, CollisionObjectConstPtr shared_ptr_this) const
double radius() const
Get radius.
Base prototype for the shape of an obstacle.
virtual void print(std::ostringstream &stream) const =0
Print all parameters of the shape.
virtual ShapeType type() const =0
Get shape type.
Eigen::Vector2d center() const
Get geometric center of shape.
Provides functionality to use different collision solvers.