C# Класс MapAround.UI.WinForms.Snapper

Contains an information about snapping.
Показать файл Открыть проект

Открытые методы

Метод Описание
Snapper ( ) : System

Initializes a new instance of the MapAround.UI.WinForms.SnapInfo which describes a no snapping abilities.

Snapper ( ICoordinate gridOrigin, double gridCellSize ) : System

Initializes a new instance of the MapAround.UI.WinForms.SnapInfo which describes a snapping to the regular grid.

Snapper ( IEnumerable points ) : System

Initializes a new instance of the MapAround.UI.WinForms.SnapInfo which describes a snapping to the points.

Snapper ( IEnumerable points, IEnumerable segments ) : System

Initializes a new instance of the MapAround.UI.WinForms.SnapInfo which describes a snapping to the points and the segments.

Snapper ( IEnumerable points, SnapMethodDelegate snapMethod ) : System

Initializes a new instance of the MapAround.UI.WinForms.SnapInfo which describes a snapping by the custom method.

Snapper ( IEnumerable segments ) : System

Initializes a new instance of the MapAround.UI.WinForms.SnapInfo which describes a snapping to the segments.

Приватные методы

Метод Описание
emptySnapMethod ( ICoordinate c ) : ICoordinate
gridSnapMethod ( ICoordinate c ) : ICoordinate
pointsAndSegmentsSnapMethod ( ICoordinate c ) : ICoordinate
pointsSnapMethod ( ICoordinate c ) : ICoordinate
segmentsSnapMethod ( ICoordinate c ) : ICoordinate

Описание методов

Snapper() публичный Метод

Initializes a new instance of the MapAround.UI.WinForms.SnapInfo which describes a no snapping abilities.
public Snapper ( ) : System
Результат System

Snapper() публичный Метод

Initializes a new instance of the MapAround.UI.WinForms.SnapInfo which describes a snapping to the regular grid.
public Snapper ( ICoordinate gridOrigin, double gridCellSize ) : System
gridOrigin ICoordinate
gridCellSize double
Результат System

Snapper() публичный Метод

Initializes a new instance of the MapAround.UI.WinForms.SnapInfo which describes a snapping to the points.
public Snapper ( IEnumerable points ) : System
points IEnumerable
Результат System

Snapper() публичный Метод

Initializes a new instance of the MapAround.UI.WinForms.SnapInfo which describes a snapping to the points and the segments.
public Snapper ( IEnumerable points, IEnumerable segments ) : System
points IEnumerable
segments IEnumerable
Результат System

Snapper() публичный Метод

Initializes a new instance of the MapAround.UI.WinForms.SnapInfo which describes a snapping by the custom method.
public Snapper ( IEnumerable points, SnapMethodDelegate snapMethod ) : System
points IEnumerable
snapMethod SnapMethodDelegate
Результат System

Snapper() публичный Метод

Initializes a new instance of the MapAround.UI.WinForms.SnapInfo which describes a snapping to the segments.
public Snapper ( IEnumerable segments ) : System
segments IEnumerable
Результат System