#include <cone.h>
Public Types | |
using | ConstPtr = std::shared_ptr< const Cone > |
using | Ptr = std::shared_ptr< Cone > |
![]() | |
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... | |
Cone ()=default | |
Cone (double radius, double length) | |
double | getLength () const |
double | getRadius () const |
bool | operator!= (const Cone &rhs) const |
bool | operator== (const Cone &rhs) const |
~Cone () 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 |
using tesseract_geometry::Cone::ConstPtr = std::shared_ptr<const Cone> |
using tesseract_geometry::Cone::Ptr = std::shared_ptr<Cone> |
tesseract_geometry::Cone::Cone | ( | double | radius, |
double | length | ||
) |
|
default |
|
overridedefault |
|
finaloverridevirtual |
Create a copy of this shape.
Implements tesseract_geometry::Geometry.
bool tesseract_geometry::Cone::operator!= | ( | const Cone & | rhs | ) | const |
bool tesseract_geometry::Cone::operator== | ( | const Cone & | rhs | ) | const |
|
private |
|
friend |