00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef GEOS_OP_UNION_POINTGEOMETRYUNION_H
00021 #define GEOS_OP_UNION_POINTGEOMETRYUNION_H
00022 #include <geos/export.h>
00023
00024 #include <vector>
00025 #include <algorithm>
00026
00027
00028 namespace geos {
00029 namespace geom {
00030 class GeometryFactory;
00031 class Geometry;
00032 class Puntal;
00033 }
00034 }
00035
00036 namespace geos {
00037 namespace operation {
00038 namespace geounion {
00039
00048 class GEOS_DLL PointGeometryUnion
00049 {
00050 public:
00051
00052 static std::auto_ptr<geom::Geometry> Union(
00053 const geom::Puntal& pointGeom,
00054 const geom::Geometry& otherGeom);
00055
00056
00057 PointGeometryUnion(const geom::Puntal& pointGeom,
00058 const geom::Geometry& otherGeom);
00059
00060 std::auto_ptr<geom::Geometry> Union() const;
00061
00062 private:
00063 const geom::Geometry& pointGeom;
00064 const geom::Geometry& otherGeom;
00065 const geom::GeometryFactory* geomFact;
00066
00067
00068 PointGeometryUnion(const PointGeometryUnion& other);
00069 PointGeometryUnion& operator=(const PointGeometryUnion& rhs);
00070 };
00071
00072 }
00073 }
00074 }
00075
00076 #endif