Ignore:
Timestamp:
Jul 7, 2009, 6:49:32 AM (16 years ago)
Author:
Frederik Heber <heber@…>
Children:
eeae5b
Parents:
899029f
Message:

All of Saskia Metzler's changes so far to remove bugs from Tesselation (still not working)

Principle ideas:

  • allow maximum of two triangles per triple of atomic indices to also tesselate "flat" areas
  • detect degeneracies by having a list of candidates and adding multiple triangles (one for each) by an angle criteria

New functions:

  • existsIntersection(): Checks per distance minimiser whether two lines intersect (for intersecting triangles)
  • MinIntersectDistance(): Calculates the minimal distance between two lines (function to minimize)
  • sortCandidates(): Sorting function for the third point candidates
  • CheckPresenceOfTriangle(): For a triple of atomic indices, checks whether a triangle between them already exists (needed for allowing max of two triangles per triple)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/molecules.hpp

    r899029f rd2639f  
    5757#define PointPair pair < int, class BoundaryPointSet * >
    5858#define PointTestPair pair < PointMap::iterator, bool >
    59 
    60 #define LineMap map < int, class BoundaryLineSet * >
     59#define CandidateList list <class CandidateForTesselation *>
     60
     61#define LineMap multimap < int, class BoundaryLineSet * >
    6162#define LinePair pair < int, class BoundaryLineSet * >
    6263#define LineTestPair pair < LineMap::iterator, bool >
     
    7172#define MoleculeList list <molecule *>
    7273#define MoleculeListTest pair <MoleculeList::iterator, bool>
     74
     75#define LinkedAtoms list <atom *>
    7376
    7477/******************************** Some small functions and/or structures **********************************/
Note: See TracChangeset for help on using the changeset viewer.