using System;
using System.Collections.Generic;
using GeoAPI.Extensions.Feature;
using GeoAPI.Geometries;
using SharpMap.Api.Layers;
namespace SharpMap.Api.Editors
{
public interface ISnapRule
{
int PixelGravity { get; set; }
bool Obligatory { get; set; }
///
///
///
///
/// Feature to be snapped
/// Layers to be snapped (the size must be the same as of
///
///
///
///
///
///
SnapResult Execute(IFeature sourceFeature, Tuple[] snapCandidates, IGeometry snapSource, IList sourceGeometry, ICoordinate snapTargets, IEnvelope worldPos, int trackingIndex);
}
}