Function necsim::archimedesSpiralY

Function Documentation

unsigned long necsim::archimedesSpiralY(const double &centre_x, const double &centre_y, const double &radius, const double &theta)

Gets the y coordinate of the archimedes spiral.

Parameters
  • centre_x: the x coordinate of the spiral centre
  • centre_y: the y coordinate of the spiral centre
  • radius: the radius of the spiral
  • theta: the theta of rotation of the spiral