C# Class Shed.Pixel

显示文件 Open project: kiniry-teaching/UCD

Protected Properties

Property Type Description
_falloff float
_neighbours List
_radius float
_weight float
_x int
_y int

Private Properties

Property Type Description
Distance float

Public Methods

Method Description
CalculateWeight ( float DimWeight, float min, float max ) : float
Pixel ( int x, int y ) : System
Set ( float r, float w, float f ) : void

Private Methods

Method Description
Distance ( int x, int y, int u, int v ) : float

Method Details

CalculateWeight() public method

public CalculateWeight ( float DimWeight, float min, float max ) : float
DimWeight float
min float
max float
return float

Pixel() public method

public Pixel ( int x, int y ) : System
x int
y int
return System

Set() public method

public Set ( float r, float w, float f ) : void
r float
w float
f float
return void

Property Details

_falloff protected_oe property

protected float _falloff
return float

_neighbours protected_oe property

protected List _neighbours
return List

_radius protected_oe property

protected float _radius
return float

_weight protected_oe property

protected float _weight
return float

_x protected_oe property

protected int _x
return int

_y protected_oe property

protected int _y
return int