Last change
on this file since 97dff0 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
|
Rev | Line | |
---|
[d74077] | 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 |
|
---|
[56f73b] | 11 | // include config.h
|
---|
| 12 | #ifdef HAVE_CONFIG_H
|
---|
| 13 | #include <config.h>
|
---|
| 14 | #endif
|
---|
| 15 |
|
---|
| 16 |
|
---|
[d74077] | 17 | #include "BoundaryMaps.hpp"
|
---|
[8f4df1] | 18 | #include "LinearAlgebra/Vector.hpp"
|
---|
[d74077] | 19 |
|
---|
| 20 | #include <list>
|
---|
| 21 | #include <set>
|
---|
| 22 |
|
---|
| 23 | class BoundaryLineSet;
|
---|
| 24 | class BoundaryPointSet;
|
---|
| 25 | class BoundaryTriangleSet;
|
---|
[6bd7e0] | 26 | class LinkedCell_deprecated;
|
---|
[d74077] | 27 | class TesselPoint;
|
---|
| 28 |
|
---|
| 29 | class CandidateForTesselation {
|
---|
| 30 | public :
|
---|
| 31 | CandidateForTesselation(BoundaryLineSet* currentBaseLine);
|
---|
| 32 | CandidateForTesselation(TesselPoint* candidate, BoundaryLineSet* currentBaseLine, BoundaryPointSet *point, const Vector &OptCandidateCenter, const Vector &OtherOptCandidateCenter);
|
---|
| 33 | ~CandidateForTesselation();
|
---|
| 34 |
|
---|
[6bd7e0] | 35 | bool CheckValidity(const double RADIUS, const class LinkedCell_deprecated *LC) const;
|
---|
[d74077] | 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;
|
---|
[88b400] | 46 |
|
---|
| 47 | private:
|
---|
| 48 | static const double HULLEPSILON; //!< TODO: Get rid of HULLEPSILON, points to numerical instabilities
|
---|
[d74077] | 49 | };
|
---|
| 50 |
|
---|
| 51 | std::ostream & operator <<(std::ostream &ost, const CandidateForTesselation &a);
|
---|
| 52 |
|
---|
| 53 |
|
---|
| 54 | #endif /* CANDIDATEFORTESSELATION_HPP_ */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.