45 строки
923 B
C++
45 строки
923 B
C++
/**********************************************************************
|
|
*
|
|
* GEOS - Geometry Engine Open Source
|
|
* http://geos.osgeo.org
|
|
*
|
|
* Copyright (C) 2001-2002 Vivid Solutions Inc.
|
|
*
|
|
* This is free software; you can redistribute and/or modify it under
|
|
* the terms of the GNU Lesser General Public Licence as published
|
|
* by the Free Software Foundation.
|
|
* See the COPYING file for more information.
|
|
*
|
|
**********************************************************************
|
|
*
|
|
**********************************************************************/
|
|
|
|
|
|
// CTS.cpp : Testing class
|
|
//
|
|
|
|
#include <iostream>
|
|
|
|
#include <geos/io.h>
|
|
#include <geos/geom.h>
|
|
|
|
using namespace std;
|
|
using namespace geos;
|
|
|
|
int
|
|
main(int argc, char** argv)
|
|
{
|
|
try {
|
|
cout << "Start:" << endl;
|
|
|
|
|
|
cout << "End" << endl;
|
|
}
|
|
catch(const GEOSException& ge) {
|
|
cout << ge->toString() << endl;
|
|
}
|
|
|
|
return 0;
|
|
}
|
|
|