Click or drag to resize

Point3dCreateNoiseDistribution2D Method

Generates an array of two-dimensional points distributed according to the specified blue noise type.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public static Point3d[] CreateNoiseDistribution2D(
	int targetCount,
	bool useOrderedThreshold,
	double xMin = 0,
	double yMin = 0,
	double xMax = 1,
	double yMax = 1
)

Parameters

targetCount
Type: SystemInt32
The number of points to generate. Must be a positive integer. The actual count may differ because the algorithm distributes points on a grid whose row and column counts are integers derived from the target count and the region's aspect ratio.
useOrderedThreshold
Type: SystemBoolean
Use the blue noise ordered threshold (true) or the blue noise step (false) spectra for the noise distribution.
xMin (Optional)
Type: SystemDouble
The minimum X coordinate of the bounding rectangle.
yMin (Optional)
Type: SystemDouble
The minimum Y coordinate of the bounding rectangle.
xMax (Optional)
Type: SystemDouble
The maximum X coordinate of the bounding rectangle.
yMax (Optional)
Type: SystemDouble
The maximum Y coordinate of the bounding rectangle.

Return Value

Type: Point3d
An array of Point3d values.
Remarks
The distribution and characteristics of the generated points depend on the specified noise type.
See Also