#include <sphere.h>
Public Types | |
using | ConstPtr = std::shared_ptr< const Sphere > |
using | Ptr = std::shared_ptr< Sphere > |
![]() | |
using | ConstPtr = std::shared_ptr< const Geometry > |
using | Ptr = std::shared_ptr< Geometry > |
Public Member Functions | |
Geometry::Ptr | clone () const override final |
Create a copy of this shape. More... | |
double | getRadius () const |
bool | operator!= (const Sphere &rhs) const |
bool | operator== (const Sphere &rhs) const |
Sphere ()=default | |
Sphere (double r) | |
~Sphere () override=default | |
![]() | |
Geometry (const Geometry &)=default | |
Geometry (Geometry &&)=default | |
Geometry (GeometryType type=GeometryType::UNINITIALIZED) | |
GeometryType | getType () const |
Get the geometry type. More... | |
const boost::uuids::uuid & | getUUID () const |
Get the geometry UUID. More... | |
bool | operator!= (const Geometry &rhs) const |
Geometry & | operator= (const Geometry &)=default |
Geometry & | operator= (Geometry &&)=default |
bool | operator== (const Geometry &rhs) const |
void | setUUID (const boost::uuids::uuid &uuid) |
Set the geometry UUID. More... | |
virtual | ~Geometry ()=default |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
Private Attributes | |
double | r_ { 0 } |
Friends | |
class | boost::serialization::access |
struct | tesseract_common::Serialization |
using tesseract_geometry::Sphere::ConstPtr = std::shared_ptr<const Sphere> |
using tesseract_geometry::Sphere::Ptr = std::shared_ptr<Sphere> |
|
explicit |
Definition at line 37 of file sphere.cpp.
|
default |
|
overridedefault |
|
finaloverridevirtual |
Create a copy of this shape.
Implements tesseract_geometry::Geometry.
Definition at line 41 of file sphere.cpp.
double tesseract_geometry::Sphere::getRadius | ( | ) | const |
Definition at line 39 of file sphere.cpp.
bool tesseract_geometry::Sphere::operator!= | ( | const Sphere & | rhs | ) | const |
Definition at line 50 of file sphere.cpp.
bool tesseract_geometry::Sphere::operator== | ( | const Sphere & | rhs | ) | const |
Definition at line 43 of file sphere.cpp.
|
private |
Definition at line 53 of file sphere.cpp.
|
friend |