/* * ellipsoid.hpp * * Created on: Jan 20, 2009 * Author: heber */ #ifndef ELLIPSOID_HPP_ #define ELLIPSOID_HPP_ using namespace std; /*********************************************** includes ***********************************/ // include config.h #ifdef HAVE_CONFIG_H #include #endif #include /****************************************** forward declarations *****************************/ class LinkedCell_deprecated; class Vector; /********************************************** declarations *******************************/ double SquaredDistanceToEllipsoid(Vector &x, Vector &EllipsoidCenter, double *EllipsoidLength, double *EllipsoidAngle); double SumSquaredDistance (const gsl_vector * x, void * params); bool FitPointSetToEllipsoid(Vector *set, int N, Vector *EllipsoidCenter, double *EllipsoidLength, double *EllipsoidAngle); void PickRandomPointSet(class Tesselation *T, Vector *&x, size_t PointsToPick); void PickRandomNeighbouredPointSet(class Tesselation *T, class LinkedCell_deprecated *LC, Vector *&x, size_t PointsToPick); void FindDistributionOfEllipsoids(class Tesselation *T, class LinkedCell_deprecated *LCList, int N, int number, const char *filename); #endif /* ELLIPSOID_HPP_ */