#include <cylinder.h>
Public Types | |
using | ConstPtr = std::shared_ptr< const Cylinder > |
using | Ptr = std::shared_ptr< Cylinder > |
![]() | |
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... | |
Cylinder ()=default | |
Cylinder (double radius, double length) | |
double | getLength () const |
double | getRadius () const |
bool | operator!= (const Cylinder &rhs) const |
bool | operator== (const Cylinder &rhs) const |
~Cylinder () 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 | l_ { 0 } |
double | r_ { 0 } |
Friends | |
class | boost::serialization::access |
struct | tesseract_common::Serialization |
Definition at line 44 of file cylinder.h.
using tesseract_geometry::Cylinder::ConstPtr = std::shared_ptr<const Cylinder> |
Definition at line 48 of file cylinder.h.
using tesseract_geometry::Cylinder::Ptr = std::shared_ptr<Cylinder> |
Definition at line 47 of file cylinder.h.
tesseract_geometry::Cylinder::Cylinder | ( | double | radius, |
double | length | ||
) |
Definition at line 37 of file cylinder.cpp.
|
default |
|
overridedefault |
|
finaloverridevirtual |
Create a copy of this shape.
Implements tesseract_geometry::Geometry.
Definition at line 42 of file cylinder.cpp.
double tesseract_geometry::Cylinder::getLength | ( | ) | const |
Definition at line 40 of file cylinder.cpp.
double tesseract_geometry::Cylinder::getRadius | ( | ) | const |
Definition at line 39 of file cylinder.cpp.
bool tesseract_geometry::Cylinder::operator!= | ( | const Cylinder & | rhs | ) | const |
Definition at line 52 of file cylinder.cpp.
bool tesseract_geometry::Cylinder::operator== | ( | const Cylinder & | rhs | ) | const |
Definition at line 44 of file cylinder.cpp.
|
private |
Definition at line 55 of file cylinder.cpp.
|
friend |
Definition at line 65 of file cylinder.h.
|
friend |
Definition at line 66 of file cylinder.h.
|
private |
Definition at line 63 of file cylinder.h.
|
private |
Definition at line 62 of file cylinder.h.