Cylinder Class Referencefinal

Definition of a cylinder. More...

#include <drake/geometry/shape_specification.h>

Inheritance diagram for Cylinder:
Collaboration diagram for Cylinder:

Public Member Functions

 Cylinder (double radius, double length)
double get_radius () const
double get_length () const
Implements CopyConstructible, CopyAssignable, MoveConstructible, MoveAssignable
 Cylinder (const Cylinder &)=default
Cylinderoperator= (const Cylinder &)=default
 Cylinder (Cylinder &&)=default
Cylinderoperator= (Cylinder &&)=default
- Public Member Functions inherited from Shape
virtual ~Shape ()
void Reify (ShapeReifier *reifier) const
 Causes this description to be reified in the given reifier. More...
std::unique_ptr< ShapeClone () const
 Creates a unique copy of this shape. More...

Additional Inherited Members

- Protected Member Functions inherited from Shape
template<typename S >
 Shape (ShapeTag< S > tag)
 Constructor available for derived class construction. More...
 Shape (const Shape &)=default
Shapeoperator= (const Shape &)=default
 Shape (Shape &&)=default
Shapeoperator= (Shape &&)=default

Detailed Description

Definition of a cylinder.

It is centered in its canonical frame with the length of the cylinder parallel with the frame's z-axis.

Constructor & Destructor Documentation

Cylinder ( const Cylinder )
Cylinder ( Cylinder &&  )
Cylinder ( double  radius,
double  length 

Member Function Documentation

double get_length ( ) const
double get_radius ( ) const
Cylinder& operator= ( const Cylinder )
Cylinder& operator= ( Cylinder &&  )

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