Table of Contents

Enum SnapMode

Namespace
SpatialNET
Assembly
SpatialNET.Extensions.dll

What SpatialNET.Snapping.SnapTo(SpatialNET.IPolyline2D,SpatialNET.IGeometry2D,System.Double,SpatialNET.SnapMode,SpatialNET.SnapEnds,SpatialNET.IGeometryFactory) moves (ADR 0046).

public enum SnapMode

Fields

Ends = 0

Only the loose ends of the paths of a line: the start and the end of every open path. A closed path has no loose end and stays as it is, and a polygon has none at all. This is what a cutting line needs before Cut.

Vertices = 1

Every vertex that lies within the tolerance of the target, and the vertices of the target that lie within the tolerance of a segment are inserted into it, so that two neighbours share their common boundary afterwards.