Creates a terrain generated using the given sample points and adds it to the specified mesh.

Namespace: Ico.Windows.Media.Media3D
Assembly: Ico3DControlsLibrary (in Ico3DControlsLibrary.dll) Version: 10.97.212.0 (10.97.212.00)

Syntax

C#
public static void AddTerrain(
	MeshGeometry3D mesh,
	IList<Point3D> points
)
Visual Basic
Public Shared Sub AddTerrain ( _
	mesh As MeshGeometry3D, _
	points As IList(Of Point3D) _
)
JScript
public static function AddTerrain(
	mesh : MeshGeometry3D, 
	points : IList<Point3D>
)

Parameters

mesh
Type: System.Windows.Media.Media3D..::..MeshGeometry3D
The MeshGeometry3D to be filled with the terrain.
points
Type: System.Collections.Generic..::..IList<(Of <(<'Point3D>)>)>
A collection 3D points used as key points in the generation of the terrain.

See Also