public interface IEdgeSnapResultProvider
An implementation of this class is obtained from the lookup of the IEdge
s which are being edited during an
operation where graph snapping
is involved.
Modifier and Type | Method and Description |
---|---|
void |
collectSnapResults(GraphSnapContext context,
CollectSnapResultsEventArgs args,
IListEnumerable<MovementInfo> movementInfos,
IEdge edge)
Called to during the snapping operation whenever
snap results are collected . |
void collectSnapResults(GraphSnapContext context, CollectSnapResultsEventArgs args, IListEnumerable<MovementInfo> movementInfos, IEdge edge)
snap results are collected
.
This method will be called for each collection of the results.
context
- The context that is using this instance.args
- The event argument to obtain the necessary information from and
add results to
.movementInfos
- The movement infos that describe the edge
.edge
- The edge for which the SnapResult
s should be
collected
.