/usr/include/geos/geom/Location.h is in libgeos-dev 3.2.2-3ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 | /**********************************************************************
* $Id: Location.h 2556 2009-06-06 22:22:28Z strk $
*
* GEOS - Geometry Engine Open Source
* http://geos.refractions.net
*
* Copyright (C) 2006 Refractions Research Inc.
*
* This is free software; you can redistribute and/or modify it under
* the terms of the GNU Lesser General Public Licence as published
* by the Free Software Foundation.
* See the COPYING file for more information.
*
**********************************************************************/
#ifndef GEOS_GEOM_LOCATION_H
#define GEOS_GEOM_LOCATION_H
#include <geos/export.h>
#include <iostream> // for ostream
#include <geos/inline.h>
namespace geos {
namespace geom { // geos::geom
/** \brief
*
* Constants representing the location of a point relative to a geometry.
*
* They can also be thought of as the row or column index of a DE-9IM matrix.
* For a description of the DE-9IM, see the <A
* HREF="http://www.opengis.org/techno/specs.htm">OpenGIS Simple Features
* Specification for SQL</A> .
*/
class GEOS_DLL Location {
public:
enum Value {
/**
* Used for uninitialized location values.
*/
UNDEF=-1, // Instead of NULL
/**
* DE-9IM row index of the interior of the first geometry and
* column index of the interior of the second geometry.
* Location value for the interior of a geometry.
*/
INTERIOR = 0,
/**
* DE-9IM row index of the boundary of the first geometry and
* column index of the boundary of the second geometry.
* Location value for the boundary of a geometry.
*/
BOUNDARY = 1,
/**
* DE-9IM row index of the exterior of the first geometry and
* column index of the exterior of the second geometry.
* Location value for the exterior of a geometry.
*/
EXTERIOR = 2
};
static char toLocationSymbol(int locationValue);
};
} // namespace geos::geom
} // namespace geos
//#ifdef GEOS_INLINE
//# include "geos/geom/Location.inl"
//#endif
#endif // ndef GEOS_GEOM_LOCATION_H
|