Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | Related Pages

GEOS Documentation

2.1.4

Introduction

Geometry Engine Open Source is a C++ port of the Java Topology Suite.

Getting Started

Main class is geos::Geometry, from which all geometry types derive.

Construction and destruction of Geometries is done using geos::GeometryFactory.

You'll feed it geos::CoordinateSequence for base geometries or vectors of geometries for collections.

If you need to construct geometric shaped geometries, you can use geos::GeometricShapeFactory.

GEOS version info (as a string) can be obtained using geos::geosversion(). The JTS version this release has been ported from is available throu geos::jtsport().

Input / Output

For WKT input/output you can use geos::WKTReader and geos::WKTWriter

Exceptions

Internal exceptions are thrown as pointers to geos::GEOSException.

Other standard exceptions are not mapped to this handler, nor does GEOSException inerit from standard exception, so you'll need to catch both if you care (this might change in the future)


Generated on Mon Sep 19 20:59:55 2005 for GEOS by  doxygen 1.4.4