GEOS
3.9.1dev
|
Finds the most likely Location of a point relative to the polygonal components of a geometry, using a tolerance value. More...
#include <FuzzyPointLocator.h>
Public Member Functions | |
FuzzyPointLocator (const geom::Geometry &geom, double nTolerance) | |
geom::Location | getLocation (const geom::Coordinate &pt) |
Private Member Functions | |
std::unique_ptr< geom::Geometry > | getLineWork (const geom::Geometry &geom) |
std::unique_ptr< geom::Geometry > | extractLineWork (const geom::Geometry &geom) |
FuzzyPointLocator (const FuzzyPointLocator &other)=delete | |
FuzzyPointLocator & | operator= (const FuzzyPointLocator &rhs)=delete |
Private Attributes | |
const geom::Geometry & | g |
double | tolerance |
algorithm::PointLocator | ptLocator |
std::unique_ptr< geom::Geometry > | linework |
Finds the most likely Location of a point relative to the polygonal components of a geometry, using a tolerance value.
If a point is not clearly in the Interior or Exterior, it is considered to be on the Boundary. In other words, if the point is within the tolerance of the Boundary, it is considered to be on the Boundary; otherwise, whether it is Interior or Exterior is determined directly.
Definition at line 58 of file FuzzyPointLocator.h.
geos::operation::overlay::validate::FuzzyPointLocator::FuzzyPointLocator | ( | const geom::Geometry & | geom, |
double | nTolerance | ||
) |
|
privatedelete |
|
private |
Extracts linework for polygonal components.
geom | the geometry from which to extract |
|
private |
geom::Location geos::operation::overlay::validate::FuzzyPointLocator::getLocation | ( | const geom::Coordinate & | pt | ) |
|
privatedelete |
|
private |
Definition at line 68 of file FuzzyPointLocator.h.
|
private |
Definition at line 74 of file FuzzyPointLocator.h.
|
private |
Definition at line 72 of file FuzzyPointLocator.h.
|
private |
Definition at line 70 of file FuzzyPointLocator.h.