AdaptivePath::Interpolation Class Reference

Public Member Functions

void addPoint (double area, double angle)
 
double clampAngle (double angle)
 
void clear ()
 
size_t getPointCount ()
 
double getRandomAngle ()
 
double interpolateAngle (double targetArea)
 

Public Attributes

const double MAX_ANGLE = M_PI / 4
 
const double MIN_ANGLE = -M_PI / 4
 

Member Function Documentation

◆ addPoint()

void AdaptivePath::Interpolation::addPoint ( double  area,
double  angle 
)

◆ clampAngle()

double AdaptivePath::Interpolation::clampAngle ( double  angle)

◆ clear()

void AdaptivePath::Interpolation::clear ( void  )

◆ getPointCount()

size_t AdaptivePath::Interpolation::getPointCount ( )

◆ getRandomAngle()

double AdaptivePath::Interpolation::getRandomAngle ( )

References MAX_ANGLE, and MIN_ANGLE.

◆ interpolateAngle()

double AdaptivePath::Interpolation::interpolateAngle ( double  targetArea)

References MAX_ANGLE, and MIN_ANGLE.

Member Data Documentation

◆ MAX_ANGLE

const double AdaptivePath::Interpolation::MAX_ANGLE = M_PI / 4

◆ MIN_ANGLE

const double AdaptivePath::Interpolation::MIN_ANGLE = -M_PI / 4

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