Click or drag to resize

PointCloudVisualCreateCylinderSurface Method (Document, Int32, Color, Double, Double, Double)

Create a cylinder surface point cloud visual parented to the scene of the given document.

Namespace:  Demo3D.Visuals
Assembly:  Demo3D.Core (in Demo3D.Core.dll) Version: 15.0.2.11458
Syntax
C#
public static PointCloudVisual CreateCylinderSurface(
	Document doc,
	int numPoints,
	Color color,
	double radius,
	double height,
	double coneRatio
)

Parameters

doc
Type: Demo3D.VisualsDocument
Document to create the point cloud visual in.
numPoints
Type: SystemInt32
Number of points to create on the cylinder surface.
color
Type: System.DrawingColor
Color of the points to create on the cylinder surface.
radius
Type: SystemDouble
The radius of the cylinder in meters.
height
Type: SystemDouble
The height of the cylinder in meters
coneRatio
Type: SystemDouble
Ratio of the radii at either end. A ratio of 1 will create a cylinder, a ratio of 0 will create a cone.

Return Value

Type: PointCloudVisual
New point cloud visual containing the points on the requested cylinder surface.
See Also