Packages

package snap

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Type Members

  1. class GeometrySnapper extends AnyRef
  2. class LineStringSnapper extends AnyRef
  3. class SnapIfNeededOverlayOp extends AnyRef
  4. class SnapOverlayOp extends AnyRef
  5. class SnapTransformer extends GeometryTransformer

Value Members

  1. object GeometrySnapper

    Snaps the vertices and segments of a {link Geometry} to another Geometry's vertices.

    Snaps the vertices and segments of a {link Geometry} to another Geometry's vertices. A snap distance tolerance is used to control where snapping is performed. Snapping one geometry to another can improve robustness for overlay operations by eliminating nearly-coincident edges (which cause problems during noding and intersection calculation). It can also be used to eliminate artifacts such as narrow slivers, spikes and gores.

    Too much snapping can result in invalid topology being created, so the number and location of snapped vertices is decided using heuristics to determine when it is safe to snap. This can result in some potential snaps being omitted, however.

    Version

    1.7

  2. object LineStringSnapper

    Snaps the vertices and segments of a {link LineString} to a set of target snap vertices.

    Snaps the vertices and segments of a {link LineString} to a set of target snap vertices. A snap distance tolerance is used to control where snapping is performed.

    The implementation handles empty geometry and empty snap vertex sets.

    Version

    1.7

  3. object SnapIfNeededOverlayOp

    Performs an overlay operation using snapping and enhanced precision to improve the robustness of the result.

    Performs an overlay operation using snapping and enhanced precision to improve the robustness of the result. This class only uses snapping if an error is detected when running the standard JTS overlay code. Errors detected include thrown exceptions (in particular, {link TopologyException}) and invalid overlay computations.

    Version

    1.7

  4. object SnapOverlayOp

    Performs an overlay operation using snapping and enhanced precision to improve the robustness of the result.

    Performs an overlay operation using snapping and enhanced precision to improve the robustness of the result. This class always uses snapping. This is less performant than the standard JTS overlay code, and may even introduce errors which were not present in the original data. For this reason, this class should only be used if the standard overlay code fails to produce a correct result.

    Version

    1.7

Ungrouped