Changes in src/tesselationhelpers.hpp [f1cccd:f66195]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/tesselationhelpers.hpp
rf1cccd rf66195 13 13 using namespace std; 14 14 15 /*********************************************** includes ***********************************/ 16 15 17 // include config.h 16 18 #ifdef HAVE_CONFIG_H 17 19 #include <config.h> 18 20 #endif 19 20 #define HULLEPSILON 1e-721 21 22 22 #include <gsl/gsl_linalg.h> … … 26 26 #include <gsl/gsl_vector.h> 27 27 28 #include "vector.hpp" 28 #include <iostream> 29 30 #include "defs.hpp" 31 32 /****************************************** forward declarations *****************************/ 33 34 class BoundaryPointSet; 35 class BoundaryLineSet; 36 class BoundaryTriangleSet; 37 class LinkedCell; 38 class TesselPoint; 39 class PointCloud; 40 class Tesselation; 41 class Vector; 42 43 /********************************************** definitions *********************************/ 44 45 #define HULLEPSILON 1e-10 46 47 /********************************************** declarations *******************************/ 29 48 30 49 double DetGet(gsl_matrix *A, int inPlace); … … 35 54 double MinIntersectDistance(const gsl_vector * x, void *params); 36 55 bool existsIntersection(Vector point1, Vector point2, Vector point3, Vector point4); 56 double CalculateVolumeofGeneralTetraeder(Vector *a, Vector *b, Vector *c, Vector *d); 57 double GetAngle(const Vector &point, const Vector &reference, const Vector OrthogonalVector); 58 59 bool CheckLineCriteriaForDegeneratedTriangle(class BoundaryPointSet *nodes[3]); 60 bool SortCandidates(class CandidateForTesselation* candidate1, class CandidateForTesselation* candidate2); 61 TesselPoint* FindClosestPoint(const Vector* Point, TesselPoint *&SecondPoint, LinkedCell* LC); 62 TesselPoint* FindSecondClosestPoint(const Vector*, LinkedCell*); 63 Vector * GetClosestPointBetweenLine(ofstream *out, class BoundaryLineSet *Base, class BoundaryLineSet *OtherBase); 64 65 void WriteTecplotFile(ofstream *out, ofstream *tecplot, class Tesselation *TesselStruct, PointCloud *cloud, int N); 66 void WriteRaster3dFile(ofstream *out, ofstream *rasterfile, class Tesselation *Tess, PointCloud *cloud); 67 void IncludeSphereinRaster3D(ofstream *out, ofstream *rasterfile, class Tesselation *Tess, PointCloud *cloud); 68 void WriteVrmlFile(ofstream *out, ofstream *vrmlfile, class Tesselation *Tess, PointCloud *cloud); 69 void CalculateConcavityPerBoundaryPoint(ofstream *out, class Tesselation *TesselStruct); 70 71 bool CheckListOfBaselines(ofstream *out, Tesselation *TesselStruct); 72 37 73 38 74 #endif /* TESSELATIONHELPERS_HPP_ */
Note:
See TracChangeset
for help on using the changeset viewer.