Changes in src/tesselationhelpers.hpp [71b20e:08d9595]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/tesselationhelpers.hpp
r71b20e r08d9595 20 20 #endif 21 21 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> 29 23 30 24 #include "defs.hpp" … … 43 37 /********************************************** definitions *********************************/ 44 38 45 #define HULLEPSILON 1e- 1039 #define HULLEPSILON 1e-9 //!< TODO: Get rid of HULLEPSILON, points to numerical instabilities 46 40 47 41 /********************************************** declarations *******************************/ 48 42 49 double DetGet(gsl_matrix * const A, const int inPlace);50 43 void GetSphere(Vector * const Center, const Vector &a, const Vector &b, const Vector &c, const double RADIUS); 51 44 void 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); 52 45 void GetCenterofCircumcircle(Vector * const Center, const Vector &a, const Vector &b, const Vector &c); 53 46 double 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);56 47 double CalculateVolumeofGeneralTetraeder(const Vector &a, const Vector &b, const Vector &c, const Vector &d); 48 double CalculateAreaofGeneralTriangle(const Vector &A, const Vector &B, const Vector &C); 57 49 double GetAngle(const Vector &point, const Vector &reference, const Vector &OrthogonalVector); 58 50 … … 68 60 void WriteVrmlFile(ofstream * const vrmlfile, const Tesselation * const Tess, const PointCloud * const cloud); 69 61 void CalculateConcavityPerBoundaryPoint(const Tesselation * const TesselStruct); 62 void CalculateConstrictionPerBoundaryPoint(const Tesselation * const TesselStruct, const Tesselation * const Convex); 70 63 double DistanceToTrianglePlane(const Vector *x, const BoundaryTriangleSet * const triangle); 71 64
Note:
See TracChangeset
for help on using the changeset viewer.