26#ifndef TESSERACT_GEOMETRY_CYLINDER_H
27#define TESSERACT_GEOMETRY_CYLINDER_H
31#include <boost/serialization/access.hpp>
32#include <boost/serialization/export.hpp>
43 using Ptr = std::shared_ptr<Cylinder>;
44 using ConstPtr = std::shared_ptr<const Cylinder>;
62 template <
class Archive>
63 void serialize(Archive& ar,
const unsigned int version);
Definition: cylinder.h:41
void serialize(Archive &ar, const unsigned int version)
Definition: cylinder.cpp:49
std::shared_ptr< Cylinder > Ptr
Definition: cylinder.h:43
std::shared_ptr< const Cylinder > ConstPtr
Definition: cylinder.h:44
double getLength() const
Definition: cylinder.h:51
~Cylinder() override=default
Geometry::Ptr clone() const override final
Create a copy of this shape.
Definition: cylinder.h:53
bool operator==(const Cylinder &rhs) const
Definition: cylinder.cpp:38
bool operator!=(const Cylinder &rhs) const
Definition: cylinder.cpp:46
double getRadius() const
Definition: cylinder.h:50
friend class boost::serialization::access
Definition: cylinder.h:61
Cylinder(double r, double l)
Definition: cylinder.h:46
double r_
Definition: cylinder.h:58
double l_
Definition: cylinder.h:59
Definition: geometry.h:60
std::shared_ptr< Geometry > Ptr
Definition: geometry.h:62
#define TESSERACT_COMMON_IGNORE_WARNINGS_PUSH
Definition: macros.h:71
Definition: create_convex_hull.cpp:36
Definition: geometry.h:39
GeometryType
Definition: geometry.h:41
@ CYLINDER
Definition: geometry.h:44