Ignore:
Timestamp:
Aug 3, 2009, 4:48:46 PM (16 years ago)
Author:
Saskia Metzler <metzler@…>
Children:
0e2190
Parents:
dc162d
Message:

Adding functions IsInnerAtom() and IsInnerPoint() which can check whether an atom (or a point) is inside or outside the tesselation structure.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/boundary.hpp

    rdc162d re8de2e  
    104104    int CheckPresenceOfTriangle(ofstream *out, atom *Candidates[3]);
    105105    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]);
    106108
    107109    PointMap PointsOnBoundary;
     
    132134bool existsIntersection(Vector point1, Vector point2, Vector point3, Vector point4);
    133135bool sortCandidates(CandidateForTesselation* candidate1, CandidateForTesselation* candidate2);
     136bool IsInnerPoint(Vector Point, class Tesselation *Tess, LinkedCell* LC);
     137bool IsInnerAtom(atom *Atom, class Tesselation *Tess, LinkedCell* LC);
     138atom* findClosestAtom(const atom* Atom, LinkedCell* LC);
     139double getAngle(Vector point, Vector reference, Vector center, Vector OrthogonalVector);
    134140
    135141#endif /*BOUNDARY_HPP_*/
Note: See TracChangeset for help on using the changeset viewer.