-
Notifications
You must be signed in to change notification settings - Fork 0
/
DgInAIGenFile.h
48 lines (33 loc) · 1.38 KB
/
DgInAIGenFile.h
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
////////////////////////////////////////////////////////////////////////////////
//
// DgInAIGenFile.h: DgInAIGenFile class definitions
//
// Version 6.1 - Kevin Sahr, 5/23/13
//
////////////////////////////////////////////////////////////////////////////////
#ifndef DGINAIGENFILE_H
#define DGINAIGENFILE_H
#include "DgInLocTextFile.h"
class DgPolygon;
////////////////////////////////////////////////////////////////////////////////
class DgInAIGenFile : public DgInLocTextFile {
public:
DgInAIGenFile (const DgRFBase& rfIn, const string* fileNameIn = NULL,
DgReportLevel failLevel = DgBase::Fatal);
bool forcePolyLine (void) const { return forcePolyLine_; }
bool forceCells (void) const { return forceCells_; }
void setForcePolyLine (bool forcePolyLine = false)
{ forcePolyLine_ = forcePolyLine; }
void setForceCells (bool forceCells = false)
{ forceCells_ = forceCells; }
virtual DgInLocFile& extract (DgLocList& list);
virtual DgInLocFile& extract (DgLocVector& vec);
virtual DgInLocFile& extract (DgPolygon& poly);
virtual DgInLocFile& extract (DgLocation& loc);
virtual DgInLocFile& extract (DgCell& cell);
private:
bool forcePolyLine_;
bool forceCells_;
};
////////////////////////////////////////////////////////////////////////////////
#endif