Changeset eeefb3 for molecuilder/src/tesselation.hpp
- Timestamp:
- Aug 4, 2009, 1:48:57 PM (16 years ago)
- Children:
- 7aa922
- Parents:
- 04dcc0
- File:
-
- 1 edited
-
molecuilder/src/tesselation.hpp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
molecuilder/src/tesselation.hpp
r04dcc0 reeefb3 95 95 bool ContainsBoundaryPoint(class BoundaryPointSet *point); 96 96 bool CheckConvexityCriterion(ofstream *out); 97 class BoundaryPointSet *GetOtherEndpoint(class BoundaryPointSet *); 97 98 98 99 class BoundaryPointSet *endpoints[2]; … … 116 117 bool ContainsBoundaryLine(class BoundaryLineSet *line); 117 118 bool ContainsBoundaryPoint(class BoundaryPointSet *point); 119 class BoundaryPointSet *GetThirdEndpoint(class BoundaryLineSet *line); 118 120 bool IsPresentTupel(class BoundaryPointSet *Points[3]); 121 void GetCenter(Vector *center); 119 122 120 123 class BoundaryPointSet *endpoints[3]; … … 202 205 203 206 // convex envelope 204 class BoundaryTriangleSet * FindClosestTriangleToPoint(ofstream *out, Vector *x);205 207 void TesselateOnBoundary(ofstream *out, PointCloud *cloud); 206 208 void GuessStartingTriangle(ofstream *out); 207 bool InsertStraddlingPoints(ofstream *out, PointCloud *cloud );209 bool InsertStraddlingPoints(ofstream *out, PointCloud *cloud, LinkedCell *LC); 208 210 bool CorrectConcaveBaselines(ofstream *out); 209 211 210 list<TesselPoint*> * getC losestConnectedAtoms(TesselPoint* Atom, TesselPoint* AtomToCheck);212 list<TesselPoint*> * getCircleOfConnectedPoints(ofstream *out, TesselPoint* Point, Vector* Reference); 211 213 list<BoundaryTriangleSet*> *FindTriangles(TesselPoint* Points[3]); 214 list<BoundaryTriangleSet*> * FindClosestTrianglesToPoint(ofstream *out, Vector *x, LinkedCell* LC); 215 class BoundaryTriangleSet * FindClosestTriangleToPoint(ofstream *out, Vector *x, LinkedCell* LC); 216 bool IsInnerPoint(ofstream *out, Vector Point, LinkedCell* LC); 217 bool IsInnerPoint(ofstream *out, TesselPoint *Point, LinkedCell* LC); 212 218 213 219 PointMap PointsOnBoundary; … … 227 233 bool CheckLineCriteriaforDegeneratedTriangle(class BoundaryPointSet *nodes[3]); 228 234 bool sortCandidates(class CandidateForTesselation* candidate1, class CandidateForTesselation* candidate2); 229 TesselPoint* findClosestAtom(const TesselPoint* Atom, LinkedCell* LC); 230 double getAngle(Vector point, Vector reference, Vector center, Vector OrthogonalVector); 231 bool IsInnerPoint(Vector Point, class Tesselation *Tess, LinkedCell* LC) ; 232 bool IsInnerPoint(TesselPoint *Atom, class Tesselation *Tess, LinkedCell* LC); 235 TesselPoint* findClosestPoint(const Vector* Point, LinkedCell* LC); 236 double getAngle(const Vector &point, const Vector &reference, const Vector ¢er, Vector OrthogonalVector); 233 237 234 238 #endif /* TESSELATION_HPP_ */
Note:
See TracChangeset
for help on using the changeset viewer.
