Changes in src/tesselationhelpers.hpp [f66195:f1cccd]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/tesselationhelpers.hpp
rf66195 rf1cccd 13 13 using namespace std; 14 14 15 /*********************************************** includes ***********************************/16 17 15 // include config.h 18 16 #ifdef HAVE_CONFIG_H 19 17 #include <config.h> 20 18 #endif 19 20 #define HULLEPSILON 1e-7 21 21 22 22 #include <gsl/gsl_linalg.h> … … 26 26 #include <gsl/gsl_vector.h> 27 27 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 *******************************/ 28 #include "vector.hpp" 48 29 49 30 double DetGet(gsl_matrix *A, int inPlace); … … 54 35 double MinIntersectDistance(const gsl_vector * x, void *params); 55 36 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 73 37 74 38 #endif /* TESSELATIONHELPERS_HPP_ */
Note:
See TracChangeset
for help on using the changeset viewer.