Gets or sets the inner radius of the ring.
Namespace: DigitalRune.Mathematics.StatisticsAssembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.7.0.0 (1.7.0.9486)
Syntax
| C# |
|---|
public float InnerRadius { get; set; } |
| Visual Basic |
|---|
Public Property InnerRadius As Single Get Set |
| Visual C++ |
|---|
public: property float InnerRadius { float get (); void set (float value); } |
Field Value
The radius. The default is 0.
Remarks
The InnerRadius and the OuterRadius define a ring. Random values
that are created are from the area of this ring. If InnerRadius is 0 (default),
random values from the whole circle area are created. If InnerRadius is equal
to OuterRadius, all random values lie on the circumference of the circle.
Exceptions
| Exception | Condition |
|---|---|
| System..::..ArgumentOutOfRangeException | value is negative. |