Changeset a732ff for molecuilder/src/tesselation.hpp
- Timestamp:
- Apr 12, 2010, 4:44:29 PM (15 years ago)
- Children:
- 4283d0
- Parents:
- 41c00d
- git-author:
- Frederik Heber <heber@…> (04/12/10 16:35:12)
- git-committer:
- Frederik Heber <heber@…> (04/12/10 16:44:29)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
molecuilder/src/tesselation.hpp
r41c00d ra732ff 42 42 43 43 #define DoTecplotOutput 1 44 #define DoRaster3DOutput 044 #define DoRaster3DOutput 1 45 45 #define DoVRMLOutput 0 46 46 #define TecplotSuffix ".dat" … … 163 163 bool IsPresentTupel(const BoundaryPointSet * const Points[3]) const; 164 164 bool IsPresentTupel(const BoundaryTriangleSet * const T) const; 165 void SetTopNode(const BoundaryTriangleSet * const topnode); 165 166 166 167 class BoundaryPointSet *endpoints[3]; 167 168 class BoundaryLineSet *lines[3]; 169 const BoundaryTriangleSet *top; //!< triangle was instantiated during tesselation from this triangle 170 double AngleFromTop; 168 171 Vector NormalVector; 169 172 Vector SphereCenter; … … 249 252 public : 250 253 CandidateForTesselation(BoundaryLineSet* currentBaseLine); 251 CandidateForTesselation(TesselPoint* candidate, BoundaryLineSet* currentBaseLine, Vector OptCandidateCenter, Vector OtherOptCandidateCenter);254 CandidateForTesselation(TesselPoint* candidate, BoundaryLineSet* currentBaseLine, BoundaryPointSet *point, Vector OptCandidateCenter, Vector OtherOptCandidateCenter); 252 255 ~CandidateForTesselation(); 253 256 … … 255 258 256 259 TesselPointList pointlist; 257 BoundaryLineSet *BaseLine; 260 const BoundaryLineSet * BaseLine; 261 const BoundaryPointSet * ThirdPoint; 262 const BoundaryTriangleSet *T; 263 Vector OldCenter; 258 264 Vector OptCenter; 259 265 Vector OtherOptCenter; … … 289 295 void FindStartingTriangle(const double RADIUS, const LinkedCell *LC); 290 296 void FindSecondPointForTesselation(class TesselPoint* a, Vector Oben, class TesselPoint*& OptCandidate, double Storage[3], double RADIUS, const LinkedCell *LC); 291 void FindThirdPointForTesselation(Vector &NormalVector, Vector &SearchDirection, Vector &OldSphereCenter, CandidateForTesselation &CandidateLine, const class TesselPoint * const ThirdNode, const double RADIUS, const LinkedCell *LC) const;297 void FindThirdPointForTesselation(Vector &NormalVector, Vector &SearchDirection, Vector &OldSphereCenter, CandidateForTesselation &CandidateLine, const class BoundaryPointSet * const ThirdNode, const double RADIUS, const LinkedCell *LC) const; 292 298 bool FindNextSuitableTriangle(CandidateForTesselation &CandidateLine, BoundaryTriangleSet &T, const double& RADIUS, const LinkedCell *LC); 293 299 int CheckPresenceOfTriangle(class TesselPoint *Candidates[3]) const;
Note:
See TracChangeset
for help on using the changeset viewer.