# RelateOp.h

    00001 /**********************************************************************
    00002  * $Id: RelateOp.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) 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 #ifndef GEOS_OP_RELATE_RELATEOP_H
    00017 #define GEOS_OP_RELATE_RELATEOP_H
    00018
    00019 #include <geos/operation/GeometryGraphOperation.h> // for inheritance
    00020 #include <geos/operation/relate/RelateComputer.h> // for composition
    00021
    00022 // Forward declarations
    00023 namespace geos {
    00024         namespace geom {
    00025                 class IntersectionMatrix;
    00026                 class Geometry;
    00027         }
    00028 }
    00029
    00030
    00031 namespace geos {
    00032 namespace operation { // geos::operation
    00033 namespace relate { // geos::operation::relate
    00034
    00043 class RelateOp: public GeometryGraphOperation {
    00044
    00045 public:
    00046
    00047         static geom::IntersectionMatrix* relate(
    00048                         const geom::Geometry *a,
    00049                         const geom::Geometry *b);
    00050
    00051         RelateOp(const geom::Geometry *g0,
    00052                         const geom::Geometry *g1);
    00053
    00054         virtual ~RelateOp();
    00055
    00056         geom::IntersectionMatrix* getIntersectionMatrix();
    00057
    00058 private:
    00059
    00060         RelateComputer relateComp;
    00061 };
    00062
    00063
    00064 } // namespace geos:operation:relate
    00065 } // namespace geos:operation
    00066 } // namespace geos
    00067
    00068 #endif // GEOS_OP_RELATE_RELATEOP_H
    00069
    00070 /**********************************************************************
    00071  * $Log$
    00072  * Revision 1.1  2006/03/21 13:11:29  strk
    00073  * opRelate.h header split
    00074  *
    00075  **********************************************************************/
    00076