Drake
Sphere Class Referencefinal

Definition of sphere. More...

#include <drake/geometry/shape_specification.h>

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

Public Member Functions

 Sphere (double radius)
 
double get_radius () const
 
Implements CopyConstructible, CopyAssignable, MoveConstructible, MoveAssignable
 Sphere (const Sphere &)=default
 
Sphereoperator= (const Sphere &)=default
 
 Sphere (Sphere &&)=default
 
Sphereoperator= (Sphere &&)=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 (S *)
 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 sphere.

It is centered in its canonical frame with the given radius.

Constructor & Destructor Documentation

Sphere ( const Sphere )
default
Sphere ( Sphere &&  )
default
Sphere ( double  radius)
explicit

Member Function Documentation

double get_radius ( ) const
inline
Sphere& operator= ( const Sphere )
default
Sphere& operator= ( Sphere &&  )
default

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