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

#include <polygon_plugins.h>

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

Public Member Functions

double area ()
 
double getHeight ()
 
void initialize (double side_length)
 
 Triangle ()
 
- 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 45 of file polygon_plugins.h.

Constructor & Destructor Documentation

polygon_plugins::Triangle::Triangle ( )
inline

Definition at line 48 of file polygon_plugins.h.

Member Function Documentation

double polygon_plugins::Triangle::area ( )
inlinevirtual

Implements polygon_base::RegularPolygon.

Definition at line 55 of file polygon_plugins.h.

double polygon_plugins::Triangle::getHeight ( )
inline

Definition at line 60 of file polygon_plugins.h.

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

Implements polygon_base::RegularPolygon.

Definition at line 50 of file polygon_plugins.h.

Member Data Documentation

double polygon_plugins::Triangle::side_length_
private

Definition at line 66 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