Adds a cylinder to the specified 3D mesh geometry.
Namespace: Ico.Windows.Media.Media3DAssembly: Ico3DControlsLibrary (in Ico3DControlsLibrary.dll) Version: 10.97.212.0 (10.97.212.00)
Syntax
C# |
---|
public static void AddCylinder(
MeshGeometry3D mesh,
double radius,
double height,
Point3D position
) |
Visual Basic |
---|
Public Shared Sub AddCylinder ( _
mesh As MeshGeometry3D, _
radius As Double, _
height As Double, _
position As Point3D _
) |
JScript |
---|
public static function AddCylinder(
mesh : MeshGeometry3D,
radius : double,
height : double,
position : Point3D
) |
Parameters
- mesh
- Type: System.Windows.Media.Media3D..::..MeshGeometry3D
The MeshGeometry3D which to add the generated cylinder.
- radius
- Type: System..::..Double
The first radius of the cylinder.
- height
- Type: System..::..Double
The height of the cylinder.
- position
- Type: System.Windows.Media.Media3D..::..Point3D
The center position of the cylinder in the parent coordinate system.
See Also