MonotoneChainBuilder.h
/**********************************************************************
*
* GEOS - Geometry Engine Open Source
* http://geos.osgeo.org
*
* Copyright (C) 2001-2002 Vivid Solutions 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.
*
**********************************************************************
*
* Last port: index/chain/MonotoneChainBuilder.java r388 (JTS-1.12)
*
**********************************************************************/
#pragma once
#include <geos/export.h>
#include <memory>
#include <vector>
#include <cstddef>
// Forward declarations
namespace geos {
namespace geom {
class CoordinateSequence;
}
namespace index {
namespace chain {
class MonotoneChain;
}
}
}
namespace geos {
namespace index { // geos::index
namespace chain { // geos::index::chain
class GEOS_DLL MonotoneChainBuilder {
public:
static void getChains(const geom::CoordinateSequence* pts,
void* context,
std::vector<MonotoneChain>& mcList);
MonotoneChainBuilder(const MonotoneChainBuilder&) = delete;
MonotoneChainBuilder& operator=(const MonotoneChainBuilder&) = delete;
};
} // namespace geos::index::chain
} // namespace geos::index
} // namespace geos
geos::geom::CoordinateSequence
The internal representation of a list of coordinates inside a Geometry.
Definition CoordinateSequence.h:56
geos::index::chain::MonotoneChainBuilder::getChains
static void getChains(const geom::CoordinateSequence *pts, void *context, std::vector< MonotoneChain > &mcList)
Computes a list of the MonotoneChains for a list of coordinates, attaching a context data object to e...
geos::index::chain::MonotoneChainBuilder::MonotoneChainBuilder
MonotoneChainBuilder(const MonotoneChainBuilder &)=delete
geos::index::chain::MonotoneChain
Monotone Chains are a way of partitioning the segments of a linestring to allow for fast searching of...
Definition index/chain/MonotoneChain.h:85
geos::geom
Definition Angle.h:26
geos::index::chain
Contains classes that implement Monotone Chains.
Definition index/chain/MonotoneChain.h:35
geos::index
Provides classes for various kinds of spatial indexes.
Definition CleanCoverage.h:39
geos
Basic namespace for all GEOS functionalities.
Definition geos.h:38