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::Box Class Reference

#include <box.h>

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

Public Types

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

Public Member Functions

 Box (double x, double y, double z)
 
 Box ()=default
 
 ~Box () override=default
 
double getX () const
 
double getY () const
 
double getZ () const
 
Geometry::Ptr clone () const override final
 Create a copy of this shape. More...
 
bool operator== (const Box &rhs) const
 
bool operator!= (const Box &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 x_ { 0 }
 
double y_ { 0 }
 
double z_ { 0 }
 

Friends

class boost::serialization::access
 

Member Typedef Documentation

◆ ConstPtr

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

◆ Ptr

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

Constructor & Destructor Documentation

◆ Box() [1/2]

tesseract_geometry::Box::Box ( double  x,
double  y,
double  z 
)
inline

◆ Box() [2/2]

tesseract_geometry::Box::Box ( )
default

◆ ~Box()

tesseract_geometry::Box::~Box ( )
overridedefault

Member Function Documentation

◆ clone()

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

Create a copy of this shape.

Implements tesseract_geometry::Geometry.

◆ getX()

double tesseract_geometry::Box::getX ( ) const
inline

◆ getY()

double tesseract_geometry::Box::getY ( ) const
inline

◆ getZ()

double tesseract_geometry::Box::getZ ( ) const
inline

◆ operator!=()

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

◆ operator==()

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

◆ serialize()

template<class Archive >
void tesseract_geometry::Box::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

◆ x_

double tesseract_geometry::Box::x_ { 0 }
private

◆ y_

double tesseract_geometry::Box::y_ { 0 }
private

◆ z_

double tesseract_geometry::Box::z_ { 0 }
private

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