19 lines
361 B
C++
19 lines
361 B
C++
#ifndef MISC_H
|
|
#define MISC_H
|
|
|
|
#include <Indoor/floorplan/v2/FloorplanReader.h>
|
|
#include <Indoor/wifi/estimate/ray3/ModelFactory.h>
|
|
#include <string>
|
|
#include <fstream>
|
|
|
|
void writeMap3(const Floorplan::IndoorMap* map, const std::string& file) {
|
|
|
|
ModelFactory fac(map);
|
|
std::ofstream outOBJ(file);
|
|
outOBJ << fac.toOBJ();
|
|
outOBJ.close();
|
|
|
|
}
|
|
|
|
#endif // MISC_H
|