Changeset 478683 for molecuilder/src/tesselation.hpp
- Timestamp:
- Jan 26, 2010, 12:52:31 PM (16 years ago)
- Children:
- 8d0b25, d34341
- Parents:
- 551a58
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
molecuilder/src/tesselation.hpp
r551a58 r478683 87 87 #define TesselPointList list <TesselPoint *> 88 88 #define TesselPointSet set <TesselPoint *> 89 90 #define ListOfTesselPointList list<list <TesselPoint *> *> 89 91 90 92 /********************************************** declarations *******************************/ … … 298 300 double PickFarthestofTwoBaselines(class BoundaryLineSet *Base); 299 301 class BoundaryPointSet *IsConvexRectangle(class BoundaryLineSet *Base); 300 map<int, int>* FindAllDegeneratedTriangles();301 map<int, int>* FindAllDegeneratedLines();302 IndexToIndex * FindAllDegeneratedTriangles(); 303 IndexToIndex * FindAllDegeneratedLines(); 302 304 void RemoveDegeneratedTriangles(); 303 305 void AddBoundaryPointByDegeneratedTriangle(class TesselPoint *point, LinkedCell *LC); 304 306 int CorrectAllDegeneratedPolygons(); 305 307 306 set<TesselPoint*>* GetAllConnectedPoints(const TesselPoint* const Point) const;307 set<BoundaryTriangleSet*> *GetAllTriangles(const BoundaryPointSet * const Point) const;308 list<list<TesselPoint*> *>* GetPathsOfConnectedPoints(const TesselPoint* const Point) const;309 list<list<TesselPoint*> *>* GetClosedPathsOfConnectedPoints(const TesselPoint* const Point) const;310 list<TesselPoint*> * GetCircleOfSetOfPoints(set<TesselPoint*>*SetOfNeighbours, const TesselPoint* const Point, const Vector * const Reference = NULL) const;311 list<TesselPoint*> * GetCircleOfConnectedTriangles(set<TesselPoint*>*SetOfNeighbours, const TesselPoint* const Point, const Vector * const Reference) const;312 class BoundaryPointSet * GetCommonEndpoint(const BoundaryLineSet * line1, const BoundaryLineSet * line2) const;313 list<BoundaryTriangleSet*> *FindTriangles(const TesselPoint* const Points[3]) const;314 list<BoundaryTriangleSet*> * FindClosestTrianglesToPoint(const Vector *x, const LinkedCell* LC) const;315 class BoundaryTriangleSet * FindClosestTriangleToPoint(const Vector *x, const LinkedCell* LC) const;308 TesselPointSet * GetAllConnectedPoints(const TesselPoint* const Point) const; 309 TriangleSet * GetAllTriangles(const BoundaryPointSet * const Point) const; 310 ListOfTesselPointList * GetPathsOfConnectedPoints(const TesselPoint* const Point) const; 311 ListOfTesselPointList * GetClosedPathsOfConnectedPoints(const TesselPoint* const Point) const; 312 TesselPointList * GetCircleOfSetOfPoints(TesselPointSet *SetOfNeighbours, const TesselPoint* const Point, const Vector * const Reference = NULL) const; 313 TesselPointList * GetCircleOfConnectedTriangles(TesselPointSet *SetOfNeighbours, const TesselPoint* const Point, const Vector * const Reference) const; 314 class BoundaryPointSet * GetCommonEndpoint(const BoundaryLineSet * line1, const BoundaryLineSet * line2) const; 315 TriangleList * FindTriangles(const TesselPoint* const Points[3]) const; 316 TriangleList * FindClosestTrianglesToVector(const Vector *x, const LinkedCell* LC) const; 317 BoundaryTriangleSet * FindClosestTriangleToVector(const Vector *x, const LinkedCell* LC) const; 316 318 bool IsInnerPoint(const Vector &Point, const LinkedCell* const LC) const; 319 double GetDistanceSquaredToTriangle(const Vector &Point, const BoundaryTriangleSet* const triangle) const; 317 320 double GetDistanceSquaredToSurface(const Vector &Point, const LinkedCell* const LC) const; 318 321 bool AddBoundaryPoint(TesselPoint * Walker, const int n); 319 322 DistanceToPointMap * FindClosestBoundaryPointsToVector(const Vector *x, const LinkedCell* LC) const; 320 323 BoundaryLineSet * FindClosestBoundaryLineToVector(const Vector *x, const LinkedCell* LC) const; 321 TriangleList * FindClosestTrianglesToVector(const Vector *x, const LinkedCell* LC) const;322 BoundaryTriangleSet* FindClosestTriangleToVector(const Vector *x, const LinkedCell* LC) const;323 324 324 325 // print for debugging
Note:
See TracChangeset
for help on using the changeset viewer.