source: src/Tesselation/CandidateForTesselation.hpp

Candidate_v1.6.1
Last change on this file was 6bd7e0, checked in by Frederik Heber <heber@…>, 13 years ago

Renamed old LinkedCell class to LinkedCell_deprecated.

  • this is preparatory for a smooth transition to the new implementation.
  • note that class LinkedCell and namespace LinkedCell bite each other so far.
  • Property mode set to 100644
File size: 1.3 KB
Line 
1/*
2 * CandidateForTesselation.hpp
3 *
4 * Created on: Jul 29, 2010
5 * Author: heber
6 */
7
8#ifndef CANDIDATEFORTESSELATION_HPP_
9#define CANDIDATEFORTESSELATION_HPP_
10
11// include config.h
12#ifdef HAVE_CONFIG_H
13#include <config.h>
14#endif
15
16
17#include "BoundaryMaps.hpp"
18#include "LinearAlgebra/Vector.hpp"
19
20#include <list>
21#include <set>
22
23class BoundaryLineSet;
24class BoundaryPointSet;
25class BoundaryTriangleSet;
26class LinkedCell_deprecated;
27class TesselPoint;
28
29class CandidateForTesselation {
30 public :
31 CandidateForTesselation(BoundaryLineSet* currentBaseLine);
32 CandidateForTesselation(TesselPoint* candidate, BoundaryLineSet* currentBaseLine, BoundaryPointSet *point, const Vector &OptCandidateCenter, const Vector &OtherOptCandidateCenter);
33 ~CandidateForTesselation();
34
35 bool CheckValidity(const double RADIUS, const class LinkedCell_deprecated *LC) const;
36
37 TesselPointList pointlist;
38 const BoundaryLineSet * BaseLine;
39 const BoundaryPointSet * ThirdPoint;
40 const BoundaryTriangleSet *T;
41 Vector OldCenter;
42 Vector OptCenter;
43 Vector OtherOptCenter;
44 double ShortestAngle;
45 double OtherShortestAngle;
46
47 private:
48 static const double HULLEPSILON; //!< TODO: Get rid of HULLEPSILON, points to numerical instabilities
49};
50
51std::ostream & operator <<(std::ostream &ost, const CandidateForTesselation &a);
52
53
54#endif /* CANDIDATEFORTESSELATION_HPP_ */
Note: See TracBrowser for help on using the repository browser.