C# Class NSMBe4.ImageIndexer.Box

Show file Open project: Dirbaio/NSMB-Editor

Public Properties

Property Type Description
min byte[]

Public Methods

Method Description
Box ( Box b ) : System
Box ( byte min, byte max ) : System
Box ( int count ) : System
ToString ( ) : string
canSplit ( int>.Dictionary freqTable ) : bool
canSplit2 ( int>.Dictionary freqTable ) : bool
canSplitInDim ( int i, int>.Dictionary freqTable ) : bool
center ( ) : MultiColor
dominantDimension ( int>.Dictionary freqTable ) : int
dominantDimensionNum ( int>.Dictionary freqTable ) : byte
inside ( MultiColor c ) : bool
setDimMax ( byte d, byte a ) : void
setDimMin ( byte d, byte a ) : void

Private Methods

Method Description
arr2str ( byte a ) : string

Method Details

Box() public method

public Box ( Box b ) : System
b Box
return System

Box() public method

public Box ( byte min, byte max ) : System
min byte
max byte
return System

Box() public method

public Box ( int count ) : System
count int
return System

ToString() public method

public ToString ( ) : string
return string

canSplit() public method

public canSplit ( int>.Dictionary freqTable ) : bool
freqTable int>.Dictionary
return bool

canSplit2() public method

public canSplit2 ( int>.Dictionary freqTable ) : bool
freqTable int>.Dictionary
return bool

canSplitInDim() public method

public canSplitInDim ( int i, int>.Dictionary freqTable ) : bool
i int
freqTable int>.Dictionary
return bool

center() public method

public center ( ) : MultiColor
return MultiColor

dominantDimension() public method

public dominantDimension ( int>.Dictionary freqTable ) : int
freqTable int>.Dictionary
return int

dominantDimensionNum() public method

public dominantDimensionNum ( int>.Dictionary freqTable ) : byte
freqTable int>.Dictionary
return byte

inside() public method

public inside ( MultiColor c ) : bool
c MultiColor
return bool

setDimMax() public method

public setDimMax ( byte d, byte a ) : void
d byte
a byte
return void

setDimMin() public method

public setDimMin ( byte d, byte a ) : void
d byte
a byte
return void

Property Details

min public property

public byte[] min
return byte[]