Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/tesselation.hpp

    r241485 r9473f6  
    106106  public:
    107107    BoundaryPointSet();
    108     BoundaryPointSet(TesselPoint * Walker);
     108    BoundaryPointSet(TesselPoint * const Walker);
    109109    ~BoundaryPointSet();
    110110
    111     void AddLine(class BoundaryLineSet *line);
     111    void AddLine(BoundaryLineSet * const line);
    112112
    113113    LineMap lines;
     
    125125  public:
    126126    BoundaryLineSet();
    127     BoundaryLineSet(class BoundaryPointSet *Point[2], const int number);
     127    BoundaryLineSet(BoundaryPointSet * const Point[2], const int number);
     128    BoundaryLineSet(BoundaryPointSet * const Point1, BoundaryPointSet * const Point2, const int number);
    128129    ~BoundaryLineSet();
    129130
    130     void AddTriangle(class BoundaryTriangleSet *triangle);
    131     bool IsConnectedTo(class BoundaryLineSet *line);
    132     bool ContainsBoundaryPoint(class BoundaryPointSet *point);
    133     bool CheckConvexityCriterion();
    134     class BoundaryPointSet *GetOtherEndpoint(class BoundaryPointSet *);
     131    void AddTriangle(BoundaryTriangleSet * const triangle);
     132    bool IsConnectedTo(const BoundaryLineSet * const line) const;
     133    bool ContainsBoundaryPoint(const BoundaryPointSet * const point) const;
     134    bool CheckConvexityCriterion() const;
     135    class BoundaryPointSet *GetOtherEndpoint(const BoundaryPointSet * const point) const;
    135136
    136137    class BoundaryPointSet *endpoints[2];
     
    147148  public:
    148149    BoundaryTriangleSet();
    149     BoundaryTriangleSet(class BoundaryLineSet *line[3], int number);
     150    BoundaryTriangleSet(class BoundaryLineSet * const line[3], const int number);
    150151    ~BoundaryTriangleSet();
    151152
    152     void GetNormalVector(Vector &NormalVector);
    153     void GetCenter(Vector *center);
    154     bool GetIntersectionInsideTriangle(Vector *MolCenter, Vector *x, Vector *Intersection);
    155     bool ContainsBoundaryLine(class BoundaryLineSet *line);
    156     bool ContainsBoundaryPoint(class BoundaryPointSet *point);
    157     bool ContainsBoundaryPoint(class TesselPoint *point);
    158     class BoundaryPointSet *GetThirdEndpoint(class BoundaryLineSet *line);
    159     bool IsPresentTupel(class BoundaryPointSet *Points[3]);
    160     bool IsPresentTupel(class BoundaryTriangleSet *T);
     153    void GetNormalVector(const Vector &NormalVector);
     154    void GetCenter(Vector * const center) const;
     155    bool GetIntersectionInsideTriangle(const Vector * const MolCenter, const Vector * const x, Vector * const Intersection) const;
     156    double GetClosestPointInsideTriangle(const Vector * const x, Vector * const ClosestPoint) const;
     157    bool ContainsBoundaryLine(const BoundaryLineSet * const line) const;
     158    bool ContainsBoundaryPoint(const BoundaryPointSet * const point) const;
     159    bool ContainsBoundaryPoint(const TesselPoint * const point) const;
     160    class BoundaryPointSet *GetThirdEndpoint(const BoundaryLineSet * const line) const;
     161    bool IsPresentTupel(const BoundaryPointSet * const Points[3]) const;
     162    bool IsPresentTupel(const BoundaryTriangleSet * const T) const;
    161163
    162164    class BoundaryPointSet *endpoints[3];
     
    313315    class BoundaryTriangleSet * FindClosestTriangleToPoint(const Vector *x, const LinkedCell* LC) const;
    314316    bool IsInnerPoint(const Vector &Point, const LinkedCell* const LC) const;
     317    double GetDistanceSquaredToSurface(const Vector &Point, const LinkedCell* const LC) const;
    315318    bool AddBoundaryPoint(TesselPoint * Walker, const int n);
    316319    DistanceToPointMap * FindClosestBoundaryPointsToVector(const Vector *x, const LinkedCell* LC) const;
Note: See TracChangeset for help on using the changeset viewer.