Drake
Cylinder Class Reference

#include <drake/systems/plants/shapes/Geometry.h>

Inheritance diagram for Cylinder:
Collaboration diagram for Cylinder:

Public Member Functions

 Cylinder (double radius, double length)
 
virtual ~Cylinder ()
 
virtual Cylinderclone () const
 
virtual void getPoints (Eigen::Matrix3Xd &points) const
 
virtual void getBoundingBoxPoints (Eigen::Matrix3Xd &points) const
 
- Public Member Functions inherited from Geometry
 Geometry ()
 
 Geometry (const Geometry &other)
 
virtual ~Geometry ()
 
Shape getShape () const
 
virtual void getTerrainContactPoints (Eigen::Matrix3Xd &points) const
 

Public Attributes

double radius
 
double length
 

Friends

DRAKESHAPES_EXPORT std::ostream & operator<< (std::ostream &, const Cylinder &)
 A toString method for this class. More...
 

Additional Inherited Members

- Protected Member Functions inherited from Geometry
 Geometry (Shape shape)
 
void getBoundingBoxPoints (double x_half_width, double y_half_width, double z_half_width, Eigen::Matrix3Xd &points) const
 
- Protected Attributes inherited from Geometry
Shape shape
 
- Static Protected Attributes inherited from Geometry
static const int NUM_BBOX_POINTS = 8
 

Constructor & Destructor Documentation

Cylinder ( double  radius,
double  length 
)

Here is the caller graph for this function:

virtual ~Cylinder ( )
inlinevirtual

Here is the call graph for this function:

Member Function Documentation

Cylinder * clone ( ) const
virtual

Reimplemented from Geometry.

Here is the call graph for this function:

void getBoundingBoxPoints ( Eigen::Matrix3Xd &  points) const
virtual

Reimplemented from Geometry.

Here is the call graph for this function:

Here is the caller graph for this function:

void getPoints ( Eigen::Matrix3Xd &  points) const
virtual

Reimplemented from Geometry.

Here is the call graph for this function:

Friends And Related Function Documentation

DRAKESHAPES_EXPORT std::ostream& operator<< ( std::ostream &  out,
const Cylinder cc 
)
friend

A toString method for this class.

Member Data Documentation

double length
double radius

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