Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/tesselationhelpers.hpp

    rf1cccd r7dea7c  
    1818#endif
    1919
    20 #define HULLEPSILON 1e-7
    21 
    2220#include <gsl/gsl_linalg.h>
    2321#include <gsl/gsl_matrix.h>
     
    2624#include <gsl/gsl_vector.h>
    2725
     26#include "defs.hpp"
     27#include "tesselation.hpp"
    2828#include "vector.hpp"
     29
     30#define HULLEPSILON 1e-10
    2931
    3032double DetGet(gsl_matrix *A, int inPlace);
     
    3537double MinIntersectDistance(const gsl_vector * x, void *params);
    3638bool existsIntersection(Vector point1, Vector point2, Vector point3, Vector point4);
     39double CalculateVolumeofGeneralTetraeder(Vector *a, Vector *b, Vector *c, Vector *d);
     40double GetAngle(const Vector &point, const Vector &reference, const Vector OrthogonalVector);
     41
     42bool CheckLineCriteriaForDegeneratedTriangle(class BoundaryPointSet *nodes[3]);
     43bool SortCandidates(class CandidateForTesselation* candidate1, class CandidateForTesselation* candidate2);
     44TesselPoint* FindClosestPoint(const Vector* Point, TesselPoint *&SecondPoint, LinkedCell* LC);
     45TesselPoint* FindSecondClosestPoint(const Vector*, LinkedCell*);
     46Vector * GetClosestPointBetweenLine(ofstream *out, class BoundaryLineSet *Base, class BoundaryLineSet *OtherBase);
     47
     48void WriteTecplotFile(ofstream *out, ofstream *tecplot, class Tesselation *TesselStruct, PointCloud *cloud, int N);
     49void WriteRaster3dFile(ofstream *out, ofstream *rasterfile, class Tesselation *Tess, PointCloud *cloud);
     50void IncludeSphereinRaster3D(ofstream *out, ofstream *rasterfile, class Tesselation *Tess, PointCloud *cloud);
     51void WriteVrmlFile(ofstream *out, ofstream *vrmlfile, class Tesselation *Tess, PointCloud *cloud);
     52void CalculateConcavityPerBoundaryPoint(ofstream *out, class Tesselation *TesselStruct);
     53
     54bool CheckListOfBaselines(ofstream *out, Tesselation *TesselStruct);
     55
    3756
    3857#endif /* TESSELATIONHELPERS_HPP_ */
Note: See TracChangeset for help on using the changeset viewer.