Changeset 84b811 for molecuilder/src/tesselation.hpp
- Timestamp:
- Aug 20, 2009, 7:48:07 AM (16 years ago)
- 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)
- File:
-
- 1 edited
-
molecuilder/src/tesselation.hpp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
molecuilder/src/tesselation.hpp
r78dac6 r84b811 20 20 #include <map> 21 21 #include <list> 22 #include <set> 22 23 23 24 … … 203 204 204 205 // 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); 209 210 int CheckPresenceOfTriangle(ofstream *out, class TesselPoint *Candidates[3]); 210 211 … … 217 218 bool PickFarthestofTwoBaselines(ofstream *out, class BoundaryLineSet *Base); 218 219 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); 223 225 list<BoundaryTriangleSet*> *FindTriangles(TesselPoint* Points[3]); 224 226 list<BoundaryTriangleSet*> * FindClosestTrianglesToPoint(ofstream *out, Vector *x, LinkedCell* LC); … … 262 264 }; 263 265 264 bool CheckLineCriteria forDegeneratedTriangle(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);266 bool CheckLineCriteriaForDegeneratedTriangle(class BoundaryPointSet *nodes[3]); 267 bool SortCandidates(class CandidateForTesselation* candidate1, class CandidateForTesselation* candidate2); 268 TesselPoint* FindClosestPoint(const Vector* Point, TesselPoint *&SecondPoint, LinkedCell* LC); 269 TesselPoint* FindSecondClosestPoint(const Vector*, LinkedCell*); 270 double GetAngle(const Vector &point, const Vector &reference, const Vector OrthogonalVector); 269 271 Vector * GetClosestPointBetweenLine(ofstream *out, class BoundaryLineSet *Base, class BoundaryLineSet *OtherBase); 270 272
Note:
See TracChangeset
for help on using the changeset viewer.
