| SphereDistributionInnerRadius Property |
Gets or sets the inner radius of the sphere.
Namespace: DigitalRune.Mathematics.StatisticsAssembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax public float InnerRadius { get; set; }
Public Property InnerRadius As Single
Get
Set
public:
property float InnerRadius {
float get ();
void set (float value);
}
member InnerRadius : float32 with get, set
Property Value
Type:
SingleThe radius. The default is 0.
Exceptions 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