C# Class Trigrad.DataTypes.Sample

Show file 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 property

public Pixel Color
return Pixel

NewColor public property

public Pixel NewColor
return Pixel

Optimised public property

public bool Optimised
return bool

Point public property

public Point Point
return Point

Triangles public property

public List Triangles
return List