C# Class Trigrad.DataTypes.Sample

Exibir arquivo Open project: ruarai/Trigrad Class Usage Examples

Public Properties

Property Type Description
Color Pixel
NewColor Pixel
Optimised bool
Point Point
Triangles List

Public Methods

Method Description
DepthNeighbours ( int depth ) : List
Equals ( object obj ) : bool
GetHashCode ( ) : int
OnEdge ( int width, int height ) : bool
Sample ( Point p, Pixel c ) : System

Private Methods

Method Description
depthSelect ( Sample sample, int depth, List parents = null ) : List

Method Details

DepthNeighbours() public method

public DepthNeighbours ( int depth ) : List
depth int
return List

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

OnEdge() public method

public OnEdge ( int width, int height ) : bool
width int
height int
return bool

Sample() public method

public Sample ( Point p, Pixel c ) : System
p Point
c Pixel
return System

Property Details

Color public_oe property

public Pixel Color
return Pixel

NewColor public_oe property

public Pixel NewColor
return Pixel

Optimised public_oe property

public bool Optimised
return bool

Point public_oe property

public Point Point
return Point

Triangles public_oe property

public List Triangles
return List