GEOS: EnhancedPrecisionOp.h Source File

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- File List

# EnhancedPrecisionOp.h

    00001 /**********************************************************************
    00002  * $Id: EnhancedPrecisionOp.h 2556 2009-06-06 22:22:28Z strk $
    00003  *
    00004  * GEOS - Geometry Engine Open Source
    00005  * http://geos.refractions.net
    00006  *
    00007  * Copyright (C) 2005-2006 Refractions Research Inc.
    00008  *
    00009  * This is free software; you can redistribute and/or modify it under
    00010  * the terms of the GNU Lesser General Public Licence as published
    00011  * by the Free Software Foundation.
    00012  * See the COPYING file for more information.
    00013  *
    00014  **********************************************************************
    00015  *
    00016  * Last port: precision/EnhancedPrecisionOp.java rev. 1.9 (JTS-1.7)
    00017  *
    00018  **********************************************************************/
    00019
    00020 #ifndef GEOS_PRECISION_ENHANCEDPRECISIONOP_H
    00021 #define GEOS_PRECISION_ENHANCEDPRECISIONOP_H
    00022
    00023 #include <geos/export.h>
    00024 #include <geos/platform.h> // for int64
    00025
    00026 // Forward declarations
    00027 namespace geos {
    00028         namespace geom {
    00029                 class Geometry;
    00030         }
    00031 }
    00032
    00033 namespace geos {
    00034 namespace precision { // geos.precision
    00035
    00041 class GEOS_DLL EnhancedPrecisionOp {
    00042
    00043 public:
    00044
    00054         static geom::Geometry* intersection(
    00055                         const geom::Geometry *geom0,
    00056                         const geom::Geometry *geom1);
    00057
    00066         static geom::Geometry* Union(
    00067                         const geom::Geometry *geom0,
    00068                         const geom::Geometry *geom1);
    00069
    00078         static geom::Geometry* difference(
    00079                         const geom::Geometry *geom0,
    00080                         const geom::Geometry *geom1);
    00081
    00090         static geom::Geometry* symDifference(
    00091                         const geom::Geometry *geom0,
    00092                         const geom::Geometry *geom1);
    00093
    00103         static geom::Geometry* buffer(
    00104                         const geom::Geometry *geom,
    00105                         double distance);
    00106 };
    00107
    00108
    00109 } // namespace geos.precision
    00110 } // namespace geos
    00111
    00112 #endif // GEOS_PRECISION_ENHANCEDPRECISIONOP_H
    00113
    00114 /**********************************************************************
    00115  * $Log$
    00116  * Revision 1.2  2006/04/06 14:36:52  strk
    00117  * Cleanup in geos::precision namespace (leaks plugged, auto_ptr use, ...)
    00118  *
    00119  * Revision 1.1  2006/03/23 09:17:19  strk
    00120  * precision.h header split, minor optimizations
    00121  *
    00122  **********************************************************************/