Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/tesselationhelpers.hpp

    r71b20e r08d9595  
    2020#endif
    2121
    22 #include <gsl/gsl_linalg.h>
    23 #include <gsl/gsl_matrix.h>
    24 #include <gsl/gsl_multimin.h>
    25 #include <gsl/gsl_permutation.h>
    26 #include <gsl/gsl_vector.h>
    27 
    28 #include <iostream>
     22#include <iosfwd>
    2923
    3024#include "defs.hpp"
     
    4337/********************************************** definitions *********************************/
    4438
    45 #define HULLEPSILON 1e-10
     39#define HULLEPSILON 1e-9 //!< TODO: Get rid of HULLEPSILON, points to numerical instabilities
    4640
    4741/********************************************** declarations *******************************/
    4842
    49 double DetGet(gsl_matrix * const A, const int inPlace);
    5043void GetSphere(Vector * const Center, const Vector &a, const Vector &b, const Vector &c, const double RADIUS);
    5144void GetCenterOfSphere(Vector* const Center, const Vector &a, const Vector &b, const Vector &c, Vector * const NewUmkreismittelpunkt, const Vector* const Direction, const Vector* const AlternativeDirection, const double HalfplaneIndicator, const double AlternativeIndicator, const double alpha, const double beta, const double gamma, const double RADIUS, const double Umkreisradius);
    5245void GetCenterofCircumcircle(Vector * const Center, const Vector &a, const Vector &b, const Vector &c);
    5346double GetPathLengthonCircumCircle(const Vector &CircleCenter, const Vector &CirclePlaneNormal, const double CircleRadius, const Vector &NewSphereCenter, const Vector &OldSphereCenter, const Vector &NormalVector, const Vector &SearchDirection);
    54 double MinIntersectDistance(const gsl_vector * x, void *params);
    55 bool existsIntersection(const Vector &point1, const Vector &point2, const Vector &point3, const Vector &point4);
    5647double CalculateVolumeofGeneralTetraeder(const Vector &a, const Vector &b, const Vector &c, const Vector &d);
     48double CalculateAreaofGeneralTriangle(const Vector &A, const Vector &B, const Vector &C);
    5749double GetAngle(const Vector &point, const Vector &reference, const Vector &OrthogonalVector);
    5850
     
    6860void WriteVrmlFile(ofstream * const vrmlfile, const Tesselation * const Tess, const PointCloud * const cloud);
    6961void CalculateConcavityPerBoundaryPoint(const Tesselation * const TesselStruct);
     62void CalculateConstrictionPerBoundaryPoint(const Tesselation * const TesselStruct, const Tesselation * const Convex);
    7063double DistanceToTrianglePlane(const Vector *x, const BoundaryTriangleSet * const triangle);
    7164
Note: See TracChangeset for help on using the changeset viewer.