GEOS
3.9.1dev
|
#include <Densifier.h>
Classes | |
class | DensifyTransformer |
Public Member Functions | |
Densifier (const Geometry *inputGeom) | |
Geometry::Ptr | densify (const Geometry *geom, double distanceTolerance) |
void | setDistanceTolerance (double distanceTolerance) |
Geometry::Ptr | getResultGeometry () const |
Static Private Member Functions | |
static std::unique_ptr< Coordinate::Vect > | densifyPoints (const Coordinate::Vect pts, double distanceTolerance, const PrecisionModel *precModel) |
Private Attributes | |
double | distanceTolerance |
const Geometry * | inputGeom |
Densifies a Geometry by inserting extra vertices along the line segments contained in the geometry. All segments in the created densified geometry will be no longer than than the given distance tolerance. Densified polygonal geometries are guaranteed to be topologically correct. The coordinates created during densification respect the input geometry's PrecisionModel.
Note: At some future point this class will offer a variety of densification strategies.
Definition at line 58 of file Densifier.h.
geos::geom::util::Densifier::Densifier | ( | const Geometry * | inputGeom | ) |
Geometry::Ptr geos::geom::util::Densifier::densify | ( | const Geometry * | geom, |
double | distanceTolerance | ||
) |
|
staticprivate |
Geometry::Ptr geos::geom::util::Densifier::getResultGeometry | ( | ) | const |
void geos::geom::util::Densifier::setDistanceTolerance | ( | double | distanceTolerance | ) |
|
private |
Definition at line 67 of file Densifier.h.
|
private |
Definition at line 68 of file Densifier.h.