Public Member Functions | Private Attributes | List of all members
polygon_plugins::Square Class Reference

#include <polygon_plugins.h>

Inheritance diagram for polygon_plugins::Square:
Inheritance graph
[legend]

Public Member Functions

double area ()
 
void initialize (double side_length)
 
 Square ()
 
- Public Member Functions inherited from polygon_base::RegularPolygon
virtual ~RegularPolygon ()
 

Private Attributes

double side_length_
 

Additional Inherited Members

- Protected Member Functions inherited from polygon_base::RegularPolygon
 RegularPolygon ()
 

Detailed Description

Definition at line 69 of file polygon_plugins.h.

Constructor & Destructor Documentation

polygon_plugins::Square::Square ( )
inline

Definition at line 72 of file polygon_plugins.h.

Member Function Documentation

double polygon_plugins::Square::area ( )
inlinevirtual

Implements polygon_base::RegularPolygon.

Definition at line 79 of file polygon_plugins.h.

void polygon_plugins::Square::initialize ( double  side_length)
inlinevirtual

Implements polygon_base::RegularPolygon.

Definition at line 74 of file polygon_plugins.h.

Member Data Documentation

double polygon_plugins::Square::side_length_
private

Definition at line 85 of file polygon_plugins.h.


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


pluginlib_tutorials
Author(s): Eitan Marder-Eppstein
autogenerated on Wed Jun 5 2019 20:54:26