Candidate_v1.7.0
        stable
      
      
        
          | Last change
 on this file since 1ca493a was             d127c8, checked in by Frederik Heber <heber@…>, 14 years ago | 
        
          | 
Moved modules related to Tesselation into own source subfolder.
 This required quite a lot of changes in includes.
 | 
        
          | 
              
Property                 mode
 set to                 100644 | 
        
          | File size:
            1.3 KB | 
      
      
| Line |  | 
|---|
| 1 | /* | 
|---|
| 2 | * BoundaryPointSet.hpp | 
|---|
| 3 | * | 
|---|
| 4 | *  Created on: Jul 29, 2010 | 
|---|
| 5 | *      Author: heber | 
|---|
| 6 | */ | 
|---|
| 7 |  | 
|---|
| 8 | #ifndef BOUNDARYPOINTSET_HPP_ | 
|---|
| 9 | #define BOUNDARYPOINTSET_HPP_ | 
|---|
| 10 |  | 
|---|
| 11 | // include config.h | 
|---|
| 12 | #ifdef HAVE_CONFIG_H | 
|---|
| 13 | #include <config.h> | 
|---|
| 14 | #endif | 
|---|
| 15 |  | 
|---|
| 16 |  | 
|---|
| 17 | #include "BoundaryMaps.hpp" | 
|---|
| 18 |  | 
|---|
| 19 | #include <iostream> | 
|---|
| 20 | #include <map> | 
|---|
| 21 |  | 
|---|
| 22 | class BoundaryLineSet; | 
|---|
| 23 | class TesselPoint; | 
|---|
| 24 | class Vector; | 
|---|
| 25 |  | 
|---|
| 26 | class BoundaryPointSet { | 
|---|
| 27 | public: | 
|---|
| 28 | BoundaryPointSet(); | 
|---|
| 29 | BoundaryPointSet(TesselPoint * const Walker); | 
|---|
| 30 | ~BoundaryPointSet(); | 
|---|
| 31 |  | 
|---|
| 32 | void AddLine(BoundaryLineSet * const line); | 
|---|
| 33 |  | 
|---|
| 34 | LineMap lines; | 
|---|
| 35 | int LinesCount; | 
|---|
| 36 | TesselPoint *node; | 
|---|
| 37 | double value; | 
|---|
| 38 | int Nr; | 
|---|
| 39 |  | 
|---|
| 40 | /** Getter for \a node's getName(). | 
|---|
| 41 | * | 
|---|
| 42 | * @return getName() of \a node | 
|---|
| 43 | */ | 
|---|
| 44 | const std::string& getName() const; | 
|---|
| 45 |  | 
|---|
| 46 | /** Getter for \a node's getPosition(). | 
|---|
| 47 | * | 
|---|
| 48 | * @return getPosition() of \a node | 
|---|
| 49 | */ | 
|---|
| 50 | const Vector& getPosition() const; | 
|---|
| 51 |  | 
|---|
| 52 | /** Getter for \a node's Nr. | 
|---|
| 53 | * | 
|---|
| 54 | * @return getNr() of \a node | 
|---|
| 55 | */ | 
|---|
| 56 | const int& getNr() const; | 
|---|
| 57 |  | 
|---|
| 58 | /** Getter for embedded TesselPoint. | 
|---|
| 59 | * | 
|---|
| 60 | * @return reference to embedded TesselPoint \a node | 
|---|
| 61 | */ | 
|---|
| 62 | TesselPoint *getTesselPoint(); | 
|---|
| 63 | }; | 
|---|
| 64 |  | 
|---|
| 65 | /** output operator for BoundaryPointSet. | 
|---|
| 66 | * \param &ost output stream | 
|---|
| 67 | * \param &a boundary point | 
|---|
| 68 | */ | 
|---|
| 69 | std::ostream & operator << (std::ostream &ost, const BoundaryPointSet &a); | 
|---|
| 70 |  | 
|---|
| 71 | #endif /* BOUNDARYPOINTSET_HPP_ */ | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.