C# Class Smrf.NodeXL.Layouts.VertexGridSnapper

Snaps vertices to a grid.
All methods are static.
显示文件 Open project: 2014-sed-team3/term-project

Public Methods

Method Description
SnapVerticesToGrid ( IGraph graph, Int32 gridSize ) : void

Private Methods

Method Description
SnapCoordinateToGrid ( System.Single fCoordinate, System.Single fGridSize ) : System.Single

Method Details

SnapVerticesToGrid() public static method

public static SnapVerticesToGrid ( IGraph graph, Int32 gridSize ) : void
graph IGraph
gridSize System.Int32
return void