Ignore:
Timestamp:
Aug 17, 2009, 10:30:53 AM (16 years ago)
Author:
Frederik Heber <heber@…>
Children:
3de1d2
Parents:
844cf5
Message:

documentation, some renames (..Triangle.. -> ..Tesselation..) and a bunch of new functions needed for ConvexizeNonconvexEnvelope()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/tesselation.hpp

    r844cf5 reb58a7  
    7878    int LinesCount;
    7979    TesselPoint *node;
     80    double value;
    8081    int Nr;
    8182};
     
    190191    virtual ~Tesselation();
    191192
    192     bool AddPoint(TesselPoint *Walker, int n);
    193     void AddTrianglePoint(TesselPoint* Candidate, int n);
    194     void AddTriangleLine(class BoundaryPointSet *a, class BoundaryPointSet *b, int n);
    195     void AlwaysAddTriangleLine(class BoundaryPointSet *a, class BoundaryPointSet *b, int n);
    196     void AddTriangle();
     193    void AddTesselationPoint(TesselPoint* Candidate, int n);
     194    void AddTesselationLine(class BoundaryPointSet *a, class BoundaryPointSet *b, int n);
     195    void AlwaysAddTesselationTriangleLine(class BoundaryPointSet *a, class BoundaryPointSet *b, int n);
     196    void AddTesselationTriangle();
     197    void RemoveTesselationTriangle(class BoundaryTriangleSet *triangle);
     198    void RemoveTesselationLine(class BoundaryLineSet *line);
     199    void RemoveTesselationPoint(class BoundaryPointSet *point);
     200
    197201    bool IsInside(Vector *pointer);
    198202    class BoundaryPointSet *GetCommonEndpoint(class BoundaryLineSet * line1, class BoundaryLineSet * line2);
     
    209213    void GuessStartingTriangle(ofstream *out);
    210214    bool InsertStraddlingPoints(ofstream *out, PointCloud *cloud, LinkedCell *LC);
    211     bool CorrectConcaveBaselines(ofstream *out);
    212 
    213     list<TesselPoint*> * getCircleOfConnectedPoints(ofstream *out, TesselPoint* Point, Vector* Reference);
     215    double RemovePointFromTesselatedSurface(ofstream *out, class BoundaryPointSet *point);
     216    bool FlipBaseline(ofstream *out, class BoundaryLineSet *Base);
     217    bool PickFarthestofTwoBaselines(ofstream *out, class BoundaryLineSet *Base);
     218    class BoundaryPointSet *IsConvexRectangle(ofstream *out, class BoundaryLineSet *Base);
     219
     220
     221    list<TesselPoint*> * getCircleOfConnectedPoints(ofstream *out, TesselPoint* Point);
     222    list<TesselPoint*> * getNeighboursonCircleofConnectedPoints(ofstream *out, list<TesselPoint*> *connectedPoints, TesselPoint* Point, Vector* Reference);
    214223    list<BoundaryTriangleSet*> *FindTriangles(TesselPoint* Points[3]);
    215224    list<BoundaryTriangleSet*> * FindClosestTrianglesToPoint(ofstream *out, Vector *x, LinkedCell* LC);
     
    217226    bool IsInnerPoint(ofstream *out, Vector Point, LinkedCell* LC);
    218227    bool IsInnerPoint(ofstream *out, TesselPoint *Point, LinkedCell* LC);
     228    bool AddBoundaryPoint(TesselPoint *Walker, int n);
    219229
    220230    PointMap PointsOnBoundary;
     
    251261TesselPoint* findSecondClosestPoint(const Vector*, LinkedCell*);
    252262double getAngle(const Vector &point, const Vector &reference, const Vector OrthogonalVector);
     263Vector * GetClosestPointBetweenLine(ofstream *out, class BoundaryLineSet *Base, class BoundaryLineSet *OtherBase);
    253264
    254265#endif /* TESSELATION_HPP_ */
Note: See TracChangeset for help on using the changeset viewer.