source: molecuilder/src/tesselationhelpers.hpp@ 6f1551

Last change on this file since 6f1551 was 48cd93, checked in by Saskia Metzler <metzler@…>, 16 years ago

Ticket 14: Rename .._.. functions in boundary.cpp

  • Property mode set to 100644
File size: 1.3 KB
Line 
1/*
2 * TesselationHelpers.hpp
3 *
4 * Auxiliary functions for the tesselation.
5 *
6 * Created on: Aug 3, 2009
7 * Author: heber
8 */
9
10#ifndef TESSELATIONHELPERS_HPP_
11#define TESSELATIONHELPERS_HPP_
12
13using namespace std;
14
15// include config.h
16#ifdef HAVE_CONFIG_H
17#include <config.h>
18#endif
19
20#define HULLEPSILON 1e-7
21
22#include <gsl/gsl_linalg.h>
23#include <gsl/gsl_matrix.h>
24#include <gsl/gsl_multimin.h>
25#include <gsl/gsl_permutation.h>
26#include <gsl/gsl_vector.h>
27
28#include "vector.hpp"
29
30double DetGet(gsl_matrix *A, int inPlace);
31void GetSphere(Vector *center, Vector &a, Vector &b, Vector &c, double RADIUS);
32void GetCenterOfSphere(Vector* Center, Vector a, Vector b, Vector c, Vector *NewUmkreismittelpunkt, Vector* Direction, Vector* AlternativeDirection, double HalfplaneIndicator, double AlternativeIndicator, double alpha, double beta, double gamma, double RADIUS, double Umkreisradius);
33void GetCenterofCircumcircle(Vector *Center, Vector *a, Vector *b, Vector *c);
34double GetPathLengthonCircumCircle(Vector &CircleCenter, Vector &CirclePlaneNormal, double CircleRadius, Vector &NewSphereCenter, Vector &OldSphereCenter, Vector &NormalVector, Vector &SearchDirection);
35double MinIntersectDistance(const gsl_vector * x, void *params);
36bool existsIntersection(Vector point1, Vector point2, Vector point3, Vector point4);
37
38#endif /* TESSELATIONHELPERS_HPP_ */
Note: See TracBrowser for help on using the repository browser.