TinyURDF 1.0.0
A Modern C++ Library for Parsing and Visualizing URDF Model Files
Loading...
Searching...
No Matches
Box Class Reference

#include <box.h>

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

Public Member Functions

 Box ()
 
 Box (double *xyz)
 
 Box (double x, double y, double z)
 
bool isA (const char *name) override
 
const char * getTypename () override
 
bool empty () const override
 
void print (std::ostream &os) override
 
void setOrigin (double x, double y, double z) override
 
void getOrigin (double *xyz) const override
 
Vec3 getDim () const
 
void clear () override
 
 ~Box ()
 
- Public Member Functions inherited from GeometryBase
virtual ~GeometryBase ()=default
 
virtual double getRadius ()
 
virtual double getLength ()
 
virtual std::string getFilename ()
 
virtual Vec3 getScale ()
 

Additional Inherited Members

- Protected Member Functions inherited from GeometryBase
 GeometryBase ()
 
- Protected Member Functions inherited from ObjectBase
 ObjectBase ()
 
virtual ~ObjectBase ()
 
virtual ObjectBasegetPointer ()
 

Constructor & Destructor Documentation

◆ Box() [1/3]

Box::Box ( )

◆ Box() [2/3]

Box::Box ( double *  xyz)
explicit

◆ Box() [3/3]

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

◆ ~Box()

Box::~Box ( )

Member Function Documentation

◆ clear()

void Box::clear ( )
overridevirtual

Implements ObjectBase.

◆ empty()

bool Box::empty ( ) const
overridevirtual

Implements ObjectBase.

◆ getDim()

Vec3 Box::getDim ( ) const

◆ getOrigin()

void Box::getOrigin ( double *  xyz) const
overridevirtual

Implements GeometryBase.

◆ getTypename()

const char * Box::getTypename ( )
overridevirtual

Implements ObjectBase.

◆ isA()

bool Box::isA ( const char *  name)
overridevirtual

Implements ObjectBase.

◆ print()

void Box::print ( std::ostream &  os)
overridevirtual

Implements ObjectBase.

◆ setOrigin()

void Box::setOrigin ( double  x,
double  y,
double  z 
)
overridevirtual

Implements GeometryBase.


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