53 lines
804 B
C++
53 lines
804 B
C++
|
|
/*
|
||
|
|
----
|
||
|
|
* This file is part of libfmr
|
||
|
|
*
|
||
|
|
* File: main.cpp
|
||
|
|
* Author: Florian Heinz <fh@sysv.de>
|
||
|
|
*
|
||
|
|
* Created on September 9, 2016, 2:35 PM
|
||
|
|
----
|
||
|
|
|
||
|
|
//paragraph [1] Title: [{\Large \bf \begin {center}] [\end {center}}]
|
||
|
|
//[TOC] [\tableofcontents]
|
||
|
|
|
||
|
|
[1] Test file
|
||
|
|
|
||
|
|
[TOC]
|
||
|
|
|
||
|
|
1 Testfile
|
||
|
|
|
||
|
|
Test the library.
|
||
|
|
|
||
|
|
*/
|
||
|
|
|
||
|
|
#include <cstdlib>
|
||
|
|
#include <iostream>
|
||
|
|
#include <memory>
|
||
|
|
|
||
|
|
#include "fmr_RList.h"
|
||
|
|
#include "fmr_FMRegion.h"
|
||
|
|
#include "fmr_Region.h"
|
||
|
|
#include "fmr_MPoint.h"
|
||
|
|
#include "fmr_Trochoid.h"
|
||
|
|
#include "fmr_TraversedAreaFactory.h"
|
||
|
|
|
||
|
|
using namespace std;
|
||
|
|
using namespace fmr;
|
||
|
|
|
||
|
|
/*
|
||
|
|
2 Test main routine
|
||
|
|
|
||
|
|
*/
|
||
|
|
#if 0
|
||
|
|
int main(int argc, char** argv) {
|
||
|
|
RList l = RList::parseFile(argv[1]);
|
||
|
|
FMRegion fmr(l[4]);
|
||
|
|
CRegion r2 = fmr.traversedArea();
|
||
|
|
|
||
|
|
cerr << r2.ToString();
|
||
|
|
|
||
|
|
|
||
|
|
return 0;
|
||
|
|
}
|
||
|
|
#endif
|