C# Class MapAround.UI.WinForms.Snapper

Contains an information about snapping.
Afficher le fichier Open project: gkrsu/maparound.core

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
emptySnapMethod ( ICoordinate c ) : ICoordinate
gridSnapMethod ( ICoordinate c ) : ICoordinate
pointsAndSegmentsSnapMethod ( ICoordinate c ) : ICoordinate
pointsSnapMethod ( ICoordinate c ) : ICoordinate
segmentsSnapMethod ( ICoordinate c ) : ICoordinate

Method Details

Snapper() public méthode

Initializes a new instance of the MapAround.UI.WinForms.SnapInfo which describes a no snapping abilities.
public Snapper ( ) : System
Résultat System

Snapper() public méthode

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
Résultat System

Snapper() public méthode

Initializes a new instance of the MapAround.UI.WinForms.SnapInfo which describes a snapping to the points.
public Snapper ( IEnumerable points ) : System
points IEnumerable
Résultat System

Snapper() public méthode

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
Résultat System

Snapper() public méthode

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
Résultat System

Snapper() public méthode

Initializes a new instance of the MapAround.UI.WinForms.SnapInfo which describes a snapping to the segments.
public Snapper ( IEnumerable segments ) : System
segments IEnumerable
Résultat System