Public Member Functions | Private Attributes | List of all members
CachedTrigonometryProvider Class Reference

#include <trigonometry_utils.h>

Inheritance diagram for CachedTrigonometryProvider:
Inheritance graph
[legend]

Public Member Functions

 CachedTrigonometryProvider ()
 
double cos (double angle_rad) const override
 
void set_base_angle (double angle_rad) override
 
double sin (double angle_rad) const override
 
void update (double a_min, double a_max, double a_inc)
 

Private Attributes

double _angle_delta
 
double _angle_max
 
double _angle_min
 
std::vector< double > _cos
 
double _cos_base
 
std::vector< double > _sin
 
double _sin_base
 

Detailed Description

Definition at line 37 of file trigonometry_utils.h.

Constructor & Destructor Documentation

CachedTrigonometryProvider::CachedTrigonometryProvider ( )
inline

Definition at line 39 of file trigonometry_utils.h.

Member Function Documentation

double CachedTrigonometryProvider::cos ( double  angle_rad) const
inlineoverridevirtual

Implements TrigonometryProvider.

Definition at line 51 of file trigonometry_utils.h.

void CachedTrigonometryProvider::set_base_angle ( double  angle_rad)
inlineoverridevirtual

Implements TrigonometryProvider.

Definition at line 57 of file trigonometry_utils.h.

double CachedTrigonometryProvider::sin ( double  angle_rad) const
inlineoverridevirtual

Implements TrigonometryProvider.

Definition at line 45 of file trigonometry_utils.h.

void CachedTrigonometryProvider::update ( double  a_min,
double  a_max,
double  a_inc 
)
inline

Definition at line 62 of file trigonometry_utils.h.

Member Data Documentation

double CachedTrigonometryProvider::_angle_delta
private

Definition at line 83 of file trigonometry_utils.h.

double CachedTrigonometryProvider::_angle_max
private

Definition at line 83 of file trigonometry_utils.h.

double CachedTrigonometryProvider::_angle_min
private

Definition at line 83 of file trigonometry_utils.h.

std::vector<double> CachedTrigonometryProvider::_cos
private

Definition at line 81 of file trigonometry_utils.h.

double CachedTrigonometryProvider::_cos_base
private

Definition at line 82 of file trigonometry_utils.h.

std::vector<double> CachedTrigonometryProvider::_sin
private

Definition at line 81 of file trigonometry_utils.h.

double CachedTrigonometryProvider::_sin_base
private

Definition at line 82 of file trigonometry_utils.h.


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


slam_constructor
Author(s): JetBrains Research, OSLL team
autogenerated on Mon Jun 10 2019 15:08:26