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

# EnhancedPrecisionOp.h

    00001 /**********************************************************************
    00002  * $Id: EnhancedPrecisionOp.h 1820 2006-09-06 16:54:23Z mloskot $
    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/platform.h> // for int64
    00024
    00025 // Forward declarations
    00026 namespace geos {
    00027         namespace geom {
    00028                 class Geometry;
    00029         }
    00030 }
    00031
    00032 namespace geos {
    00033 namespace precision { // geos.precision
    00034
    00040 class EnhancedPrecisionOp {
    00041
    00042 public:
    00043
    00053         static geom::Geometry* intersection(
    00054                         const geom::Geometry *geom0,
    00055                         const geom::Geometry *geom1);
    00056
    00065         static geom::Geometry* Union(
    00066                         const geom::Geometry *geom0,
    00067                         const geom::Geometry *geom1);
    00068
    00077         static geom::Geometry* difference(
    00078                         const geom::Geometry *geom0,
    00079                         const geom::Geometry *geom1);
    00080
    00089         static geom::Geometry* symDifference(
    00090                         const geom::Geometry *geom0,
    00091                         const geom::Geometry *geom1);
    00092
    00102         static geom::Geometry* buffer(
    00103                         const geom::Geometry *geom,
    00104                         double distance);
    00105 };
    00106
    00107
    00108 } // namespace geos.precision
    00109 } // namespace geos
    00110
    00111 #endif // GEOS_PRECISION_ENHANCEDPRECISIONOP_H
    00112
    00113 /**********************************************************************
    00114  * $Log$
    00115  * Revision 1.2  2006/04/06 14:36:52  strk
    00116  * Cleanup in geos::precision namespace (leaks plugged, auto_ptr use, ...)
    00117  *
    00118  * Revision 1.1  2006/03/23 09:17:19  strk
    00119  * precision.h header split, minor optimizations
    00120  *
    00121  **********************************************************************/