Changeset eb58a7 for molecuilder/src/tesselation.hpp
- Timestamp:
- Aug 17, 2009, 10:30:53 AM (16 years ago)
- Children:
- 3de1d2
- Parents:
- 844cf5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
molecuilder/src/tesselation.hpp
r844cf5 reb58a7 78 78 int LinesCount; 79 79 TesselPoint *node; 80 double value; 80 81 int Nr; 81 82 }; … … 190 191 virtual ~Tesselation(); 191 192 192 bool AddPoint(TesselPoint *Walker, int n); 193 void AddTrianglePoint(TesselPoint* Candidate, int n); 194 void AddTriangleLine(class BoundaryPointSet *a, class BoundaryPointSet *b, int n); 195 void AlwaysAddTriangleLine(class BoundaryPointSet *a, class BoundaryPointSet *b, int n); 196 void AddTriangle(); 193 void AddTesselationPoint(TesselPoint* Candidate, int n); 194 void AddTesselationLine(class BoundaryPointSet *a, class BoundaryPointSet *b, int n); 195 void AlwaysAddTesselationTriangleLine(class BoundaryPointSet *a, class BoundaryPointSet *b, int n); 196 void AddTesselationTriangle(); 197 void RemoveTesselationTriangle(class BoundaryTriangleSet *triangle); 198 void RemoveTesselationLine(class BoundaryLineSet *line); 199 void RemoveTesselationPoint(class BoundaryPointSet *point); 200 197 201 bool IsInside(Vector *pointer); 198 202 class BoundaryPointSet *GetCommonEndpoint(class BoundaryLineSet * line1, class BoundaryLineSet * line2); … … 209 213 void GuessStartingTriangle(ofstream *out); 210 214 bool InsertStraddlingPoints(ofstream *out, PointCloud *cloud, LinkedCell *LC); 211 bool CorrectConcaveBaselines(ofstream *out); 212 213 list<TesselPoint*> * getCircleOfConnectedPoints(ofstream *out, TesselPoint* Point, Vector* Reference); 215 double RemovePointFromTesselatedSurface(ofstream *out, class BoundaryPointSet *point); 216 bool FlipBaseline(ofstream *out, class BoundaryLineSet *Base); 217 bool PickFarthestofTwoBaselines(ofstream *out, class BoundaryLineSet *Base); 218 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); 214 223 list<BoundaryTriangleSet*> *FindTriangles(TesselPoint* Points[3]); 215 224 list<BoundaryTriangleSet*> * FindClosestTrianglesToPoint(ofstream *out, Vector *x, LinkedCell* LC); … … 217 226 bool IsInnerPoint(ofstream *out, Vector Point, LinkedCell* LC); 218 227 bool IsInnerPoint(ofstream *out, TesselPoint *Point, LinkedCell* LC); 228 bool AddBoundaryPoint(TesselPoint *Walker, int n); 219 229 220 230 PointMap PointsOnBoundary; … … 251 261 TesselPoint* findSecondClosestPoint(const Vector*, LinkedCell*); 252 262 double getAngle(const Vector &point, const Vector &reference, const Vector OrthogonalVector); 263 Vector * GetClosestPointBetweenLine(ofstream *out, class BoundaryLineSet *Base, class BoundaryLineSet *OtherBase); 253 264 254 265 #endif /* TESSELATION_HPP_ */
Note:
See TracChangeset
for help on using the changeset viewer.