1 #ifndef _generatingPoints_h_ 2 #define _generatingPoints_h_ 10 double *
fisherDistribution(
double theta,
double phi,
double kappa, std::mt19937_64 &generator);
11 double *
randomTranslation(std::mt19937_64 &generator,
float xMin,
float xMax,
float yMin,
float yMax,
float zMin,
float zMax);
13 void generateTheta(
float * &thetaArray,
float aspectRatio,
int nPoints);
struct Point lineFunction3D(double *v, double *point, double t)
void generateTheta(float *&thetaArray, float aspectRatio, int nPoints)
double * fisherDistribution(double theta, double phi, double kappa, std::mt19937_64 &generator)
double * randomTranslation(std::mt19937_64 &generator, float xMin, float xMax, float yMin, float yMax, float zMin, float zMax)
std::vector< Point > discretizeLineOfIntersection(double *pt1, double *pt2, double dist)
float truncatedPowerLaw(float randomNum, float emin, float emax, float alpha)
bool greaterThan(float i, float j)