Determines whether the implementing object can be snapped to during edit operations.
Interface that defines snapping behavior for an
Interface which allows to customize snapping behavior.
This interface facilitates visualizing a snapping operation.
Class representing the result of a snapping operation.
Enumerates types of visual feedback that can be given during the snapping process.
A styler for
ILspSnapper, and works by overriding the
edit operationswhich an
editorreceives from the
edit handlesit created. A snapper intercepts operations before they are handled by the editor, and has the freedom to substitute one or more new operation for every such incoming one. If the snapper does not generate new operations, the editor simply process the incoming one unmodified. As an example, a snapper might detect that an operation describes a point being dragged to a new location. The point in question could be, for instance, a vertex belonging to a polygon. The snapper can then determine whether this vertex lies in close proximity to other points of nearby domain objects. If so, it can override the incoming operation such that the vertex will coincide with one of these other points.