Tesseract
Motion Planning Environment
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
tesseract_geometry::Cone Class Reference

#include <cone.h>

Inheritance diagram for tesseract_geometry::Cone:
Inheritance graph
[legend]
Collaboration diagram for tesseract_geometry::Cone:
Collaboration graph
[legend]

Public Types

using Ptr = std::shared_ptr< Cone >
 
using ConstPtr = std::shared_ptr< const Cone >
 
- Public Types inherited from tesseract_geometry::Geometry
using Ptr = std::shared_ptr< Geometry >
 
using ConstPtr = std::shared_ptr< const Geometry >
 

Public Member Functions

 Cone (double r, double l)
 
 Cone ()=default
 
 ~Cone () override=default
 
double getRadius () const
 
double getLength () const
 
Geometry::Ptr clone () const override final
 Create a copy of this shape. More...
 
bool operator== (const Cone &rhs) const
 
bool operator!= (const Cone &rhs) const
 
- Public Member Functions inherited from tesseract_geometry::Geometry
 Geometry (GeometryType type=GeometryType::UNINITIALIZED)
 
virtual ~Geometry ()=default
 
 Geometry (const Geometry &)=default
 
Geometryoperator= (const Geometry &)=default
 
 Geometry (Geometry &&)=default
 
Geometryoperator= (Geometry &&)=default
 
virtual Geometry::Ptr clone () const =0
 Create a copy of this shape. More...
 
GeometryType getType () const
 
bool operator== (const Geometry &rhs) const
 
bool operator!= (const Geometry &rhs) const
 

Private Member Functions

template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Private Attributes

double r_ { 0 }
 
double l_ { 0 }
 

Friends

class boost::serialization::access
 

Member Typedef Documentation

◆ ConstPtr

using tesseract_geometry::Cone::ConstPtr = std::shared_ptr<const Cone>

◆ Ptr

using tesseract_geometry::Cone::Ptr = std::shared_ptr<Cone>

Constructor & Destructor Documentation

◆ Cone() [1/2]

tesseract_geometry::Cone::Cone ( double  r,
double  l 
)
inline

◆ Cone() [2/2]

tesseract_geometry::Cone::Cone ( )
default

◆ ~Cone()

tesseract_geometry::Cone::~Cone ( )
overridedefault

Member Function Documentation

◆ clone()

Geometry::Ptr tesseract_geometry::Cone::clone ( ) const
inlinefinaloverridevirtual

Create a copy of this shape.

Implements tesseract_geometry::Geometry.

◆ getLength()

double tesseract_geometry::Cone::getLength ( ) const
inline

◆ getRadius()

double tesseract_geometry::Cone::getRadius ( ) const
inline

◆ operator!=()

bool tesseract_geometry::Cone::operator!= ( const Cone rhs) const

◆ operator==()

bool tesseract_geometry::Cone::operator== ( const Cone rhs) const

◆ serialize()

template<class Archive >
void tesseract_geometry::Cone::serialize ( Archive &  ar,
const unsigned int  version 
)
private

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Member Data Documentation

◆ l_

double tesseract_geometry::Cone::l_ { 0 }
private

◆ r_

double tesseract_geometry::Cone::r_ { 0 }
private

The documentation for this class was generated from the following files: