|
|
#include <cmath> | #include <cmath> |
#include <sstream> | #include <sstream> |
#include <vector> | #include <vector> |
|
#include <typeinfo> |
| |
using namespace std; | using namespace std; |
using namespace geos::geom; | using namespace geos::geom; |
|
|
#include <geos/geom/LinearRing.h> | #include <geos/geom/LinearRing.h> |
| |
#include <vector> | #include <vector> |
|
#include <typeinfo> |
| |
using namespace std; | using namespace std; |
using namespace geos::geom; | using namespace geos::geom; |
|
|
#include <geos/util.h> | #include <geos/util.h> |
| |
#include <cassert> | #include <cassert> |
|
#include <cstring> |
| |
namespace geos { | namespace geos { |
namespace io { // geos.io | namespace io { // geos.io |
|
|
#include <geos/io/StringTokenizer.h> | #include <geos/io/StringTokenizer.h> |
| |
#include <string> | #include <string> |
|
#include <cstdlib> |
| |
using namespace std; | using namespace std; |
| |
|
|
#include <vector> | #include <vector> |
#include <memory> | #include <memory> |
#include <cassert> | #include <cassert> |
|
#include <typeinfo> |
| |
#ifndef GEOS_DEBUG | #ifndef GEOS_DEBUG |
#define GEOS_DEBUG 0 | #define GEOS_DEBUG 0 |
|
|
#include <geos/geom/Polygon.h> | #include <geos/geom/Polygon.h> |
| |
#include <vector> | #include <vector> |
|
#include <typeinfo> |
| |
using namespace std; | using namespace std; |
using namespace geos::geom; | using namespace geos::geom; |
|
|
#include <vector> | #include <vector> |
#include <memory> // auto_ptr | #include <memory> // auto_ptr |
#include <cassert> | #include <cassert> |
|
#include <typeinfo> |
| |
#ifndef GEOS_DEBUG | #ifndef GEOS_DEBUG |
#define GEOS_DEBUG 0 | #define GEOS_DEBUG 0 |
|
|
#include <geos/util/IllegalArgumentException.h> | #include <geos/util/IllegalArgumentException.h> |
| |
#include <string> | #include <string> |
|
#include <cstring> |
| |
#if __STDC_IEC_559__ | #if __STDC_IEC_559__ |
#define ASSUME_IEEE_DOUBLE 1 | #define ASSUME_IEEE_DOUBLE 1 |
|
|
| |
#include <cassert> | #include <cassert> |
#include <string> | #include <string> |
|
#include <memory> |
| |
// Forward declarations | // Forward declarations |
namespace geos { | namespace geos { |
|
|
#include <vector> | #include <vector> |
#include <iostream> | #include <iostream> |
#include <cmath> // for abs() | #include <cmath> // for abs() |
|
#include <cstdlib> // for abs() |
| |
#include <geos/inline.h> | #include <geos/inline.h> |
| |
|
|
#include <vector> | #include <vector> |
#include <sstream> | #include <sstream> |
#include <iomanip> | #include <iomanip> |
|
#include <cstdlib> |
#include <geos/geom/PrecisionModel.h> | #include <geos/geom/PrecisionModel.h> |
#include <geos/geom/GeometryFactory.h> | #include <geos/geom/GeometryFactory.h> |
#include <geos/geom/Geometry.h> | #include <geos/geom/Geometry.h> |
|
|
#include <string> | #include <string> |
#include <map> | #include <map> |
#include <vector> | #include <vector> |
|
#include <cstring> |
| |
#ifdef _DEBUG | #ifdef _DEBUG |
#define _DS(i) (i?&(m_strDoc.c_str())[m_aPos[i].nStartL]:0) | #define _DS(i) (i?&(m_strDoc.c_str())[m_aPos[i].nStartL]:0) |
|
|
#include <functional> | #include <functional> |
#include <stdexcept> | #include <stdexcept> |
#include <cmath> | #include <cmath> |
|
#include <cstring> |
| |
#ifdef _MSC_VER | #ifdef _MSC_VER |
#include <windows.h> | #include <windows.h> |
|
|
// cout << "n Pts: " << nPts << " Executed in " << totalTime << endl; | // cout << "n Pts: " << nPts << " Executed in " << totalTime << endl; |
} | } |
| |
int main(int /* argC */, char* /* argV[] */) { |
int main(int /* argC */, char** /* argV */) { |
| |
GeometryFactory *fact=new GeometryFactory(); | GeometryFactory *fact=new GeometryFactory(); |
| |