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

#include <sphere.h>

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

Public Member Functions

 Sphere ()
 
 Sphere (double r)
 
bool isA (const char *name) override
 
void print (std::ostream &os) override
 
void clear () override
 
const char * getTypename () override
 
double getRadius () const
 
void setRadius (double r)
 
void setOrigin (double x, double y, double z) override
 
void getOrigin (double *xyz) const override
 
double getRadius () override
 
bool empty () const override
 
- Public Member Functions inherited from GeometryBase
virtual ~GeometryBase ()=default
 
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

◆ Sphere() [1/2]

Sphere::Sphere ( )

◆ Sphere() [2/2]

Sphere::Sphere ( double  r)

Member Function Documentation

◆ clear()

void Sphere::clear ( )
overridevirtual

Implements ObjectBase.

◆ empty()

bool Sphere::empty ( ) const
overridevirtual

Implements ObjectBase.

◆ getOrigin()

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

Implements GeometryBase.

◆ getRadius() [1/2]

double Sphere::getRadius ( ) const

◆ getRadius() [2/2]

double Sphere::getRadius ( )
overridevirtual

Reimplemented from GeometryBase.

◆ getTypename()

const char * Sphere::getTypename ( )
overridevirtual

Implements ObjectBase.

◆ isA()

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

Implements ObjectBase.

◆ print()

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

Implements ObjectBase.

◆ setOrigin()

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

Implements GeometryBase.

◆ setRadius()

void Sphere::setRadius ( double  r)

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