Ignore:
Timestamp:
Dec 29, 2009, 2:48:49 PM (16 years ago)
Author:
Frederik Heber <heber@…>
Children:
a1acc5
Parents:
ff4611
Message:

Changes to FindClosest...ToVector() and use of ..Map,..Set,..List defines in tesselation.cpp.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/tesselation.hpp

    rff4611 reda56a  
    5252// ======================================================= some template functions =========================================
    5353
     54#define IndexToIndex map <int, int>
     55
    5456#define PointMap map < int, class BoundaryPointSet * >
    5557#define PointSet set < class BoundaryPointSet * >
     
    7678#define PolygonSet set < class BoundaryPolygonSet * >
    7779#define PolygonList list < class BoundaryPolygonSet * >
     80
     81#define DistanceMap multimap <double, class BoundaryPointSet * >
     82#define DistancePair pair <double, class BoundaryPointSet * >
    7883
    7984#define DistanceMultiMap multimap <double, pair < PointMap::iterator, PointMap::iterator> >
     
    310315    bool IsInnerPoint(const TesselPoint * const Point, const LinkedCell* const LC, const double epsilon = -MYEPSILON) const;
    311316    bool AddBoundaryPoint(TesselPoint * Walker, const int n);
    312     TesselPoint* FindSecondClosestBoundaryPoint(const Vector* Point, const LinkedCell* const LC) const;
    313     TesselPoint* FindClosestBoundaryPoint(const Vector* Point, TesselPoint *&SecondPoint, const LinkedCell* const LC) const;
     317    DistanceMap * FindClosestBoundaryPointsToVector(const Vector *x, const LinkedCell* LC) const;
     318    BoundaryLineSet * FindClosestBoundaryLineToVector(const Vector *x, const LinkedCell* LC) const;
     319    TriangleList * FindClosestTrianglesToVector(const Vector *x, const LinkedCell* LC) const;
     320    BoundaryTriangleSet* FindClosestTriangleToVector(const Vector *x, const LinkedCell* LC) const;
    314321
    315322    // print for debugging
Note: See TracChangeset for help on using the changeset viewer.