Cylinder Class Referencefinal

Definition of a cylinder. More...

#include <drake/geometry/shape_specification.h>

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, void *user_data=nullptr) 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() [1/3]

Cylinder ( const Cylinder )

◆ Cylinder() [2/3]

Cylinder ( Cylinder &&  )

◆ Cylinder() [3/3]

Cylinder ( double  radius,
double  length 

Member Function Documentation

◆ get_length()

double get_length ( ) const

◆ get_radius()

double get_radius ( ) const

◆ operator=() [1/2]

Cylinder& operator= ( const Cylinder )

◆ operator=() [2/2]

Cylinder& operator= ( Cylinder &&  )

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