/usr/include/geos/precision/PrecisionReducerCoordinateOperation.h is in libgeos++-dev 3.6.2-1build2.
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 | /**********************************************************************
*
* GEOS - Geometry Engine Open Source
* http://geos.osgeo.org
*
* Copyright (C) 2012 Sandro Santilli <strk@keybit.net>
*
* 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.
*
***********************************************************************
*
* Last port: precision/PrecisionreducerCoordinateOperation.java r591 (JTS-1.12)
*
**********************************************************************/
#ifndef GEOS_PRECISION_PRECISIONREDUCERCOORDINATEOPERATION_H
#define GEOS_PRECISION_PRECISIONREDUCERCOORDINATEOPERATION_H
#include <geos/geom/util/CoordinateOperation.h>
// Forward declarations
namespace geos {
namespace geom {
class PrecisionModel;
class CoordinateSequence;
class Geometry;
}
}
namespace geos {
namespace precision { // geos.precision
class PrecisionReducerCoordinateOperation :
public geom::util::CoordinateOperation
{
using CoordinateOperation::edit;
private:
const geom::PrecisionModel& targetPM;
bool removeCollapsed;
PrecisionReducerCoordinateOperation(PrecisionReducerCoordinateOperation const&); /*= delete*/
PrecisionReducerCoordinateOperation& operator=(PrecisionReducerCoordinateOperation const&); /*= delete*/
public:
PrecisionReducerCoordinateOperation( const geom::PrecisionModel& pm,
bool doRemoveCollapsed )
:
targetPM(pm),
removeCollapsed(doRemoveCollapsed)
{}
/// Ownership of returned CoordinateSequence to caller
//
/// virtual function
geom::CoordinateSequence* edit(const geom::CoordinateSequence *coordinates,
const geom::Geometry *geom);
};
} // namespace geos.precision
} // namespace geos
#endif // GEOS_PRECISION_PRECISIONREDUCERCOORDINATEOPERATION_H
|