C# 클래스 Smrf.NodeXL.Layouts.GroupRectangleCalculator

Calculates a rectangle for each group of vertices.
This class is used when a LayoutStyle of is specified.

All methods are static.

파일 보기 프로젝트 열기: 2014-sed-team3/term-project 1 사용 예제들

공개 메소드들

메소드 설명
CalculateGroupRectangles ( Rectangle graphRectangle, IList sortedGroups ) : void
GetAreaPerVertex ( Rectangle oGraphRectangle, IEnumerable oGroups ) : Double

비공개 메소드들

메소드 설명
CalculateAspectRatio ( RectangleF oRectangle ) : Double
GetRemainingEmptySpace ( IList oSortedGroups, RectangleF aoGroupRectangles, RectangleF oParentRectangle, Int32 iIndexOfFirstInsertedGroup, Int32 iIndexOfLastInsertedGroup ) : RectangleF
InsertGroupsIntoRectangle ( IList oSortedGroups, RectangleF aoGroupRectangles, RectangleF oParentRectangle, Int32 iIndexOfFirstGroupToInsert, Int32 iIndexOfLastGroupToInsert, Double dVerticesSum, Double dAreaPerVertex ) : void

메소드 상세

CalculateGroupRectangles() 공개 정적인 메소드

public static CalculateGroupRectangles ( Rectangle graphRectangle, IList sortedGroups ) : void
graphRectangle System.Drawing.Rectangle
sortedGroups IList
리턴 void

GetAreaPerVertex() 공개 정적인 메소드

public static GetAreaPerVertex ( Rectangle oGraphRectangle, IEnumerable oGroups ) : Double
oGraphRectangle System.Drawing.Rectangle
oGroups IEnumerable
리턴 Double