Adds a sphere to the specified MeshGeometry3D.

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

Syntax

C#
public static void AddSphere(
	MeshGeometry3D mesh,
	double radius,
	Point3D position
)
Visual Basic
Public Shared Sub AddSphere ( _
	mesh As MeshGeometry3D, _
	radius As Double, _
	position As Point3D _
)
JScript
public static function AddSphere(
	mesh : MeshGeometry3D, 
	radius : double, 
	position : Point3D
)

Parameters

mesh
Type: System.Windows.Media.Media3D..::..MeshGeometry3D
The MeshGeometry3D which to add the sphere to.
radius
Type: System..::..Double
The radius of the sphere.
position
Type: System.Windows.Media.Media3D..::..Point3D
The Point3D specifying the center of the sphere.

Return Value

The MeshGeometry3D representing the resulting sphere.

See Also