Last change
on this file since 97dff0 was d127c8, checked in by Frederik Heber <heber@…>, 13 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
|
Rev | Line | |
---|
[d74077] | 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 |
|
---|
[56f73b] | 11 | // include config.h
|
---|
| 12 | #ifdef HAVE_CONFIG_H
|
---|
| 13 | #include <config.h>
|
---|
| 14 | #endif
|
---|
| 15 |
|
---|
| 16 |
|
---|
[d74077] | 17 | #include "BoundaryMaps.hpp"
|
---|
| 18 |
|
---|
| 19 | #include <iostream>
|
---|
| 20 | #include <map>
|
---|
| 21 |
|
---|
| 22 | class BoundaryLineSet;
|
---|
| 23 | class TesselPoint;
|
---|
[ba5215] | 24 | class Vector;
|
---|
[d74077] | 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;
|
---|
[ba5215] | 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 |
|
---|
[5309ba] | 52 | /** Getter for \a node's Nr.
|
---|
[ba5215] | 53 | *
|
---|
[735b1c] | 54 | * @return getNr() of \a node
|
---|
[ba5215] | 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();
|
---|
[d74077] | 63 | };
|
---|
| 64 |
|
---|
[ba5215] | 65 | /** output operator for BoundaryPointSet.
|
---|
| 66 | * \param &ost output stream
|
---|
| 67 | * \param &a boundary point
|
---|
| 68 | */
|
---|
[d74077] | 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.