1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#ifndef Geom_BoundSpan_H
#define Geom_BoundSpan_H
/**
* compute the span of a bound surface in the global space
*
*
*/
#include <utility>
class Surface;
class BoundSpan {
public:
void compute(Surface const& plane);
BoundSpan() : m_phiSpan(0., 0.), m_zSpan(0., 0.), m_rSpan(0., 0.) {}
std::pair<float, float> const& phiSpan() const { return m_phiSpan; }
std::pair<float, float> const& zSpan() const { return m_zSpan; }
std::pair<float, float> const& rSpan() const { return m_rSpan; }
private:
std::pair<float, float> m_phiSpan;
std::pair<float, float> m_zSpan;
std::pair<float, float> m_rSpan;
};
#endif
|