IndexedFacetDistance constructor
IndexedFacetDistance(
- Geometry baseGeometry
Creates a new distance-finding instance for a given target {@link Geometry}.
Distances will be computed to all facets of the input geometry. The facets of the geometry are the discrete segments and points contained in its components. In the case of {@link Lineal} and {@link Puntal} inputs, this is equivalent to computing the conventional distance. In the case of {@link Polygonal} inputs, this is equivalent to computing the distance to the polygon boundaries.
@param geom a Geometry, which may be of any type.
Implementation
IndexedFacetDistance(this.baseGeometry)
: cachedTree = FacetSequenceTreeBuilder.build(baseGeometry);