Changes in src/boundary.hpp [8c54a3:2319ed]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/boundary.hpp
r8c54a3 r2319ed 54 54 55 55 void AddTriangle(class BoundaryTriangleSet *triangle); 56 bool IsConnectedTo(class BoundaryLineSet *line); 57 bool ContainsBoundaryPoint(class BoundaryPointSet *point); 58 bool CheckConvexityCriterion(ofstream *out); 56 59 57 60 class BoundaryPointSet *endpoints[2]; … … 68 71 69 72 void GetNormalVector(Vector &NormalVector); 73 bool GetIntersectionInsideTriangle(ofstream *out, Vector *MolCenter, Vector *x, Vector *Intersection); 74 bool ContainsBoundaryLine(class BoundaryLineSet *line); 75 bool ContainsBoundaryPoint(class BoundaryPointSet *point); 70 76 71 77 class BoundaryPointSet *endpoints[3]; … … 78 84 class CandidateForTesselation { 79 85 public : 80 81 82 83 84 85 86 CandidateForTesselation(atom* candidate, BoundaryLineSet* currentBaseLine, Vector OptCandidateCenter, Vector OtherOptCandidateCenter); 87 ~CandidateForTesselation(); 88 atom *point; 89 BoundaryLineSet *BaseLine; 90 Vector OptCenter; 91 Vector OtherOptCenter; 86 92 }; 87 93 … … 93 99 ~Tesselation(); 94 100 95 void TesselateOnBoundary(ofstream *out, config *configuration,molecule *mol);101 void TesselateOnBoundary(ofstream *out, molecule *mol); 96 102 void GuessStartingTriangle(ofstream *out); 97 103 void AddPoint(atom * Walker); … … 104 110 int CheckPresenceOfTriangle(ofstream *out, atom *Candidates[3]); 105 111 void Find_next_suitable_point_via_Angle_of_Sphere(atom* a, atom* b, atom* c, atom* Candidate, atom* Parent, int RecursionLevel, Vector *Chord, Vector *direction1, Vector *OldNormal, Vector ReferencePoint, atom*& Opt_Candidate, double *Storage, const double RADIUS, molecule* mol); 106 list<atom*> *getClosestConnectedAtoms(atom* Atom, atom* AtomToCheck); 107 list<BoundaryTriangleSet*> *FindTriangles(atom* TrianglePoints[3]); 112 class BoundaryTriangleSet * FindClosestTriangleToPoint(ofstream *out, Vector *x); 113 bool IsInside(Vector *pointer); 114 bool InsertStraddlingPoints(ofstream *out, molecule *mol); 115 bool CorrectConcaveBaselines(ofstream *out); 108 116 109 117 PointMap PointsOnBoundary; … … 126 134 127 135 128 double VolumeOfConvexEnvelope(ofstream *out, c onst char *filename, config *configuration, Boundaries *BoundaryPoints, molecule *mol);136 double VolumeOfConvexEnvelope(ofstream *out, class Tesselation *TesselStruct, class config *configuration); 129 137 double * GetDiametersOfCluster(ofstream *out, Boundaries *BoundaryPtr, molecule *mol, bool IsAngstroem); 130 138 void PrepareClustersinWater(ofstream *out, config *configuration, molecule *mol, double ClusterVolume, double celldensity); 139 molecule * FillBoxWithMolecule(ofstream *out, MoleculeListClass *List, molecule *filler, config &configuration, double distance[NDIM], double RandAtomDisplacement, double RandMolDisplacement, bool DoRandomRotation); 140 void Find_convex_border(ofstream *out, molecule* mol, class Tesselation *&TesselStruct, class LinkedCell *LCList, const char *filename); 131 141 void Find_non_convex_border(ofstream *out, molecule* mol, class Tesselation *T, class LinkedCell *LC, const char *tempbasename, const double RADIUS); 132 142 void Find_next_suitable_point(class BoundaryTriangleSet *BaseTriangle, class BoundaryLineSet *BaseLine, atom*& OptCandidate, Vector *OptCandidateCenter, double *ShortestAngle, const double RADIUS, LinkedCell *LC); … … 134 144 bool existsIntersection(Vector point1, Vector point2, Vector point3, Vector point4); 135 145 bool sortCandidates(CandidateForTesselation* candidate1, CandidateForTesselation* candidate2); 136 bool IsInnerPoint(Vector Point, class Tesselation *Tess, LinkedCell* LC);137 bool IsInnerAtom(atom *Atom, class Tesselation *Tess, LinkedCell* LC);138 atom* findClosestAtom(const atom* Atom, LinkedCell* LC);139 double getAngle(Vector point, Vector reference, Vector center, Vector OrthogonalVector);140 146 141 147 #endif /*BOUNDARY_HPP_*/
Note:
See TracChangeset
for help on using the changeset viewer.