Click or drag to resize
DigitalRuneSphereDistributionInnerRadius Property
Gets or sets the inner radius of the sphere.

Namespace: DigitalRune.Mathematics.Statistics
Assembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax
public float InnerRadius { get; set; }

Property Value

Type: Single
The radius. The default is 0.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionvalue is negative.
Remarks
The InnerRadius and the OuterRadius define a spherical shell. Random values that are created are from the volume of this shell. If InnerRadius is 0 (default), random values from the whole sphere volume are created. If InnerRadius is equal to OuterRadius, all random positions lie on the surface of the sphere.
See Also