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 radius2,
Point3D position,
int sides,
double height,
int heightSegments
) |
Visual Basic |
---|
Public Shared Sub AddCylinder ( _
mesh As MeshGeometry3D, _
radius As Double, _
radius2 As Double, _
position As Point3D, _
sides As Integer, _
height As Double, _
heightSegments As Integer _
) |
JScript |
---|
public static function AddCylinder(
mesh : MeshGeometry3D,
radius : double,
radius2 : double,
position : Point3D,
sides : int,
height : double,
heightSegments : int
) |
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.
- radius2
- Type: System..::..Double
The second radius of the cylinder.
- position
- Type: System.Windows.Media.Media3D..::..Point3D
The center position of the cylinder in the parent coordinate system.
- sides
- Type: System..::..Int32
The number of sides for the cylinder.
- height
- Type: System..::..Double
The height of the cylinder.
- heightSegments
- Type: System..::..Int32
The number of vertical divisions of the cylinder.
See Also