Version

Create Method

Creates a TriangulationSource using delegates to get the Points and Values to create a triangulation from.
Syntax
'Declaration
 
Public Shared Function Create( _
   ByVal count As Integer, _
   ByVal getXY As Func(Of Integer,Point), _
   ByVal getValue As Func(Of Integer,Single) _
) As TriangulationSource
public static TriangulationSource Create( 
   int count,
   Func<int,Point> getXY,
   Func<int,float> getValue
)

Parameters

count
The number of total points which a triangulation will be created from.
getXY
The delegate used to get a point at a given index.
getValue
The delegate used to get a numeric value at a given index.

Return Value

A TriangulationSource created using the given delegates.
Remarks
This operation is highly CPU-intensive and could take a long time to execute.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also