2016-05-17 03:04:11 +12:00
|
|
|
#pragma once
|
2016-03-19 06:57:51 +13:00
|
|
|
|
|
|
|
#ifndef TREGIONOUTLINE_H
|
|
|
|
#define TREGIONOUTLINE_H
|
|
|
|
|
2016-06-15 18:43:10 +12:00
|
|
|
class TRegionOutline {
|
2016-03-19 06:57:51 +13:00
|
|
|
public:
|
2016-06-15 18:43:10 +12:00
|
|
|
typedef std::vector<T3DPointD> PointVector;
|
|
|
|
typedef std::vector<PointVector> Boundary;
|
2016-03-19 06:57:51 +13:00
|
|
|
|
2016-06-15 18:43:10 +12:00
|
|
|
Boundary m_exterior, m_interior;
|
|
|
|
bool m_doAntialiasing;
|
2016-03-19 06:57:51 +13:00
|
|
|
|
2016-06-15 18:43:10 +12:00
|
|
|
TRectD m_bbox;
|
2016-03-19 06:57:51 +13:00
|
|
|
|
2016-06-15 18:43:10 +12:00
|
|
|
TRegionOutline() : m_doAntialiasing(false) {}
|
2016-03-19 06:57:51 +13:00
|
|
|
|
2016-06-15 18:43:10 +12:00
|
|
|
void clear() {
|
|
|
|
m_exterior.clear();
|
|
|
|
m_interior.clear();
|
|
|
|
}
|
2016-03-19 06:57:51 +13:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|