Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/tesselationhelpers.hpp

    rf66195 rf1cccd  
    1313using namespace std;
    1414
    15 /*********************************************** includes ***********************************/
    16 
    1715// include config.h
    1816#ifdef HAVE_CONFIG_H
    1917#include <config.h>
    2018#endif
     19
     20#define HULLEPSILON 1e-7
    2121
    2222#include <gsl/gsl_linalg.h>
     
    2626#include <gsl/gsl_vector.h>
    2727
    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"
    4829
    4930double DetGet(gsl_matrix *A, int inPlace);
     
    5435double MinIntersectDistance(const gsl_vector * x, void *params);
    5536bool 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 
    7337
    7438#endif /* TESSELATIONHELPERS_HPP_ */
Note: See TracChangeset for help on using the changeset viewer.