Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/tesselationhelpers.hpp

    rf1cccd rf66195  
    1313using namespace std;
    1414
     15/*********************************************** includes ***********************************/
     16
    1517// include config.h
    1618#ifdef HAVE_CONFIG_H
    1719#include <config.h>
    1820#endif
    19 
    20 #define HULLEPSILON 1e-7
    2121
    2222#include <gsl/gsl_linalg.h>
     
    2626#include <gsl/gsl_vector.h>
    2727
    28 #include "vector.hpp"
     28#include <iostream>
     29
     30#include "defs.hpp"
     31
     32/****************************************** forward declarations *****************************/
     33
     34class BoundaryPointSet;
     35class BoundaryLineSet;
     36class BoundaryTriangleSet;
     37class LinkedCell;
     38class TesselPoint;
     39class PointCloud;
     40class Tesselation;
     41class Vector;
     42
     43/********************************************** definitions *********************************/
     44
     45#define HULLEPSILON 1e-10
     46
     47/********************************************** declarations *******************************/
    2948
    3049double DetGet(gsl_matrix *A, int inPlace);
     
    3554double MinIntersectDistance(const gsl_vector * x, void *params);
    3655bool existsIntersection(Vector point1, Vector point2, Vector point3, Vector point4);
     56double CalculateVolumeofGeneralTetraeder(Vector *a, Vector *b, Vector *c, Vector *d);
     57double GetAngle(const Vector &point, const Vector &reference, const Vector OrthogonalVector);
     58
     59bool CheckLineCriteriaForDegeneratedTriangle(class BoundaryPointSet *nodes[3]);
     60bool SortCandidates(class CandidateForTesselation* candidate1, class CandidateForTesselation* candidate2);
     61TesselPoint* FindClosestPoint(const Vector* Point, TesselPoint *&SecondPoint, LinkedCell* LC);
     62TesselPoint* FindSecondClosestPoint(const Vector*, LinkedCell*);
     63Vector * GetClosestPointBetweenLine(ofstream *out, class BoundaryLineSet *Base, class BoundaryLineSet *OtherBase);
     64
     65void WriteTecplotFile(ofstream *out, ofstream *tecplot, class Tesselation *TesselStruct, PointCloud *cloud, int N);
     66void WriteRaster3dFile(ofstream *out, ofstream *rasterfile, class Tesselation *Tess, PointCloud *cloud);
     67void IncludeSphereinRaster3D(ofstream *out, ofstream *rasterfile, class Tesselation *Tess, PointCloud *cloud);
     68void WriteVrmlFile(ofstream *out, ofstream *vrmlfile, class Tesselation *Tess, PointCloud *cloud);
     69void CalculateConcavityPerBoundaryPoint(ofstream *out, class Tesselation *TesselStruct);
     70
     71bool CheckListOfBaselines(ofstream *out, Tesselation *TesselStruct);
     72
    3773
    3874#endif /* TESSELATIONHELPERS_HPP_ */
Note: See TracChangeset for help on using the changeset viewer.