You are here: Start » AVL.NET » AVS.CreateRandomPointArray Method

AVS.CreateRandomPointArray Method

Creates array of random points inside given box.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void CreateRandomPointArray
(
	int inLength,
	AvlNet.Box inBox,
	float inStep,
	IList<AvlNet.Point2D> outArray
)

Parameters

Name Type Range Default Description
inLengthint<1, +INF>10Length of output array. Default value: 10.
inBoxAvlNet.BoxBounding box of generated point.
inStepfloat<0.0001f, INF>1.0fMinimal difference between two generated values on each coordinate. Default value: 1.0f.
outArraySystem.Collections.Generic.IList<AvlNet.Point2D>

Function Overrides

See also