GEOS: PreparedPoint.h Source File

GEOS 3.3.8

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

- File List

PreparedPoint.h
1 /**********************************************************************
2 * $Id: PreparedPoint.h 3405 2011-07-05 09:44:00Z strk $
3 *
4 * GEOS - Geometry Engine Open Source
5 * http://geos.refractions.net
6 *
7 * Copyright (C) 2006 Refractions Research Inc.
8 *
9 * This is free software; you can redistribute and/or modify it under
10 * the terms of the GNU Lesser General Public Licence as published
11 * by the Free Software Foundation.
12 * See the COPYING file for more information.
13 *
14 *
15 **********************************************************************
16 *
17 * Last port: geom/prep/PreparedPoint.java rev. 1.2 (JTS-1.10)
18 *
19 **********************************************************************/
20
21 #ifndef GEOS_GEOM_PREP_PREPAREDPOINT_H
22 #define GEOS_GEOM_PREP_PREPAREDPOINT_H
23
24 #include <geos/geom/prep/BasicPreparedGeometry.h> // for inheritance
25
26 namespace geos {
27 namespace geom { // geos::geom
28 namespace prep { // geos::geom::prep
29
37 class PreparedPoint: public BasicPreparedGeometry
38 {
39 private:
40 protected:
41 public:
42 PreparedPoint(const Geometry * geom)
43 : BasicPreparedGeometry( geom)
44 { }
45
52 bool intersects(const geom::Geometry* g);
53
54 };
55
56 } // namespace geos::geom::prep
57 } // namespace geos::geom
58 } // namespace geos
59
60 #endif // GEOS_GEOM_PREP_PREPAREDPOINT_H
61 /**********************************************************************
62 * $Log$
63 **********************************************************************/
64