Click or drag to resize
DigitalRuneCircleDistribution Class
A distribution that returns random positions from a circular area.
Inheritance Hierarchy
SystemObject
  DigitalRune.Mathematics.StatisticsDistributionVector3F
    DigitalRune.Mathematics.StatisticsCircleDistribution

Namespace: DigitalRune.Mathematics.Statistics
Assembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax
public class CircleDistribution : Distribution<Vector3F>

The CircleDistribution type exposes the following members.

Constructors
  NameDescription
Public methodCircleDistribution
Initializes a new instance of the CircleDistribution class
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodNext
Gets a new random value for the underlying probability distribution.
(Overrides DistributionTNext(Random).)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Properties
  NameDescription
Public propertyCenter
Gets or sets the center of the circle.
Public propertyInnerRadius
Gets or sets the inner radius of the ring.
Public propertyNextValue Obsolete.
Gets a new random value for the underlying probability distribution.
(Inherited from DistributionT.)
Public propertyOuterRadius
Gets or sets the outer radius of the ring.
Public propertyRandom Obsolete.
Gets or sets the random number generator.
(Inherited from DistributionT.)
Public propertyScale
Gets or sets the scale factors that are multiplied to the random position.
Top
Remarks

The circle lies in the xy-plane. Two radii can be specified: InnerRadius and OuterRadius. These radii define a ring. Random values from the area of this ring are created.

See Also