C# Class DelaunayWPF.RandomTriangulation

This class represents 3D triangulation of random data.
Inheritance: System.Windows.Media.Media3D.ModelVisual3D
Show file Open project: gusmanb/MIConvexHull Class Usage Examples

Public Methods

Method Description
Collapse ( ) : void

Begins the collapse animation.

Create ( int count, double radius, bool uniform ) : RandomTriangulation

Creates a triangulation of random data. For larger data sets it might be a good idea to separate the triangulation calculation from creating the visual so that the triangulation can be computed on a separate threat.

Expand ( ) : void

Begins the expand animation.

ExpandRandom ( ) : void

Begins the expand random animation.

Pulse ( ) : void

Begins the pulse animation.

Method Details

Collapse() public method

Begins the collapse animation.
public Collapse ( ) : void
return void

Create() public static method

Creates a triangulation of random data. For larger data sets it might be a good idea to separate the triangulation calculation from creating the visual so that the triangulation can be computed on a separate threat.
public static Create ( int count, double radius, bool uniform ) : RandomTriangulation
count int Number of vertices to generate
radius double Radius of the vertices
uniform bool
return RandomTriangulation

Expand() public method

Begins the expand animation.
public Expand ( ) : void
return void

ExpandRandom() public method

Begins the expand random animation.
public ExpandRandom ( ) : void
return void

Pulse() public method

Begins the pulse animation.
public Pulse ( ) : void
return void