PointCloudGetRandomSubsample Method (UInt32, CancellationToken, IProgressDouble) |
Returns a random subsample of a point cloud.
Namespace:
Rhino.Geometry
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 7.5
Syntax public PointCloud GetRandomSubsample(
uint numberOfPoints,
CancellationToken cancelToken,
IProgress<double> progress
)
Public Function GetRandomSubsample (
numberOfPoints As UInteger,
cancelToken As CancellationToken,
progress As IProgress(Of Double)
) As PointCloud
Parameters
- numberOfPoints
- Type: SystemUInt32
The number of points the new point cloud should contain. - cancelToken
- Type: System.ThreadingCancellationToken
The cancellation token. - progress
- Type: SystemIProgressDouble
The provider for progress updates.
Return Value
Type:
PointCloudA subsample of this point cloud if success, null otherwise.
See Also