C# 클래스 tk2dAtlas.MaxRectsBinPack

파일 보기 프로젝트 열기: CodeStrumpet/Elemental 1 사용 예제들

공개 메소드들

메소드 설명
GetMapped ( ) : List
Init ( int width, int height ) : void
Insert ( int width, int height, FreeRectChoiceHeuristic method ) : Rect
Insert ( List rects, FreeRectChoiceHeuristic method ) : bool
MaxRectsBinPack ( ) : System
MaxRectsBinPack ( int width, int height ) : System
Occupancy ( ) : float
WastedBinArea ( ) : int

비공개 메소드들

메소드 설명
CommonIntervalLength ( int i1start, int i1end, int i2start, int i2end ) : int
ContactPointScoreNode ( int x, int y, int width, int height ) : int
FindPositionForNewNodeBestAreaFit ( int width, int height, int &bestAreaFit, int &bestShortSideFit ) : Rect
FindPositionForNewNodeBestLongSideFit ( int width, int height, int &bestShortSideFit, int &bestLongSideFit ) : Rect
FindPositionForNewNodeBestShortSideFit ( int width, int height, int &bestShortSideFit, int &bestLongSideFit ) : Rect
FindPositionForNewNodeBottomLeft ( int width, int height, int &bestY, int &bestX ) : Rect
FindPositionForNewNodeContactPoint ( int width, int height, int &bestContactScore ) : Rect
PlaceRect ( Rect node ) : void
PruneFreeList ( ) : void
ScoreRect ( int width, int height, FreeRectChoiceHeuristic method, int &score1, int &score2 ) : Rect
SplitFreeNode ( Rect freeNode, Rect usedNode ) : bool

메소드 상세

GetMapped() 공개 메소드

public GetMapped ( ) : List
리턴 List

Init() 공개 메소드

public Init ( int width, int height ) : void
width int
height int
리턴 void

Insert() 공개 메소드

public Insert ( int width, int height, FreeRectChoiceHeuristic method ) : Rect
width int
height int
method FreeRectChoiceHeuristic
리턴 Rect

Insert() 공개 메소드

public Insert ( List rects, FreeRectChoiceHeuristic method ) : bool
rects List
method FreeRectChoiceHeuristic
리턴 bool

MaxRectsBinPack() 공개 메소드

public MaxRectsBinPack ( ) : System
리턴 System

MaxRectsBinPack() 공개 메소드

public MaxRectsBinPack ( int width, int height ) : System
width int
height int
리턴 System

Occupancy() 공개 메소드

public Occupancy ( ) : float
리턴 float

WastedBinArea() 공개 메소드

public WastedBinArea ( ) : int
리턴 int