Go to the documentation of this file.
26 #ifndef TESSERACT_GEOMETRY_CAPSULE_H
27 #define TESSERACT_GEOMETRY_CAPSULE_H
31 #include <boost/serialization/export.hpp>
47 using Ptr = std::shared_ptr<Capsule>;
48 using ConstPtr = std::shared_ptr<const Capsule>;
50 Capsule(
double radius,
double length);
58 bool operator==(const
Capsule& rhs) const;
59 bool operator!=(const
Capsule& rhs) const;
67 template <
class Archive>
68 void serialize(Archive& ar,
const unsigned int version);
73 #endif // TESSERACT_GEOMETRY_CAPSULE_H
std::shared_ptr< Geometry > Ptr
~Capsule() override=default
void serialize(Archive &ar, const unsigned int version)
#define TESSERACT_COMMON_IGNORE_WARNINGS_PUSH
Geometry::Ptr clone() const override final
Create a copy of this shape.
friend class boost::serialization::access
#define TESSERACT_COMMON_IGNORE_WARNINGS_POP
std::shared_ptr< const Geometry > ConstPtr