Ignore:
Timestamp:
Aug 20, 2009, 7:48:07 AM (16 years ago)
Author:
Frederik Heber <heber@…>
Children:
5f4960, 6c6d84
Parents:
78dac6 (diff), d6b011 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
git-author:
Frederik Heber <heber@…> (08/19/09 14:40:33)
git-committer:
Frederik Heber <heber@…> (08/20/09 07:48:07)
Message:

Merge branch 'ConcaveHull' of ssh://stud64d-02/home/metzler/workspace/espack into Ticket14

Conflicts:

molecuilder/src/boundary.cpp
molecuilder/src/tesselation.cpp

File:
1 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/tesselation.hpp

    r78dac6 r84b811  
    2020#include <map>
    2121#include <list>
     22#include <set>
    2223
    2324
     
    203204
    204205    // concave envelope
    205     void Find_starting_triangle(ofstream *out, const double RADIUS, class LinkedCell *LC);
    206     void Find_second_point_for_Tesselation(class TesselPoint* a, class TesselPoint* Candidate, Vector Oben, class TesselPoint*& Opt_Candidate, double Storage[3], double RADIUS, class LinkedCell *LC);
    207     void Find_third_point_for_Tesselation(Vector NormalVector, Vector SearchDirection, Vector OldSphereCenter, class BoundaryLineSet *BaseLine, class TesselPoint *ThirdNode, CandidateList* &candidates, double *ShortestAngle, const double RADIUS, class LinkedCell *LC);
    208     bool Find_next_suitable_triangle(ofstream *out, BoundaryLineSet &Line, BoundaryTriangleSet &T, const double& RADIUS, int N, LinkedCell *LC);
     206    void FindStartingTriangle(ofstream *out, const double RADIUS, class LinkedCell *LC);
     207    void FindSecondPointForTesselation(class TesselPoint* a, class TesselPoint* Candidate, Vector Oben, class TesselPoint*& OptCandidate, double Storage[3], double RADIUS, class LinkedCell *LC);
     208    void FindThirdPointForTesselation(Vector NormalVector, Vector SearchDirection, Vector OldSphereCenter, class BoundaryLineSet *BaseLine, class TesselPoint *ThirdNode, CandidateList* &candidates, double *ShortestAngle, const double RADIUS, class LinkedCell *LC);
     209    bool FindNextSuitableTriangle(ofstream *out, BoundaryLineSet &Line, BoundaryTriangleSet &T, const double& RADIUS, int N, LinkedCell *LC);
    209210    int CheckPresenceOfTriangle(ofstream *out, class TesselPoint *Candidates[3]);
    210211
     
    217218    bool PickFarthestofTwoBaselines(ofstream *out, class BoundaryLineSet *Base);
    218219    class BoundaryPointSet *IsConvexRectangle(ofstream *out, class BoundaryLineSet *Base);
    219 
    220 
    221     list<TesselPoint*> * getCircleOfConnectedPoints(ofstream *out, TesselPoint* Point);
    222     list<TesselPoint*> * getNeighboursonCircleofConnectedPoints(ofstream *out, list<TesselPoint*> *connectedPoints, TesselPoint* Point, Vector* Reference);
     220    map<int, int> FindAllDegeneratedTriangles();
     221    void RemoveDegeneratedTriangles();
     222
     223    list<TesselPoint*> * GetCircleOfConnectedPoints(ofstream *out, TesselPoint* Point);
     224    list<TesselPoint*> * GetNeighboursOnCircleOfConnectedPoints(ofstream *out, list<TesselPoint*> *connectedPoints, TesselPoint* Point, Vector* Reference);
    223225    list<BoundaryTriangleSet*> *FindTriangles(TesselPoint* Points[3]);
    224226    list<BoundaryTriangleSet*> * FindClosestTrianglesToPoint(ofstream *out, Vector *x, LinkedCell* LC);
     
    262264};
    263265
    264 bool CheckLineCriteriaforDegeneratedTriangle(class BoundaryPointSet *nodes[3]);
    265 bool sortCandidates(class CandidateForTesselation* candidate1, class CandidateForTesselation* candidate2);
    266 TesselPoint* findClosestPoint(const Vector* Point, TesselPoint *&SecondPoint, LinkedCell* LC);
    267 TesselPoint* findSecondClosestPoint(const Vector*, LinkedCell*);
    268 double getAngle(const Vector &point, const Vector &reference, const Vector OrthogonalVector);
     266bool CheckLineCriteriaForDegeneratedTriangle(class BoundaryPointSet *nodes[3]);
     267bool SortCandidates(class CandidateForTesselation* candidate1, class CandidateForTesselation* candidate2);
     268TesselPoint* FindClosestPoint(const Vector* Point, TesselPoint *&SecondPoint, LinkedCell* LC);
     269TesselPoint* FindSecondClosestPoint(const Vector*, LinkedCell*);
     270double GetAngle(const Vector &point, const Vector &reference, const Vector OrthogonalVector);
    269271Vector * GetClosestPointBetweenLine(ofstream *out, class BoundaryLineSet *Base, class BoundaryLineSet *OtherBase);
    270272
Note: See TracChangeset for help on using the changeset viewer.