26#ifndef TESSERACT_GEOMETRY_SPHERE_H
27#define TESSERACT_GEOMETRY_SPHERE_H
31#include <boost/serialization/access.hpp>
32#include <boost/serialization/export.hpp>
43 using Ptr = std::shared_ptr<Sphere>;
44 using ConstPtr = std::shared_ptr<const Sphere>;
60 template <
class Archive>
61 void serialize(Archive& ar,
const unsigned int version);
Definition: geometry.h:60
std::shared_ptr< Geometry > Ptr
Definition: geometry.h:62
double r_
Definition: sphere.h:57
Sphere(double r)
Definition: sphere.h:46
bool operator!=(const Sphere &rhs) const
Definition: sphere.cpp:45
void serialize(Archive &ar, const unsigned int version)
Definition: sphere.cpp:48
~Sphere() override=default
std::shared_ptr< Sphere > Ptr
Definition: sphere.h:43
Geometry::Ptr clone() const override final
Create a copy of this shape.
Definition: sphere.h:52
double getRadius() const
Definition: sphere.h:50
bool operator==(const Sphere &rhs) const
Definition: sphere.cpp:38
std::shared_ptr< const Sphere > ConstPtr
Definition: sphere.h:44
friend class boost::serialization::access
Definition: sphere.h:59
#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
@ SPHERE
Definition: geometry.h:43